Backups are often postponed until the first serious problem. Meanwhile, a properly configured backup is the only guaranteed way to restore a site after a hack or a failure. We have cured more than 350 Joomla sites and we know for sure: where there is a fresh working backup, recovery takes hours, not weeks.
What a Full Joomla Site Backup Includes
A Joomla site consists of two parts: files and database. The files are the Joomla core, extensions, templates, images and documents. The database is the content: articles, users, settings, menus.
A full backup must include both components. Copying only files without the database is useless: after restoration the site will be empty. And vice versa — the database without files will not start.
What Must Be Copied
The minimum set for a full restoration:
- All Joomla files in the root directory.
- The MySQL database with a full dump.
- The
configuration.phpfile with the credentials. - The
imagesfolder with the uploaded content.
Where to Store Backups
The main rule: a backup must not lie on the same server as the site. If the server fails or is hacked, the copy will suffer too. Use at least two independent storages:
- A local computer or an external drive.
- Cloud storage: Yandex.Disk, Google Drive, Dropbox.
- A separate FTP server.
Automatic Joomla backup extensions can upload copies to the cloud on a schedule.
How Often to Make Backups
The frequency depends on how often the site is updated:
- An online store with daily orders — a daily backup.
- A corporate site with news — a weekly backup.
- A business card with rare edits — once a month.
Before any major changes — updating Joomla, installing extensions, changing the template — make an off-schedule backup. If the site is migrating to a new version, we always make a full backup before starting — this is part of the Joomla Update service.
Check the Backups
A backup that cannot be restored is worth nothing. Every few months check the copies: unzip the files, import the database on a test domain. It is better to discover a non-working backup in a calm environment than at the moment of a crash.
"A non-working backup is worse than its absence, because it gives a false sense of security."
If There Is No Backup and the Site Has Already Suffered
Recovery after a hack without a backup is harder, but possible. We clean the files and database manually and restore the damaged data. This is the Recovery After a Hack service: usually it takes 2–4 hours, in complex cases up to 2 days. And after the recovery we always configure proper backup so that it never happens again.