Backups & recovery
Every night GembaPass makes an encrypted copy of its database and of the settings needed to run it again, keeps 14 days on the server, and sends a copy to a separate home machine.
- The copies are locked with a key that exists only on the owner's laptop — the server can make backups but cannot read them. Keep a second offline copy of that key: without it no backup can be opened.
- The server can only ADD files to the home machine: it cannot read, overwrite by deleting, or remove them, so a break-in cannot wipe the backups.
- If a backup fails — or none succeeded in the last 26 hours — an email goes out.
- Recovery is tested for real: a script on the laptop pulls the newest copy, restores it into a throw-away database and checks that every table has the right number of rows, that the privacy rules survived, and that the saved keys still open the saved wallets. It ends with “RESTORE TEST OK”.