Hi, Moving about 9Gb of data for 60k user forum to a new server. I have root to both servers. I have typically done this in the past with cpanel moves but this time it has to be done manually. I have the database side sussed out. I have tested db dump and import on the other side and it looks fine. As for data all I want to do is copy the public_html from old server to the new. I want to retain file ownership and permissions. Can anyone recommend the best way to move this data? If so can you give detailed instructions. At this point I am thinking some sort of gzip of public_html then copy to new server and extract. Or rsync? I'll need exact commands to do this if you can. Thanks!
Rsync is going to be the way to go. rsync -av -e ssh username@oldserver:/home/old_home/ /home/new_home/ It will ask you for the password on the old server, and will start transferring after that.
That sounds good as it gives me the option to do a test migration. Once successful with the test migration I can then lock the site, copy over a new database dump, then re-rsync any changes in the last couple hours. Should minimize downtime. Thanks
If you do RSYNC, you may want to enable remote mysql access on the old server, so that you can test it out before having to move the DB. Just my two cents