DirectAdmin Backup Restore: Step-by-Step Guide
In this article
Restoring a backup in DirectAdmin means uploading the backup file through the Reseller or User level and letting DirectAdmin recreate your files, databases, email accounts and settings. The exact menu label is Restore Backup (sometimes shown as Restore), and you need a backup file created by DirectAdmin — either a full account backup or a partial one. If you only have a database dump or a folder of files, you can still restore those manually, but the automated restore expects the DirectAdmin archive format.
Before you start, confirm you have the correct backup file and that you know what it contains. A full backup includes home directory files, databases, email accounts and settings; a partial backup may include only some of these. Restoring overwrites existing data with the same names, so if you have newer files or databases you want to keep, download a fresh backup of the current state first. Menu labels in DirectAdmin can differ slightly by version, skin and whether you are at User or Reseller level, so if a label does not match exactly, look for the closest equivalent.
What You'll Need
- The DirectAdmin backup file (.tar.gz or similar archive) you want to restore, downloaded to your computer or already present in your backups directory.
- Your DirectAdmin login details for the User account (or Reseller/Admin if you are restoring on behalf of a user).
- Enough free disk space on the hosting account to hold both the backup file and the restored data.
- Knowledge of what the backup contains, so you can decide whether to restore everything or selected items only.
- A current backup of the account as it is now, in case the restore does not go as planned.
Step-by-Step
- Log in to DirectAdmin. Open your hosting control panel URL and sign in with your User-level credentials. If you are a Reseller or Admin restoring another user's account, log in at that level instead and locate the user.
- Make a safety backup of the current account. Go to Create/Restore Backups (or Backup/Restore depending on skin) and create a full backup now. Download it to your computer. This is your rollback point if the restore replaces something you needed.
- Open the restore section. In the same Create/Restore Backups area, find the Restore Backup option. At User level you restore into your own account; at Reseller level you can choose which user the backup is restored to.
- Select the backup source. Choose whether to restore from a file already stored on the server (for example in your backups directory) or upload a backup file from your computer. Uploading is the usual choice when you downloaded the backup elsewhere.
- Choose what to restore. If the interface offers checkboxes for data types — files, databases, email accounts, email settings, DNS, FTP accounts — tick only what you need. Restoring everything is simplest but will overwrite matching items. If you are unsure, restore everything and then re-check your site.
- Start the restore and wait. Click the restore button and leave the browser tab open. Large accounts can take several minutes. Do not refresh repeatedly or start a second restore while one is running.
- Check the result. When it finishes, review the on-screen log for errors. Then verify your website loads, log in to email, and check that databases are present (for example through phpMyAdmin). Confirm file permissions look normal and that your SSL certificate still applies.
- Test key functions. Send and receive a test email, submit a test form on the website, and check that any scheduled tasks or cron jobs still run. If something is missing, restore that item again from the same backup rather than starting over.
Common Mistakes
Restoring without a current backup. The restore overwrites files and databases with the same names. Without a fresh backup of the present state, you cannot undo it.
Uploading the wrong file. A database dump (.sql) or a plain zip of website files is not a DirectAdmin account backup. The automated restore will reject it or restore nothing useful. Use the file created by DirectAdmin's backup tool, or restore manually.
Restoring at the wrong level. A User-level restore only affects that user's account. If you are a Reseller, make sure you select the correct target user before starting.
Ignoring disk space. The backup file plus the extracted data can temporarily double the space used. A restore that runs out of space can leave the account half-restored.
Closing the browser too early. The restore continues on the server, but you lose the log and may not notice errors. Wait for the confirmation page.
Tips
Keep at least one recent full backup downloaded off-server. Hosting accounts get suspended, deleted or compromised, and an off-server copy is the only reliable recovery.
Name backup files with the date and account name so you can identify the right one months later. Store them somewhere you can access without the hosting panel.
If you only need to recover a single database or a few files, use a partial restore or restore manually instead of a full account restore. It is faster and carries less risk of overwriting newer content.
After a restore, re-check email passwords and DNS records. Some backups restore old settings that may no longer match your current domain configuration.
Troubleshooting
The restore fails immediately. Check the file type and size. Confirm the file is a DirectAdmin backup archive and that it uploaded completely. Re-upload if the transfer was interrupted.
The restore completes but the site is broken. Look at the restore log for skipped items. Common causes are missing databases, wrong file ownership or an incomplete archive. Restore the missing pieces individually, or restore the safety backup you made first and try again.
Email accounts are missing. If you restored only files and databases, email was not included. Run the restore again with email selected, or recreate the accounts and restore their mail directories from the backup.
Disk space errors. Delete old backups from the server, then retry. If space is still short, ask your host to increase the quota or restore in stages.
The panel shows no restore option. Your hosting plan may restrict it. Contact your host or reseller and ask them to perform the restore or enable the feature.
Frequently Asked Questions
Can I restore a backup to a different DirectAdmin account?
Yes, at Reseller or Admin level you can typically choose the destination user during restore. At User level you can only restore into your own account.
Will restoring a backup delete files created after the backup was made?
Files with the same path and name are overwritten. Files that did not exist in the backup are generally left in place, but do not rely on that — make a current backup first.
How long does a DirectAdmin restore take?
It depends on account size and server load. Small accounts finish in a minute or two; large accounts with many emails and databases can take much longer. Keep the tab open until it confirms completion.
Can I restore just one database from a full backup?
Not through the standard restore screen. Extract the database dump from the backup archive and import it through phpMyAdmin, or use a partial restore if your panel offers it.
What if I do not have a DirectAdmin backup file?
You can still restore manually: upload website files via File Manager or FTP, and import databases through phpMyAdmin. Email and settings must be recreated by hand.
Does a restore affect my SSL certificate?
The certificate files may be included in a full backup and restored with it. After restoring, confirm HTTPS still works and reissue the certificate if needed.