DOKK / manpages / debian 12 / borgbackup-is-borgbackup2 / borg-key-change-location.1.en
BORG-KEY-CHANGE-LOCATION(1) borg backup tool BORG-KEY-CHANGE-LOCATION(1)

borg-key-change-location - Change repository key location

borg [common options] key change-location [options] KEY_LOCATION

Change the location of a borg key. The key can be stored at different locations:

  • keyfile: locally, usually in the home directory
  • repokey: inside the repo (in the repo config)

Please note:

This command does NOT change the crypto algorithms, just the key location, thus you must ONLY give the key location (keyfile or repokey).

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

select key location

keep the key also at the current location (default: remove it)

borg-common(1)

The Borg Collective

2023-03-01