Verify and restore backups
Retrieve archives, test a restore and selectively replace data or a failed Pi drive.
Verify first, then replace
Under “On the Pi”, select the desired archive. Date, type, size and last verification time help identify the correct backup. “Verify” checks the archive again. “Test restore” goes further: the selected sections are restored into a separate directory and the files are compared. The active station is not replaced with the backup data during this process.
The test determines whether the selected backup can technically be read and unpacked. It does not decide whether the old settings it contains are still desired today or whether credentials for external services remain valid.
Retrieving an archive onto the Pi
If it is at the configured external destination, use “Refresh destination”, select the copy and click “Retrieve selected copy”. If it is on your computer, use “Import archive from computer”. The upload shows transfer progress; verification follows. The usable local archive appears only after successful import. Importing alone does not change station data.
For restoration, the panel accepts only archives signed by this installation. Renaming someone else’s backup file does not turn it into your own backup. Recovery after losing the Pi drive uses the key and recovery tool; see below.
Actually restoring data sections
- Select the correct local archive and open “Test or restore sections”.
- Select only the sections whose existing state you want to replace. Selection includes only sections actually present in the archive.
- Perform a test restore and check its completion.
- Start “Restore selection”. The confirmation shows the archive and sections.
- Services are stopped during replacement. A local rollback copy is created automatically beforehand; services restart after replacement.
- Sign in again afterwards and check network access, radio configuration and the specific data restored.
When replacing the station section, account for the PA lock and any ongoing calibration: an active PA lock keeps radio configuration locked; an ongoing preset/calibration change must have finished. The restart resumes previously active services, not every optional service that exists. If the live restore fails, the procedure attempts to restore the previous state from its rollback copy. Afterwards, the displayed feedback and current service state are decisive.
Restoration replaces the selected sections, including changes made since the backup. This can roll back newer messages, announcements or configuration changes. Queued SDS included in the backup may be sent again. Restoring the network section may reapply old Wi-Fi or VPN settings. Plan access accordingly. Linux and the boot partition cannot be replaced through section selection in the running panel.
“Delete local copy” removes the selected archive from the Pi after confirmation. It does not clean up the current station or delete a separate external copy.
Drive failure: restoring the entire Pi
You need a full .fzb backup, the separately stored key and fz_recovery.py. Prepare a Linux computer with Python 3.11 or later, python3-cryptography, GNU tar and zstd. A backup of individual station sections alone does not replace an operating system.
- Prepare an empty replacement drive with a FAT32 boot partition and an ext4 system partition. The recovery tool expects partitions to exist already; it is not a partitioning wizard.
- Mount the system partition at
/mnt/piand the boot partition at/mnt/pi/boot/firmware. Provide sufficient working space on another drive. - Adjust the filenames. First run verification only:
python3 fz_recovery.py station.fzb --key station.key --work /var/tmp
- For actual restoration, run with administrator privileges:
python3 fz_recovery.py station.fzb --key station.key --work /var/tmp --restore-pi /mnt/pi
- Wait for successful completion and cleanly unmount both partitions. Turn off the original station before starting the restored installation.
- After booting, check the network connection, services, radio calibration, station identity and backup destination. Restoring onto different radio hardware does not make another device’s hardware calibration suitable.
Among other checks, the tool verifies archive data and updates the boot mapping for the target partitions. Do not use a partition containing data you still need as the destination. A missing key, damaged archive, unsuitable partitions or insufficient working space must be resolved before actually resuming operation.
Settings in detail
- On the Pi
Selects the local archive for download, verification, copying, deletion, testing and restoration. Selection alone changes no station data.
- Archive at external destination
Selects the archive to retrieve from the most recently read list at the saved destination.
- Archive from computer
Accepts a .fzb file. Transfer and verification precede inclusion in the local archive inventory; the station remains unchanged during import.
- Restore station
Replaces station, calibration, preset and telephony data with the archive state. Check compatibility with the radio hardware.
- Restore network
Replaces the Wi-Fi, network and VPN profiles contained in the archive. This may change access to the interface.
- Restore messages
Also replaces history, positions, surveys and queued SDS. Older queue entries may be sent again.
- Restore voicemail
Replaces personal voicemail data with the saved state.
- Restore speech library
Replaces saved speech content and announcements; newer changes in the section are rolled back.
- Restore models and audio files
Restores models, voices and audio files contained in the archive; provide sufficient working space.
- Restore offline maps
Replaces the maps section, including saved offline maps and cache.
- Verify
Checks the selected local archive again and updates verification status. Does not change the active configuration.
- Test restore
Unpacks the selected sections separately and compares all files. Does not replace live data.
- Restore selection
Requires confirmation, creates a rollback copy, stops services and replaces the sections. Afterwards, check service startup and sign in again.
- Retrieve selected copy
Transfers the external archive onto the Pi. Does not yet restore it.
- Copy to destination
Copies an archive already on the Pi to the saved external destination and verifies the copy by reading it back.
- Delete local copy
Deletes only the selected local archive after confirmation. A previously downloaded or externally copied archive remains separately available.
