Appearance
Backups and Restore
Settings → Backups takes point-in-time copies of your organisation's records and puts them back when something goes wrong. It requires the Manage Backups permission.
A backup here is a copy of your organisation's records — cases, correspondence, configuration, roles, the audit trail — held as an archive in object storage, outside the database it protects.
Taking backups
Back up now queues one. It runs against live data in the background and appears in the list when it is finished — seconds to a couple of minutes depending on your caseload. One at a time: a second request while one is running is refused.
Automatic backups run on a schedule:
- How often — every 6, 12, 24 or 48 hours, every 3 days, or weekly. This is the recovery point objective you are choosing: at worst, this much work is lost.
- How long they are kept — 1 to 14 days.
The list shows every restore point with when it was taken, whether it was scheduled or manual, how many records it holds, its size and when it expires.
Download gives you the archive itself. A restore point kept only inside the product shares the product's fate, so an authority wanting an off-site copy should be able to take one. It holds the same material an export does — treat it the same way.
Everything expires
Backups are deleted after at most 14 days, manual ones included. This is a deliberate ceiling, not a missing feature.
Each archive is a complete copy of a live FOI caseload — requesters' names, their correspondence, their identity documents. An authority quietly accumulating full copies of that indefinitely would be holding personal data long after the purpose for holding it had gone. Fourteen days covers what a backup is actually for: a bad configuration change, a mass deletion, an import that went wrong.
Shortening the retention period applies to backups you already hold, not only to the next one.
This is not an archive
Backups are for undoing recent mistakes. Long-term retention of case records is governed by the retention period on each request type, which is a different mechanism with a different purpose.
What a backup does not hold
Documents. The archive holds the records, not the files. Document durability is your storage provider's job — Azure Blob Storage's own redundancy — and keeping a fortnight of copies of every scanned attachment would be a poor way to buy it.
What the product does guarantee is that a document deleted inside the product outlives every restore point that could bring its case back. A file that is deleted is held recoverably for 15 days — one day longer than the oldest backup you are allowed to keep — before it is purged for good. So restoring a case deleted a fortnight ago restores a case whose attachments still open.
Outside that, the consequence is stated rather than hidden: when a restore would bring back a record whose file has since been purged — because it was deleted longer ago than that, or the case passed its retention period — the preview names the file. That case comes back with a download that does not work, and you find out before you press the button rather than after.
Restoring
Choose a restore point and press Restore. Nothing happens until you have seen a preview.
Merge or replace
| What happens to records created since the backup | |
|---|---|
| Merge (default) | Left alone |
| Replace | Deleted |
Both put back what the backup holds: records changed since are reverted, records deleted since come back.
Merge is the default because it is what people almost always mean, and it is the mode that cannot lose a case logged this morning. Replace is available, named plainly, and never the default.
Choosing what to restore
Tick individual tables to restore only part of the organisation. Recovering a department somebody deleted by mistake does not have to mean reverting the whole authority.
The preview
The preview is where a restore is decided, and it changes nothing. It shows, per table, how many records would be created, updated and deleted, with examples — so an administrator restoring a fortnight-old backup to recover one deleted department can see that it would also revert four hundred cases.
It also raises:
- Blockers — reasons the restore will not run at all.
- Warnings — things worth reading first. A wholesale replace that deletes cases will also delete their messages, attachments and timeline through the database's own cascades, and the preview names the tables affected even when you did not select them.
- Missing documents — records being brought back whose files are no longer in storage.
Guarantees
The audit trail is append-only. A restore may add entries missing from the case timeline, the access log, the admin log and the record-access log; it may never change or remove one. This holds in both modes. Without it the backup permission would quietly be a permission to erase the record of what you did, and an audit trail that can be rolled back is not an audit trail.
A restore cannot lock out its own operator. A wholesale replace that would remove your own membership is refused. There is no platform administrator to appeal to, so a restore that removes the only person who could undo it is not recoverable.
A restore is one transaction. It succeeds completely or changes nothing — a restore that failed half way would leave the organisation in a state that never existed, which is worse than either end of it. If it fails, the safety backup taken beforehand still stands and your data is exactly as it was.
Two things sit outside that transaction on purpose. The safety backup is taken before it opens, so it survives whatever happens next. And the database's internal id counters are moved past the restored records just before the commit; those are not transactional in PostgreSQL, so a failed restore can leave a gap in future id numbering. That is harmless — ids only have to increase, not be consecutive — and the alternative would be handing out a number already in use.
A restore backs up what it overwrites. A backup is taken automatically immediately before the restore is applied, so choosing the wrong restore point is a recoverable mistake rather than a final one. It appears in the list as a manual backup labelled (before restore).
Restores stay inside one organisation. Every record in an archive is checked against the organisation being restored before it is written — including the join records that carry no organisation of their own, which are checked against the parent they name. An archive belonging to another authority is refused outright.
Every restore is logged. The administrative audit log records who ran it, from which backup, in which mode, and how many records were created, updated and deleted.
Disaster recovery
For an RFQ or an assurance question, the honest statement of what this gives you:
| Recovery point objective | The backup interval you choose — as short as 6 hours |
| Recovery time objective | Minutes for a single organisation. A restore runs at the speed of the archive's size |
| Scale | Backups, exports and restores stream: each holds one record at a time rather than the caseload, so memory does not grow with the size of the authority |
| Test frequency | The preview is a non-destructive test of a restore's outcome and can be run against any restore point at any time, as often as you like, without touching data |
| Scope | One organisation's records. Documents are protected by the storage provider's own redundancy; the database itself by your hosting platform's backups |
Running a preview against your most recent backup on a regular basis — monthly, say — is a genuine restore test: it reads the archive end to end, computes the full diff against live data, and tells you whether the archive is readable and what restoring it would do. Record the result.