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.