borg init --encryption=repokey user@remote:/backup/borg-repo
Category: Self-Hosting
borg init --encryption=repokey user@remote:/backup/borg-repo
Initialize a Borg backup repository on a remote server with encryption
Initializes a new encrypted Borg repository on a remote server. The encryption key is stored in the repo (repokey mode) and protected by a passphrase.