(neodymium) backup very important keepass database to hydrogen daily

This commit is contained in:
Laureηt 2023-07-10 22:17:37 +02:00
parent 48d5fd590c
commit 6a6ba4e3c6
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI

View file

@ -30,4 +30,15 @@
compression = "auto,zstd"; compression = "auto,zstd";
startAt = [ ]; startAt = [ ];
}; };
services.borgbackup.jobs.keepass = {
paths = "/home/laurent/Documents/db_mdp.kdbx";
repo = "ssh://root@fainsin.bzh:624/srv/backup/keepass";
user = "laurent";
encryption = {
mode = "repokey";
passCommand = "cat ${config.age.secrets.borgbackup.path}";
};
compression = "auto,zstd";
startAt = "daily";
};
} }