Situation #
You cannot find the printed recovery key. What you can do depends on whether the server computer still works.
What keeps working #
- A running server keeps its data key in its
keysfolder, so daily work and nightly backups continue. - Backup files stay encrypted. They open only with the recovery key that was current when each file was made.
Steps #
- Search first. The key has nine groups of four letters and numbers. Check the safe, the owner's password manager and any printed setup sheet. Typing accepts capitals or small letters and any spacing.
- If the server still runs, make a new recovery key at once. The old key stops working for new files and for the sealed copy in
recovery.json. Rundispatch-server new-recovery-key --data-dir <data folder>. It prints the new key once. Write it down and keep it away from the server computer. - Make a backup file right after the new key exists:
POST /backup/archives. New files open with the new key. Check it withdispatch-server verify-backup <that file>and type the new key. - If the server computer has died and the key is gone, a backup file cannot be opened by anyone, including us. Try older keys you may have printed: each file opens with the key that was current on the day it was made, so a file from before a key change needs the earlier key.
- If you hold the whole data folder of the dead computer, including the
keysfolder, copy it to the replacement computer. The data key inside it opens the data without any recovery key. Start the server there and make a new recovery key as in step 2.
How to confirm it worked #
dispatch-server verify-backup <file>with the new key reports the rows and photos inside.GET /backup/statusshows a recentlast_goodand no alert.
Afterwards #
- Store the new key in two places: a paper copy in a safe and a copy with a person you trust.
- Never store the key on the server computer or in the same folder as the backup files.
- Tell the other owners that earlier files need the earlier key. Keep the old printed key sheet until the last file made under it has aged out of your 30 days.