Get started
Color

Lost recovery key

What to do when the printed recovery key is missing, depending on whether the server still runs.

For
OwnerAdministrator
Hosting
Office serverYour own hosting
Devices
Server
Business
All businesses

Checked against Pop Dispatch 0.1.0

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 keys folder, 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 #

  1. 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.
  2. 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. Run dispatch-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.
  3. Make a backup file right after the new key exists: POST /backup/archives. New files open with the new key. Check it with dispatch-server verify-backup <that file> and type the new key.
  4. 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.
  5. If you hold the whole data folder of the dead computer, including the keys folder, 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/status shows a recent last_good and no alert.

Afterwards #

  1. Store the new key in two places: a paper copy in a safe and a copy with a person you trust.
  2. Never store the key on the server computer or in the same folder as the backup files.
  3. 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.