I’m in the middle of changing our server. We bought server space at a different location and need to transfer all the content from our current server to the new one. I need to move 12GB over to the new server. What would be the most convenient, fastest, and easier way to transfer all that data to the new server… Doing a “physical” transfer is not an option.
I know is going to be a loooong procedure. I’m testing with some data and is taking a long long time.
I’m actually hosting about 10 websites on our local server so, I would like to move all that data to the new server… I do a backup of all the important files: /var/www, /home/, /var/lib/mysql, and others with tar -czf and it results into a 12GB tarball.
I don’t have a big upload pipe so, I need to do a reliable transfer during off peak hours, 1am to 6am…
Any ideas?
Advertisement
Answer
rsync
rsync -av --progress localpath usrname@remote:remotepath
I transfer 300GB data last night by this cmd.
Not need resume option, if interuppted, just run this cmd again. It will auto resume.
Actually, rsync is incremental.