1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Moving forum from one server to another - Which directories to move?

Discussion in 'XenForo Questions and Support' started by Westingham, Jul 30, 2013.

  1. Westingham

    Westingham Member

    I'm in the process of moving our forums from HostGator to DigitalOcean and I'm feeling a bit overwhelmed by the scope of our disk usage. If I were to try and be picky about which folders I moved from one server to another, which folders would I have to pick? Data seems like a logical choice, as it contains attachments and avatars, but so does internal_data but it's not obvious what the information stored there is used for.

    Also, and this may seem a bit wacky, would it be possible to move the SQL database from one server to another and let the forums run as they normally did but only move the attachments over a little at a time? Would this cause problems other than images not showing up?

    Last but not least, is anybody familiar with a way of moving data from a shared Linux host like HostGator to a Linux VPS like DigitalOcean without having to transfer it to my home PC first?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You will need to move all directories and files from the installation.

    The /data directory contains the thumbnails, the /internal_data directory contains the full size attachments.
  3. Westingham

    Westingham Member

    Well sir, you just provided me with the answer I was afraid I'd receive. Thank you anyways!
  4. AndyB

    AndyB Well-Known Member

    Ask at DigitalOcean if they can copy the forum folder over for you to their server.
  5. Westingham

    Westingham Member

    Ah, now there's an idea!

    Wait, would I need to copy folders like /library and and /js? Wouldn't I be able to use a fresh Xenforo install instead?
  6. Brogan

    Brogan XenForo Moderator Staff Member

    You could upload the files from the .zip package but you would need to copy over the config.php and .htaccess if it has been modified, as well as any add-on specific files.

    The install-lock.php file is also required but that is in the /internal_data directory.
  7. AndyB

    AndyB Well-Known Member

    You want to copy the entire forum folder structure to your new server.
  8. The Forum Heroes

    The Forum Heroes Well-Known Member

    If both servers use cPanel, you can ask your new host to transfer your entire account.

Share This Page