Skip to content

Commit

Permalink
vor local replication
Browse files Browse the repository at this point in the history
  • Loading branch information
Bradley Nelson committed Nov 28, 2023
1 parent 1cb74d8 commit 733bb2a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions nixos/vor/backups.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,21 @@ _:
enable = true;
datasets = {
"liveData/NelsonData" = {
hourly = 72;
daily = 31;
weekly = 26;
monthly = 12;
yearly = 5;
useTemplate = [ "common" ];
};
"vault/Backups/Nelson Family Data" = {
hourly = 72;
daily = 31;
weekly = 52;
monthly = 24;
yearly = 10;
useTemplate = [ "common" ];
autosnap = false;
};
};
templates = {
Expand All @@ -20,4 +29,13 @@ _:
};
};
};
services.syncoid = {
enable = true;
commands = {
"liveData/NelsonData Local Backup" = {
source = "liveData/NelsonData";
target = "vault/Backups/Nelson Family Data";
};
};
};
}

0 comments on commit 733bb2a

Please sign in to comment.