use backup module on chunk
This commit is contained in:
parent
f23cc43287
commit
b5f231ac01
3 changed files with 21 additions and 65 deletions
20
hosts/chunk/backup.nix
Normal file
20
hosts/chunk/backup.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
my.backup = {
|
||||
enable = true;
|
||||
jobName = "crashRsync";
|
||||
paths = [
|
||||
"/vw-data"
|
||||
];
|
||||
exclude = [
|
||||
# podman stuff
|
||||
"/var/lib/containers"
|
||||
];
|
||||
repo = "crash";
|
||||
passFile = config.sops.secrets."borg/rsyncnet".path;
|
||||
sshKeyFile = config.sops.secrets."rsyncnet/id_ed25519".path;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue