![]() |
| How to move 5Gb site from Linux shared server to Windows VPS |
|
leeflang
|
I got 5GB of files on a Yahoo WEbhosting based shared LInux server. Those file sneed to be moved to my new Windows 2003 VPS server here.
Is there any way to compress the files first and then move the compressed files direct between both servers? If so, what software would I need? |
||||||||||||
|
|
|||||||||||||
|
nathacof
|
Do you have shell access?
If you do login via SSH. Once logged in you can execute the following command:
If your output looks similar then we can more than likely move forward. If at any time I reference a command you can execute 'which' to find out it's location, which can be useful when migrating to a new server. It's always useful to know where the systems standard perl executable is located. Now that you have tar available to you to can archive and compress your website's data:
Note: Some servers may not support gzip, alternatively you can use bZip, but that's another post. Now you have two files, one is a compressed archive of your website, 'websiteBackup.tgz', and then you have a record of all the files archived in 'backup.log'. Lets look get a detailed look at these files with 'ls':
Now I included the file 'backup.log' because it can be useful if you need to backup your website regularly. You can add this command directly to a cron job on a Linux server, once again a bit off topic. In case some thing goes awry with your backup this will show you the last 10 lines of the backup log:
Now you can download the compressed file to the Windows server using FTP. At this point you'll need a utility to decompress the archive. Reference, http://kb.iu.edu/data/adtw.html, for some examples. For more information in regards to Linux Command line see, http://www.physics.ubc.ca/mbelab/computer/linux-intro/html/ |
||||||||||||||||||||
|
|
|||||||||||||||||||||
| How to move 5Gb site from Linux shared server to Windows VPS |
|
||
|


