XFileSharing Pro - Question about transferring files fron one server to other

Message
Author
superbia
Posts: 68
Joined: Aug 21, 2012 10:20 pm

Question about transferring files fron one server to other

#1 Postby superbia » Jan 31, 2013 8:05 pm

I am still getting familiar with the script and therefore using smaller webhosts.
Lets say one or two of them kick me out later on or i wanna kick their ....
How much of a pain it is to migrate files from one host to the other?
How is it done?
And finally and most importantly - do we have to rename/ edit file urls etc which would be quite a bit of work?
Thanks in advance for any tips.

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

#2 Postby PowerChaos » Feb 01, 2013 12:36 am

well it depneds how you like to move everything

if you just switch host then it can be done easy

it is a bit of work , but you keep everything

i preffer to make a tar/zip file of the complete home folder

after you are on your new host , just replace it with your backup
try to replace the mysql and keep all things the same

then you got a easy migration

you can do it also differend , but that is a lot more work

make a single file backup (tar/zip or so ) from the files you like to move

make a mysql backup
on the new host , do a clean install
restore the mysql backup
restore the zip files with the downloads

if everything went right , then you should be moved

also it can be possible that you need to edit the server id ( if you got more then 1 fileserver ) to match the same server id as in the database

hopely this can help you a little

Greetings From PowerChaos

superbia
Posts: 68
Joined: Aug 21, 2012 10:20 pm

#3 Postby superbia » Feb 01, 2013 12:59 am

Thanks a lot for explaining it properly PowerChaos.
The only question I have is - How the hell can one easily move a gigantic 500 GB tar file to another server? Is there an easy way?
PowerChaos wrote:well it depneds how you like to move everything

if you just switch host then it can be done easy

it is a bit of work , but you keep everything

i preffer to make a tar/zip file of the complete home folder

after you are on your new host , just replace it with your backup
try to replace the mysql and keep all things the same

then you got a easy migration

you can do it also differend , but that is a lot more work

make a single file backup (tar/zip or so ) from the files you like to move

make a mysql backup
on the new host , do a clean install
restore the mysql backup
restore the zip files with the downloads

if everything went right , then you should be moved

also it can be possible that you need to edit the server id ( if you got more then 1 fileserver ) to match the same server id as in the database

hopely this can help you a little

Greetings From PowerChaos

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

#4 Postby PowerChaos » Feb 01, 2013 1:02 am

a easy way ??

Code: Select all

wget http://....

and then a long wait time :D

a other way ?

Code: Select all

ftp ....


well , the best is to use wget , use it in putty ( ssh ) and use it in a screen ( screen is a program for linux to allow background tasks to run if you get dc or close the console )

hopely this can help

Greetings From PowerChaos

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#5 Postby ankurs » Feb 01, 2013 8:36 am

use rysnc or scp to move files, making a tar isnt going to work when you have a couple of tb to move

once you have moved the files to right folder on new server, just change serverid for the files in database

superbia
Posts: 68
Joined: Aug 21, 2012 10:20 pm

#6 Postby superbia » Feb 01, 2013 3:21 pm

ankurs wrote:use rysnc or scp to move files, making a tar isnt going to work when you have a couple of tb to move

once you have moved the files to right folder on new server, just change serverid for the files in database

Coolio!
Thanks a lot Ankurs


Return to “XFileSharing Pro”



Who is online

Users browsing this forum: No registered users and 0 guests