summaryrefslogtreecommitdiffstats
path: root/tv/2configs/backup.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-17 17:30:39 +0100
committertv <tv@krebsco.de>2016-02-17 17:30:39 +0100
commitd71a8863ac10f34bfe30f950f32bbf57427e2ca7 (patch)
tree375aa9d368b4549fc7281bfb578f669f4edfd605 /tv/2configs/backup.nix
parent468f294635523a39eaf1a6794571948066b63a1c (diff)
tv krebs.backup.plans.nomic-home-xu: init
Diffstat (limited to 'tv/2configs/backup.nix')
-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 641e2d586..decd8b286 100644
--- a/tv/2configs/backup.nix
+++ b/tv/2configs/backup.nix
@@ -2,6 +2,18 @@
with config.krebs.lib;
{
krebs.backup.plans = {
+ nomic-home-xu = {
+ method = "push";
+ src = { host = config.krebs.hosts.nomic; path = "/home"; };
+ dst = { host = config.krebs.hosts.xu; path = "/bku/nomic-home"; };
+ startAt = "05:00";
+ snapshots = {
+ daily = { format = "%Y-%m-%d"; retain = 7; };
+ weekly = { format = "%YW%W"; retain = 4; };
+ monthly = { format = "%Y-%m"; retain = 12; };
+ yearly = { format = "%Y"; };
+ };
+ };
wu-home-xu = {
method = "push";
src = { host = config.krebs.hosts.wu; path = "/home"; };