borg-key-migrate-to-repokey(1)

borg-key-migrate-to-repokey1

Migrate passphrase -> repokey

Usage

borg [common options] key migrate-to-repokey [options] [REPOSITORY]

Overview

This command migrates a repository from passphrase mode (removed in Borg 1.0) to repokey mode.

You will first be asked for the repository passphrase (to open it in passphrase mode). This is the same passphrase you used for this repository before 1.0.

The different secrets will then be derived from this passphrase.

Then you will be asked for a new passphrase (twice, for safety). This passphrase will be used to protect the repokey (which contains these same secrets in encrypted form). You may use the same passphrase as you used to use, but you may also use a different one.

After migrating to repokey mode, you can change the passphrase at any time. Please note: the secrets will always stay the same, and they could always be derived from your (old) passphrase-mode passphrase.

Options

See borg-common(1) for common options of Borg commands.

arguments

REPOSITORY

Releases

5 releases since Debian 10 (Buster); the text changed 4 times.

  1. 10
  2. 11
  3. 12
  4. 13
  5. Arch

Author

The Borg Collective

From borg 1.4.5-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.