Old pages no longer current in 2021
- Old pages no longer current in 2021
- issues ⇒
Updated information at: DirectAdmin Environment (revised for 2020 onwards).
Also please see: https://discourse.rahul.net/.
Following is a recommended procedure for migrating your account from one DirectAdmin server to a different DirectAdmin server. For example, if you have a “d” series account and you wish to migrate to an “e” series account, you would follow the procedure below.
Note: This procedure has been newly created and only briefly tested. If you encounter any problems, please note down at which step the problem occurred, and open a ticket reporting the problem.
Note: We have not yet tested this procedure with software installed via Installatron. If you encounter any problems, you can also try a backup made from with installatron and a restore of that to the new server, and see how well that works. When we have more information this page will be updated.
For example, suppose you have a d1000b account (call this A), and you wish to migrate to an e5000b account (call this B). You will also need a free trial account of the same type as B, i.e., type e5000b in this case, and let's call this account F.
The rest is just background explanation, which technically advanced users can scan quickly or even skip.
We also have a brief version of these instructions at directadmin_to_directadmin_migration_brief that summarizes all the essential steps.
Log into the billing system (see http://info.rahul.net/new_billing_system), go to the Order link, and order a free trial account similar to the type of new account to which you wish to migrate. This will be account F, the free trial account. Account F will not become permanent—it's for evaluation and testing only.
Once you get confirmation that account F has been set up, explore the free trial account and check to make sure it has the features you need. If you are using any specific applications or scripts in your existing account A, do brief tests to ascertain if they will likely work in account F. If you were using any Installatron-installed applications account A, test to see if they are available and can be reliably installed in account F.
Generally, you can keep account F for as long as you reasonably need it. Usually this will be for a few weeks, but we can extend that if you are running into some specific problems and need time to resolve them. In any case, never store any valuable data into a free trial account. If the free trial account does get deleted too soon, we have no provision for restoring any data lost in it.
This will incur you a few minutes of down time.
It's very easy to create a new temporary domain name. Just add “.invalid” to the domain name.
For example, if you have a domain name
example.com, change its name to
You can do this domain name from the DirectAdmin control panel by going to the Domain Setup menu, and then going to Change a Domain Name.
After these domain name changes your website will be down and your incoming email is likely to bounce. We recommend doing this, therefore, during off-peak hours.
Why you need to make the change in the domain name: The DirectAdmin servers query one another, and will not allow the same domain to reside on more than one server, to ensure DNS consistency. Changing the domain name before doing the backup will prevent a duplicate domain error when you later restore to a different server.
Within a few minutes you will get a control panel message in the Message System telling you that a backup has been made.
Now that your domains are back to their original names, your website and email should also be back to normal.
An easy way of doing the transfer is to download the backup archive (which will be named something similar to backup-Aug-13-2009-1.tar.gz) to your home machine and then upload it to the server that holds account F.
From account A, you can download from the DirectAdmin menu called Files—look in a subdirectory called “backups”.
Upload to the corresponding directory called “backups” on the server for account F.
Note: The “backups” directory for account F might not exist. Just do a backup in account F. This will cause the “backup” directory to be created. You don't need to use the backup created in account F—it's OK to delete it from the Files menu. Now you have a “backups” directory in account F into which you can do the upload.
Problems with upload size? If your backup archive is too big, and you have problems doing the upload, you can log in via “ssh” and then use the “scp” command to copy the backup archive from account A to account F. If you have trouble doing this, please log into our billing system (see https://info.rahul.net/new_billing_system) and open a ticket asking us to do the copy for you, and please mention the name of the backup archive and from which server to which server, and from which account to which account, we should copy if. We will do this at no charge and send you an acknowledgment.
Go to Create/Restore Backups in account F, then in the “Select a File to Restore” section make sure your backup from account A is selected, then click on Select Restore options. Check all the boxes, then click on Restore Selected Items.
If you notice any error output, please use copy-and-paste to save it somewhere in a file on your own machine. Errors occur often, if something was missing in account A. For example, if account A had no mail forwarders and no mailing lists, then the restore may yield an error message saying it could not restore mailforwarders, mailing lists, etc.
Most such restore errors are not serious. So just save them for reference for now and keep going.
You should now have your temporary domains (e.g.
example.com.invalid) restored into account F.
Now take one of these domains and change it to a valid name. For such tests, you can pick any subdomain within
onthisnet.com domain. For example, if you had a domain
example.com.invalid, change it to
After this change, allow some time for DNS to propagate, then see if everything within this domain works as expected.
If it does, then you have verified the restore for this domain. Do the same for all your other restored domains.
If everything worked so far, now get a regular account B.
You can now delete everything in account F and restore from the same backup into a new regular account B.
Or, if some time has passed since you made the backup before, make a fresh backup in account A, and restore that into account B.
(Some down time.)
You will incur some down time while DNS catches up. It shouldn't be more than an hour or two. Pick a low-use time for the final cut-over.
Now do some final testing in account B.
If you properly used account F for testing, account B should work the same way, since it is on the same server.