XFileSharing Pro - Moving entire file server

Message
Author
xfsuser
Posts: 4
Joined: May 10, 2010 11:27 am

Moving entire file server

#1 Postby xfsuser » Jun 08, 2010 6:20 pm

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

naga
Posts: 45
Joined: Dec 22, 2008 3:40 pm

#2 Postby naga » Jun 09, 2010 5:40 pm


PowerChaos
Posts: 521
Joined: Dec 19, 2009 5:12 pm

#3 Postby PowerChaos » Jun 09, 2010 10:26 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 :D

Greetings From PowerChaos

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

#4 Postby admin » Jun 10, 2010 2:03 pm

PowerChaos gave you very good solution. Thanks, PowerChaos.