Skip to content
Snippets Groups Projects
Commit 6849e232 authored by Florian Sesser's avatar Florian Sesser
Browse files

Backup: Use single repo + host key per deployment

parent 527fb19c
No related branches found
No related tags found
5 merge requests!315update production,!314update production,!313update production,!312update production,!297Borgbackup
Pipeline #2035 passed
storage1.passphrase
\ No newline at end of file
storage1.ssh-key
\ No newline at end of file
......@@ -33,12 +33,12 @@ in {
# The passphrase is used to encrypt the repo key
# https://borgbackup.readthedocs.io/en/stable/usage/init.html
destination = "/run/keys/borgbackup/passphrase";
source = "${privateKeyPath}/borgbackup/${config.networking.hostName}.passphrase";
source = "${privateKeyPath}/borgbackup.passphrase";
};
"borgbackup-appendonly-ssh-key" = {
# The ssh key is used to authenticate to the remote repo server
destination = "/run/keys/borgbackup/ssh-key";
source = "${privateKeyPath}/borgbackup/${config.networking.hostName}.ssh-key";
source = "${privateKeyPath}/borgbackup.ssh-key";
};
};
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment