summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-08 00:25:35 +0100
committertv <tv@krebsco.de>2016-02-08 00:25:35 +0100
commit5a10c4beb56d052b816682058becedf7b8eacaaa (patch)
tree5fbe782ac81d93e09be382cf9144cb6746ae1488 /tv
parent8a1ddc5e9b8012b141c3b5e997d44acb70e1f17f (diff)
tv backup: xu:/home → wu:/bku/xu-home @ 06:00
Diffstat (limited to 'tv')
-rw-r--r--tv/2configs/backup.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/tv/2configs/backup.nix b/tv/2configs/backup.nix
index f4d368557..6c90709a8 100644
--- a/tv/2configs/backup.nix
+++ b/tv/2configs/backup.nix
@@ -14,5 +14,17 @@ with lib;
yearly = { format = "%Y"; };
};
};
+ xu-home-wu = {
+ method = "push";
+ src = { host = config.krebs.hosts.xu; path = "/home"; };
+ dst = { host = config.krebs.hosts.wu; path = "/bku/xu-home"; };
+ startAt = "06:00";
+ snapshots = {
+ daily = { format = "%Y-%m-%d"; retain = 7; };
+ weekly = { format = "%YW%W"; retain = 4; };
+ monthly = { format = "%Y-%m"; retain = 12; };
+ yearly = { format = "%Y"; };
+ };
+ };
};
}