Backups
Settings > Backups has the wall write an encrypted backup of itself to a folder every day: everything it takes to bring the wall back on another computer, opened by its recovery kit alone.
Set it up
- Make the key. Make the backup key asks for your password, then shows the recovery kit, once. Print it or save it, and keep it apart from the wall.
- Name the folder: a whole path on the computer qKVM runs on, such as
/srv/qkvm-backupsorD:\qkvm-backups. A mounted share works; the data folder does not. FTP, Dropbox, Drive and S3 are not built in. - Choose the hour, how many to keep, and whether With the history goes in. Switch backups on and save.
| Option | What it does | Default |
|---|---|---|
| Hour | when the daily backup runs, by the wall's clock | 3 at night |
| Keep | how many of this key's backups stay | 7 |
Back up now makes one at once. Verify the latest reads the newest backup whole with the key, restores nothing, and says what it holds.
A run that fails is in the activity log, and told to destinations that ask for Backup failed. With --locked-start, nothing is made until somebody signs in.
What is in a backup
- The machines with their passwords and certificates, saved actions, accounts with their roles and second steps, tokens and display links, alert destinations, the identity provider, and the wall's settings.
- The activity log, and the history where it is ticked.
Not in it: the backup key, the server storage key, the HTTPS certificate, who is signed in, the program's log, and the pictures kept for screen alerts.
The recovery kit
The kit shows the backup key once, as fourteen groups of four letters and digits. Whoever has a backup and its kit has every device password in it. Keep the kit as a password is kept, printed and put away or in a password manager, and never on the qKVM computer or in the backups' folder.
Make a new key shows a new kit. Backups made before still need the kit before. A lost kit cannot be shown again, and its backups open with nothing.
Restore
On the new computer, with qKVM installed and not running:
- Copy the backup file there, and save the kit as a text file.
- Restore into a data folder that is new or empty:
python -m qkvm --restore qkvm-backup-43d96c035ccc455a-20261117-030000.qkvmbackup --backup-key kit.txt --data-dir /var/lib/qkvm
- Back up the new folder's server storage key (
<data folder>.keys/vault.key) separately. - Start qKVM with that data folder and sign in as before. Until somebody signs in, the restored wall watches nothing and sends no alert.
- Make a new backup key and keep its kit. Switch backups on again once this is the only wall writing to their folder.
The restore refuses a folder with anything in it, another key's backup, a later version's, and a file changed or cut short. Without --backup-key it asks for the key.
What a backup does not protect against
- A lost kit: nobody can open its backups, qKVM included.
- Somebody with a backup and its kit: they have every device password in it.
- One disk for both: keep the backups on another disk or a share.
- What happened since: a backup a day can be a day old.
- Others who may change the folder: they can delete backups. Keep it writable by qKVM's account alone.
- What the machines hold: the settings and firmware of the KVMs and controllers are not in it.