Is there a way to transfer the contents of an entire file server to another server? Right now I have been moving files one by one, but the script keeps timing out for multiple files.
So, I would like to transfer all the files from SRV id 1 to SRV id 2. I can only do this through listing the files of the server, selecting a bunch on the list, and using the "Transfer to Server x" dropdown.
There must be a better way.
Regards,
Mike
XFileSharing Pro - Moving entire file server
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
there is 1 easy way to transfer everything (realy everything)
make a rar/zip file of your cgi-bin dir (or where teh files are located)
after the zip is done (use a lot of space , but safe a lot of work)
then copy it with the above command to your server (wget)
extract it to the right place
setup your second server
do file to database check
or any of the other checks to add the files to the database and fix the location of them
and your done
only problem
if you got 1TB hd and you need to move 500GB files , that is fine (zip will be about 400GB)
if you need to move about 1TB files and you got only a hd of 1TB then you got problems and then you need to move file per file until you got enouf room free to do the zip way
please note , the zip way use a lot of traffic and will make your both server slow for a couple of hours (depends on speed)
but it will get the job done
Greetings From PowerChaos
make a rar/zip file of your cgi-bin dir (or where teh files are located)
after the zip is done (use a lot of space , but safe a lot of work)
then copy it with the above command to your server (wget)
extract it to the right place
setup your second server
do file to database check
or any of the other checks to add the files to the database and fix the location of them
and your done
only problem
if you got 1TB hd and you need to move 500GB files , that is fine (zip will be about 400GB)
if you need to move about 1TB files and you got only a hd of 1TB then you got problems and then you need to move file per file until you got enouf room free to do the zip way
please note , the zip way use a lot of traffic and will make your both server slow for a couple of hours (depends on speed)
but it will get the job done

Greetings From PowerChaos