Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: DA to DA server migration  (Read 4408 times)

0 Members and 1 Guest are viewing this topic.

Vinil

  • Guest
DA to DA server migration
« on: November 13, 2013, 07:28:53 am »
To migrate and restore multiple account from DirectAdmin server to another DirectAdmin server, follow the below steps:-


Old Server

1). Goto 'Admin panel' Admin Tools -> Admin Backup/Transfer, and select all users from Create Backup -> WHO -> All Users and run a backup now. This will take all accounts backups under the folder  /home/admin/admin_backups. Make sure to select All Data from the section What

2). Wait for the backup to complete,As soon as back us completes simply rsync the folder /home/admin/admin_backups to new servers /home/admin/admin_backups.


rsync -avz –progress /home/admin/admin_backups/ -e ssh root@your.newserver.com:/home/admin/admin_backups/

If you have a non standard ssh port then use

rsync -avz –progress /home/admin/admin_backups/ -e "ssh -p 123" root@your.newserver.com:/home/admin/admin_backups/


New server

3). Now login to the admin panel of the new server and  go to Admin Tools -> Admin Backup/Transfer , then select the  "Restore Backups". Chose all the backups files and  click the  submit. Here you also have an option to select the IP stored in the server to assign it for the new domains.


4). Once restore is completed, you must then update your nameservers or DNS to the new server.