borg-key-migrate-to-repokey(1)
π borg-key-migrate-to-repokey(1) π
okay so bestie, welcome to the borg backup tool manual page for borg-key-migrate-to-repokey β the little glow-up ritual that takes your repo from passphrase mode to repokey mode. it's giving character development era tbh β¨
β¨ NAME β¨
borg-key-migrate-to-repokey β migrate passphrase -> repokey π¦
πΈ SYNOPSIS πΈ
borg [common options] key migrate-to-repokey [options] [REPOSITORY]
π DESCRIPTION π
okay so listen. this command migrates a repository from passphrase mode (which got removed back in Borg 1.0, rip to that era π) to repokey mode. no cap, it's a whole makeover.
first thing that happens: you get asked for the repository passphrase, because borg needs to open it in passphrase mode. and yeah β this is the exact same passphrase you used for this repository back before 1.0. the OGs remember π
then the different secrets get derived from that passphrase. slay.
after that, you'll be asked for a new passphrase β twice, for safety, because we're careful girlies π this passphrase is what protects the repokey (which holds these same secrets, just in encrypted form). and here's the tea: you may use the same passphrase you used to use, but you may also use a totally different one. your call, your vibe π
once you've migrated to repokey mode, you can change the passphrase at any time. iconic. but please note: the secrets will always stay the same, and they could always be derived from your (old) passphrase-mode passphrase. so likeβ¦ keep that in mind fr fr π
π₯ OPTIONS π₯
see borg-common(1) for the common options of Borg commands. they're the shared wardrobe everyone borrows from π
arguments
REPOSITORYβ the repo you're doing this glow-up on β¨
π SEE ALSO π
π Author π
The Borg Collective π
and that's the whole page bestie!! this was borg-key-migrate-to-repokey(1) from the borg backup tool, dated 2026-07-18. go forth and migrate, you absolute main character π«Άπβ¨
π¦ where this page comes from
- alpine 3.24: borgbackup-doc 1.4.5-r0 Β· BSD-3-Clause
- arch rolling: borg 1.4.5-1 Β· BSD
- ubuntu stonking: borgbackup 1.4.5-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms