Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,090 of 9,090 pages
About the help in other languages
All help pages

Backups and updates routine

The short routine that keeps a non-profit's Exponential site from expensive failures - backups of the database and storage with a tested restore (sqlite3 .backup for SQLite), applying Exponential, extension and PHP…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/non-profits/operations/backups-and-updates-routine.md

On this page

Backups and updates routine

This page is for whoever looks after the site: a technical volunteer, a host or a partner, and the staff member who checks that it is done. "Most expensive incidents on small sites come from missing backups, unapplied updates and nobody watching" (Low-budget operations). The routine below prevents all three.

Contents

  1. Backups
  2. The restore test
  3. Updates
  4. Cron and logs
  5. The calendar
  6. If you have a host or partner

Backups

A backup has two parts: the database and the storage directory (uploaded images and files). Both, or the backup is useless.

PartHowSource
SQLite databasesqlite3 <file> ".backup <target>", not a file copy while the site is busySQLite database support
Other databasesThe database's own dump toolBackups and restores
StorageCopy of var/<site>/storagesame
Settingssettings/override/ including the audit keysThe audit trail

Keep at least one copy away from the server, and protect it: backups hold the same personal data as the site (Donor and volunteer data protection).

Owner's view: Backups.

The restore test

A backup that has never been restored is a hope, not a backup. Every quarter:

  1. Restore the latest backup to a test location (a laptop or a test host).
  2. Open the site; sign in; open a page with images and a file.
  3. Write down the date, how long it took, and what went wrong.

Template: Restore test.

Updates

WhatWhyRead
Exponential releasesFixes, including security fixes; a published version never changes, a fix comes as the next releaseHow updates work, Release line and support
ExtensionsThey are updated with Exponential through ComposerUpdates and upgrades
PHP and the serverThe host's job, or yours on a virtual serverPHP versions and extensions

Good practice:

  • Test an update on a copy first; then apply it to the live site.
  • Use maintenance mode for longer work (Maintenance mode and planned work).
  • After an update, test the key paths: home, Donate, volunteer form, newsletter sign-up, shop checkout if used.
  • The administration's upgrade check helps see what changed (Upgrade check).
  • Checklist: Upgrade day checklist.

Cron and logs

  • Cron runs newsletters, scheduled publishing, approval publishing, view counts and the audit trail's rotation. Check monthly that it runs (Cronjobs).
  • Glance at the logs monthly in the log viewer (Log viewer, Logs for owners).

The calendar

How oftenTaskWho (name)
Daily (automatic)Backup runs
MonthlyBackup exists and is recent; updates checked; cron ran; logs glanced at
QuarterlyRestore test; access review
On each releaseUpdate tested on a copy, applied, key paths tested
YearlyReview host, partner and budget; exp:audit verify

Put this in the shared calendar. The Monthly checklist and Annual checklist carry the same tasks.

If you have a host or partner

Ask them, in writing (What to ask your host, What to ask your partner):

  • To do: How often are backups made, and where are they kept?
  • To do: When did you last test a restore of our site? Can we see the result?
  • To do: How soon after a release are updates applied?
  • To do: Who tells us when something was done?

A maintenance agreement makes it explicit (Maintenance agreement template).

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x