Skip to content

Back up and restore your vault

keypaste keeps copies of your vault as you work. Put one on another disk too, and restore a copy if something goes wrong.

Before you start: your vault unlocked in keypaste.

keypaste copies your vault on the first save after each unlock, keeping the last five copies, one a day for a week and one a week for four weeks. They sit in a folder beside the vault.

  1. Open Settings › This vault. Backups shows how many copies there are and when the latest was made.

Copies beside the vault are lost with its disk.

  1. In Settings › This vault, click Export an encrypted copy….
  2. Save it on another disk, such as a USB drive. It opens with the same master password.
  1. Lock keypaste with Ctrl+L, or ⌘L on a Mac.
  2. On the unlock screen, choose the vault, then click Restore a backup….
  3. Choose a copy by when it was taken.
  4. Type the master password that copy was made under, choose its key file if it had one, and click Check this backup.
  5. keypaste shows what the copy holds and what it replaces. Click Restore.

The vault you replace is kept as a backup too. If KeePassXC has the vault open, close it first: it doesn’t notice a restore.

Restore a backup on the unlock screen, with the list of copies

  • “No copies yet.” keypaste makes the first copy when you next save a change after unlocking.
  • A copy won’t open. Each copy opens only with the master password and key file it was made under. A backup can’t recover a forgotten master password.
  • Restore a backup… isn’t there. It is on the unlock screen, not in an unlocked vault. Lock keypaste first.