Restoring from JetBackup in DirectAdmin
JetBackup in DirectAdmin allows you to restore your website files, databases, email accounts, and other components from automated backup snapshots. This guide covers the complete restoration process.
Accessing Restore Options
- Log in to your DirectAdmin control panel
- Navigate to Extra Features or Advanced Features
- Click on JetBackup
- You will see the available backup types and restore options
Viewing Available Backups
Before restoring, check which backup snapshots are available:
- In JetBackup, click on the backup category (Files, Databases, Emails, etc.)
- You will see a list of available backup dates
- Each entry shows the backup date, time, and size
- Select the appropriate backup point based on when your site was last working correctly
Tip: Choose the most recent backup from before the issue occurred. If you are unsure when the problem started, work backwards from the most recent backup.
Restoring Files
Full File Restore
- In JetBackup, go to File Backups
- Select the backup date you want to restore from
- Click Restore for a full file restoration
- Confirm the restore action
- Wait for the process to complete
Selective File Restore
To restore specific files or directories without overwriting everything:
- Go to File Backups
- Select the backup date
- Click Browse/Manage Files or File Manager
- Navigate to the specific file or folder you want to restore
- Select the items using checkboxes
- Click Restore Selected
- Choose whether to:
- Overwrite existing files
- Restore alongside existing files (with a different name)
- Confirm and wait for completion
Tip: For selective restores, use the file browser to compare backup contents with your current files before restoring.
Restoring Databases
Full Database Restore
- In JetBackup, go to Database Backups
- Select the backup date
- Find the database you want to restore
- Click Restore
- Confirm the action — this will overwrite the current database contents
- Wait for the restore to complete
Download Database Backup
If you prefer to restore manually or want to inspect the data first:
- Go to Database Backups
- Select the backup date
- Click Download to get the SQL dump file
- Review the dump file if needed
- Import manually via phpMyAdmin or command line
Tip: Before restoring a database, export the current database as a backup. This gives you a fallback if the restored version has issues.
Restoring Email
- In JetBackup, go to Email Backups
- Select the backup date
- Choose the email account(s) to restore
- Click Restore
- Confirm the action
- Restored emails will appear in the mailbox
Restoring DNS Zones
- In JetBackup, go to DNS Zone Backups (if available)
- Select the backup date
- Click Restore to restore the DNS zone configuration
- DNS changes may take up to 24-48 hours to propagate
Full Account Restore
To restore your entire account (files, databases, emails, settings):
- In JetBackup, go to Full Account Backups
- Select the backup date
- Click Restore
- Select which components to restore:
- Files
- Databases
- Emails
- DNS zones
- SSL certificates
- Cron jobs
- Confirm and wait for the full restoration
Tip: A full account restore can take significant time for large accounts. Do not interrupt the process or log out during restoration.
Important Warnings
- Restoring overwrites current data: Any changes made after the backup date will be lost for the restored components
- Database restore is destructive: The current database is completely replaced. Always export the current database before restoring.
- Partial restores are safer: If you only need specific files, use selective restore rather than a full restore
- DNS restore may cause downtime: Restoring DNS zones may affect email and website accessibility during propagation
After Restoring
- Test your website: Browse all major pages and test forms, login, and checkout functionality
- Check database connections: Verify database credentials in your CMS configuration file match the restored database
- Test email: Send and receive a test email
- Clear caches: Clear any application caches (WordPress, Joomla, etc.) and CDN caches
- Check SSL: Verify your SSL certificate is still valid and installed
Troubleshooting
- Restore fails or hangs: Your account may be over quota. Free up space and try again. If it persists, contact support.
- Website broken after restore: Check your CMS configuration file (e.g.,
wp-config.php) — database credentials may not match. - Missing backup points: Backups are retained for a limited period. Older backups may have been rotated out.
- Permission errors after restore: File permissions may need to be reset. Use the DirectAdmin file manager or SSH to fix permissions.
- Database connection error: The database user or password may have changed. Update the credentials in your application config file.
Related Articles
Need help restoring from a backup? Contact {{COMPANY_NAME}} support at {{SUPPORT_EMAIL}} or open a ticket at {{SUPPORT_URL}}.