Backup Specific Domains in DirectAdmin Guide
In this article
To backup specific domains in DirectAdmin, you use the Create/Restore Backups tool to select individual domains from the user account, which packages the website files, databases, and email accounts into a compressed archive. This process ensures that you have a point-in-time recovery snapshot of a single site without needing to backup every single domain hosted under a single user account. Note that menu labels may vary slightly depending on the DirectAdmin skin (Evolution or Enhanced) or the specific version installed by your hosting provider.
What You'll Need
- Administrative or User-level access to a DirectAdmin control panel.
- Sufficient disk space on the server to hold the temporary backup archive before it is downloaded or moved.
- An active internet connection for downloading the backup file to your local machine.
- Knowledge of which specific domains require backup if you are managing a multi-domain account.
Step-by-Step
- Log in to your DirectAdmin control panel using your username and password.
- Locate the search bar at the top or navigate through the main menu. Look for the section labeled "System Info & Files" or "Advanced Features" depending on your skin.
- Click on the tool named "Create/Restore Backups".
- Once inside the backup manager, you will see a section for creating a new backup. You will be presented with a list of checkboxes. Instead of selecting the global "All" option, look for the specific domain names listed under the user account.
- Check the box next to the specific domain(s) you wish to back up. If you have multiple domains and only need one, ensure only that single box is ticked.
- Review the backup options provided. You can typically choose whether to include the website data, the email accounts, and the database associated with that domain. Ensure all necessary components are selected to avoid a partial backup that cannot be fully restored.
- Click the "Create Backup" button. The system will now begin the process of compressing the files and exporting the database.
- Wait for the system to notify you that the backup is complete. Depending on the size of the domain and the server speed, this may take a few seconds or several minutes.
- Navigate to the "Backup" directory in your File Manager. Usually, DirectAdmin stores these archives in the
/backupsfolder within your home directory. - Locate the file, which is typically a
.tar.gzarchive named after the user and the date. - Right-click the file and select "Download" to save the backup to your local computer for safekeeping.
Common Mistakes
One of the most frequent errors is failing to download the backup file from the server after it is created. Many users assume that clicking "Create Backup" stores the file in a cloud location, but it actually saves it to the server's local disk. If the server crashes or the account is suspended, a backup stored only on that server is useless. Always move the archive to an external drive or cloud storage.
Another common mistake is neglecting the database. In some configurations, users might only backup the file directory (public_html) and forget to check the database box. Since most modern websites (like WordPress or Joomla) rely entirely on a MySQL/MariaDB database for content, a file-only backup will result in a broken site upon restoration.
Users also frequently overlook disk quota limits. If your hosting account has a 10GB limit and your website is 6GB, creating a backup will require another 6GB of space temporarily to hold the archive. This can trigger a "Disk Quota Exceeded" error, which may cause the backup to fail or, in worse cases, cause the live website to stop functioning because it cannot write temporary session files.
Tips
To ensure the highest level of data integrity, perform a "dry run" restoration on a staging domain or a local development environment. This confirms that the backup archive is not corrupted and contains all the necessary files. It is better to discover a missing database table during a test than during a real emergency.
If you have a large number of domains, use a naming convention for your local storage. Instead of keeping the default DirectAdmin filename, rename the downloaded file to include the domain name and the specific purpose of the backup (e.g., example-com-pre-update-2026-12-03.tar.gz). This makes it significantly easier to find the correct version when rolling back changes.
For those with very large sites, check if your provider supports "Incremental Backups." While the standard Create/Restore tool creates a full snapshot, incremental backups only save the changes made since the last backup, saving significant disk space and time.
Troubleshooting
If the backup process fails or the "Create Backup" button does not respond, the first step is to check your available disk space. Navigate to the system information page in DirectAdmin and verify that you have at least 1.5 times the size of your website available in free space. If space is low, delete old backups or temporary files and try again.
If the backup completes but the resulting file is 0 bytes or significantly smaller than expected, it usually indicates a permissions error. Ensure that the folders within your public_html are owned by the correct user and group. If you have recently moved files via SSH as the root user, DirectAdmin may not have the permission to read those files to compress them into an archive.
In cases where the backup hangs at 99%, this is often due to a very large database or a massive amount of small files (like cache folders). Try clearing your website's cache (e.g., WP-Rocket or W3 Total Cache) before starting the backup. This reduces the number of files the system has to index and compress, often allowing the process to complete successfully.
If you cannot find the backup file in the File Manager, check the /backups folder at the root of your user directory. If it is not there, your hosting provider may have configured the backups to be sent directly to a remote storage server. Contact your host's support team to ask where the backup archives are routed.
Frequently Asked Questions
Can I schedule backups for specific domains automatically?
The standard User level "Create/Restore Backups" tool is manual. Automatic scheduling is typically handled by the server administrator via the Admin level "Cron Jobs" or the "Admin Backup/Transfer」 tool. If you need automation, check if your host provides a third-party plugin or a managed backup service.
Does backing up a domain include my email accounts?
Yes, provided that the "Email" option is selected during the backup creation process. This will archive your folders, messages, and account configurations, allowing you to restore your inbox exactly as it was.
What is the difference between a full account backup and a domain backup?
A full account backup saves every single domain, email account, and database associated with the user. A domain-specific backup only targets the files and data linked to that one specific domain, which is faster and uses less space.
Can I restore a backup to a different DirectAdmin server?
Yes, as long as the destination server also uses DirectAdmin. You can upload the .tar.gz file to the /backups folder of the new server and use the "Restore" function within the Create/Restore Backups tool.
Will my website go offline while the backup is running?
No, the backup process runs in the background. However, because compression uses CPU and Disk I/O resources, you might notice a slight slowdown in page loading speeds for your visitors during the process.
Can I backup only the database without the files?
While the Create/Restore tool allows you to toggle options, if you only want the database, it is more efficient to use the "MySQL Management" tool. From there, you can select the specific database and use the "Download」 or "Export」 option to get a .sql file.