How often you are backed up, and how you restore, depends on your product. This guide covers each one.
Container Hosting: backed up every day automatically. You can restore the whole site, one database or one file from about the last week yourself, in the Backups tab. DirectAdmin hosting: backed up weekly, with restores through JetBackup. VPS: snapshots are included; automatic backups are an optional paid add-on. Whatever you have, keep a copy of your own somewhere else.
1. Container Hosting: daily backups you restore yourself
Your container is backed up automatically every night: your files (including public_html), your cron jobs and each MySQL database.
- Open your containerin the client area and go to the Backups tab.
- Choose a backupfrom the list. Daily points from about the last week are available.
- Choose what to restore:the whole backup, one database, or one file or folder.
- Confirm.A full restore overwrites your current files and databases with that backup's contents.
Anything created since that backup was taken is lost. If you are unsure, take a fresh backup first, so you can return to where you are now.
You can also take a backup yourself at any time with Back up now on the Backups tab, on every plan. Do that before a risky change. You can download any backup as a tar archive. More detail is in Backups and Restore.
When a container is cancelled, its backups are deleted with it. Download anything you want to keep before you cancel.
2. DirectAdmin hosting: weekly backups
DirectAdmin hosting accounts are backed up once a week. You can restore files, databases or the whole account from JetBackup in DirectAdmin. See Restoring from JetBackup in DirectAdmin.
Because the automatic backup is weekly, take your own copy before any big change.
- Files: compress
public_htmlin DirectAdmin's File Manager and download it. - Database: export it from phpMyAdmin as SQL. See Using phpMyAdmin in DirectAdmin.
3. VPS
A VPS is self-managed. Your plan includes snapshots (how many depends on the plan): take one yourself from the client area before a risky change, and roll back if it goes wrong. Automatic backups (7 daily and 4 weekly) are available as an optional paid add-on. Ask support if you want them added. Without that add-on, copy your data off the server on a schedule you set.
4. Good habits
- Back up before changes: before updating WordPress, plugins or themes, or editing code.
- Keep a copy elsewhere: download a backup now and then to your computer or cloud storage.
- Test a restore: a backup you have never restored is a backup you hope works.
How often is my site backed up?
Container Hosting: every day, with about a week of daily points you can restore yourself. DirectAdmin hosting: once a week.
Can I restore only one file or one database on Container Hosting?
Yes. In the Backups tab, choose the backup and restore a single file or folder, one database, or everything.
What happens to backups when I cancel?
They are deleted with the service. Download what you want to keep before you cancel.