Engrana manual

Contents › Settings

Backups

In short

When the last successful database backup was made, the backup history and where photos and attachments are stored. You can also make a backup right now and check that all attachment files are in place.

Why it matters

  • Make sure data can be restored after a server failure.
  • Notice in time that the nightly backup has stopped running.

Who can

Only the administrator of the whole installation: there is one backup for the whole installation, so a company administrator does not see it in the menu.

How to do it

  1. Check the state. At the top, "Last successful backup: …". A backup runs every night on the server schedule.
  2. Back up now. "Back up now" — before an update or important changes.
  3. Check attachments. "Check attachments" — the program checks that all files exist and verifies checksums on a sample.
  4. Where photos are stored. "On the installation server" (included in the backup) or "EU storage (DPA)" (backups via bucket versions).

Common messages

  • "No successful backups yet" or a warning about an old backup — check the server schedule or back up now.
  • "Missing files: …; checksum mismatch: …" — restore those files from the storage backup.
  • "error" in the history — the backup was not made: tell the server administrator.

Questions and answers

Why can't a company administrator see the backups? Backups, the attachment check and "Back up now" belong to the installation-wide administrator only: a backup covers all companies, so the program does not show it to a company or branch administrator.

Is a separate backup made for each company? No: each backup holds the whole installation database with all companies, plus the attachment files if photos are stored "On the installation server". With "EU storage (DPA)" the files are not in the backup: they are kept via bucket versions.

When does the old-backup warning appear? When there has been no successful backup for more than 26 hours (the nightly backup plus a margin), or there has never been one. If "Back up now" fails, the program shows "Backup failed: …".

How is data restored from a backup? Not on this screen: the server administrator restores it, and only into a new, empty database, so current data is not overwritten. This is also how you test that a backup can be restored (deploy/README.md).

Where next

  • deploy/README.md — how backups work on the server and how to test a restore.