carbon: restic backup

This commit is contained in:
Primrose 2024-08-04 18:44:56 +02:00
parent 35c1ea0822
commit a4594e5b5a
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
7 changed files with 51 additions and 31 deletions

View file

@ -0,0 +1,18 @@
{ config, ... }:
{
services.restic.backups."to-backblaze" = {
paths = [ "/home/leana/Documents" ];
passwordFile = config.age.secrets.restic_backblaze_pwd.path;
repositoryFile = config.age.secrets.restic_backblaze_repo.path;
environmentFile = config.age.secrets.restic_backblaze_env.path;
pruneOpts = [
"--keep-daily 7"
"--keep-weekly 4"
"--keep-monthly 12"
"--keep-yearly 10"
];
};
}