could anyone tell how to move old sever (A) files to new sever (B)?
as i do not want to use the old sever (A) .
i have about 2tb on the old sever thanks
XFileSharing Pro - could anyone tell how to move old sever files to new sever?
On new server run in SSH:
Change username@oldserverhost to the settings of your old server and the folder to the correct locations if they're different.
Once completed run this in MySQL:
Where server 1 is the old server and server 2 is the new server.
http://pastebin.com/raw.php?i=tFgMgj0e
Code: Select all
rsync -av -e ssh username@oldserverhost:/var/www/cgi-bin/uploads/ /var/www/cgi-bin/uploads/
Once completed run this in MySQL:
Code: Select all
UPDATE Files SET srv_id=2 WHERE srv_id=1
http://pastebin.com/raw.php?i=tFgMgj0e