Skip to content
Cenovel Systems

Backup and restore

Protect the database, application stores, configuration and release identity.

GuideChecked against the source on October 19, 2026Describes Opal 2.7.0, the current release

Local staging is not an off-box recovery copy. Configure a separate destination and escrow the backup keyring. Keep copies of required credentials separately from the backup artifacts.

Create and verify a native backup

cenovelctl backup create
cenovelctl backup list
cenovelctl backup verify NAME

Replace NAME with a set returned by the list command. Native backup artifacts are encrypted and authenticated, with a COMPLETE marker written after the set is finalized.

Schedule and off-box copy

The native timer is scheduled for 01:30 with up to 20 minutes of randomized delay. Native retention and an rsync-over-SSH or SFTP destination are configured in /etc/cenovel/cenovel-native.conf. Off-box copies are verified against file digests; SFTP copies are read back for that check.

Check recovery

cenovelctl restore preflight NAME
cenovelctl restore drill

The drill restores into scratch resources and checks that a scratch console starts and passes readiness. Review the drill result; it does not replace a recovery test in your deployment environment.

Recovery rehearsals in the console

Cenovel also rehearses its own recovery: it checks the newest backup against its recorded checksum, restores it into a throwaway test database, compares the copy with the backup’s own tables and row counts, checks the tables Cenovel needs and a few representative reads (settings, equipment, people and the audit chain), then deletes the test database. Only one runs at a time, and its test databases are the only ones the console’s database account may create.

  • On the appliance it rehearses the appliance’s own nightly backup set, the newest complete one in /var/backups/cenovel. The set is checked first: its completion marker, its manifest opened with the backup keys, and each part against the checksum the manifest recorded. Then its database is restored into the test database. Photos and attachments in the set are checked but not restored. The console reads the sets with the folder and backup keys it already holds, so no service, account or permission was added for rehearsals.
  • Under Docker Compose it rehearses the newest backup the console took itself (Take a daily backup, in Settings › System › Backups).
  • Settings › System › Backups has the Recovery rehearsal card: the last successful rehearsal, how long it took, the backup or backup set it used and when that was taken, and anything missing or failed in the last result, named in plain words. On the appliance it also names the newest backup set.
  • Rehearsal schedule is Off, Weekly or Monthly (the default). A scheduled rehearsal runs in the hour after the daily backup (on the appliance, 02:00 to 03:00, after its nightly set), and waits for the next quiet hour while a backup or another rehearsal runs. A District Administrator changes the schedule and can choose Run rehearsal; every run is audited.
  • It restores Cenovel’s database only: photos and attachments are not restored, and the switches and other devices Cenovel manages are not part of it. Nothing in use changes. Rehearsals still run while the license has made the console read-only.
  • A new appliance has no backup set until its first night. Until then the card says so and when the first set is due, and Run rehearsal waits for it. The restore drill above still proves a whole set, files included, boots a console.

Restore an appliance

Native restore needs the release and schema epoch that took the set. After a failed update it puts that release back first when it is still on the appliance; otherwise it refuses and changes nothing, so install that release, then restore. Review preflight before applying the set.

cenovelctl restore apply NAME
Restore replaces the live database and stores after creating a safety set. A failure after the safety snapshot can leave services stopped. Review the receipt and resolve the failure before retrying; do not start services by hand in the middle of recovery.

↑ ↓ to moveEnter to openEsc to close