Moving users between Managed VPS servers
If you have two Managed VPS servers, you move users from one to the other with the backup function of DirectAdmin. On the old server (server 1) you create a backup that goes straight to the new server (server 2) via FTP, and you restore that backup there. On both servers you work as the admin user.
Backing up the users on server 1
Log in to server 1
Log in to DirectAdmin of server 1 as the admin user.
Open the administrator backups
Under Admin Tools, click Admin Backup/Transfer.
Schedule a backup
Click Schedule at the top right.
Choose the users
Select the users you want to move, or choose All Users. Click NEXT STEP.
Choose the moment
Make sure Now is selected and click NEXT STEP.
Send the backup to server 2
Choose FTP and enter the FTP details of server 2: the login details of the admin user of server 2, with
/admin_backupsas the folder. Click NEXT STEP.Start the backup
Check that All Data is selected and click SCHEDULE.
The backup is now being created. How long it takes depends on the number of users. As soon as the backup is ready, you receive a message.
Restoring the users on server 2
Log in to server 2
Log in to DirectAdmin of server 2 as the admin user.
Open the administrator backups
Under Admin Tools, click Admin Backup/Transfer.
Start the restore
Click Restore.
Check the folder
Make sure the Path field says
/home/admin/admin_backups. Click NEXT STEP.Choose the IP address
Under Use the IP, choose the shared IP address and click NEXT STEP.
Choose the backups
Under Files, select only the backups of the users you are moving. A file name usually looks like this:
user.admin.username.tar.gz.Restore the users
Click RESTORE.
The restore takes from a few minutes to several hours. As soon as it is finished, you receive a message.
Checking and cleaning up
Check the moved users
Check that the websites and email of the moved users work properly on server 2.
Delete the users on server 1
If everything works on server 2, delete the moved users on server 1.
Have the DNS zones synchronised
Contact us so that we can synchronise the DNS zones on server 2.
Related articles
Thank you for your feedback.

