Backups
The backup system writes the database and the uploaded files into zip files, so there is something to restore from when a server fails.
Running one
Section titled “Running one”Settings → Backup. You can run a backup now, or let the scheduled task run them on a schedule. Scheduled is the one that matters: a backup you have to remember is a backup you will not have.
backup_post_delay pauses between stages, which keeps a large backup from being killed by
a shared host’s resource limits.
What it needs
Section titled “What it needs”The zip PHP extension. Without it backups do not run and the settings screen says so.
See Requirements.
The backup folder must be writable by the web server.
What a backup contains
Section titled “What a backup contains”- The database — every record.
- The uploaded files. See Files.
A database-only backup restores the list of your files and none of the files. Make sure both are included.
Restoring
Section titled “Restoring”Restoring is a manual job: a fresh installation of the same version, the database imported
from the backup, the files unpacked into place, and includes/config.php pointed at the
new database. Installing covers the configuration side.
Restore into a new database rather than over a live one. If something is wrong with the backup you want to find out next to a working system, not instead of one.