diff options
author | tv <tv@krebsco.de> | 2016-01-05 21:47:55 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-01-05 21:47:55 +0100 |
commit | d6dcc7972d0a86f6de09558cf93f35f4cdd6d3a4 (patch) | |
tree | 7a2a4a12a6cd7712071fd4dc058cc244f6238cac /tv/2configs | |
parent | c44c38ccc854d0a0f0bf08ae46d4f42f31fcced1 (diff) |
krebs.backup.plans.*.{snapshots,startAt} += default
Diffstat (limited to 'tv/2configs')
-rw-r--r-- | tv/2configs/backup.nix | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tv/2configs/backup.nix b/tv/2configs/backup.nix index 51d3bb8..4b31bc8 100644 --- a/tv/2configs/backup.nix +++ b/tv/2configs/backup.nix @@ -4,20 +4,8 @@ with lib; krebs.backup.plans = addNames { xu-test-cd = { method = "push"; - src = { host = config.krebs.hosts.xu; path = "/tmp/xu-test"; }; dst = { host = config.krebs.hosts.cd; path = "/tmp/backups/xu-test"; }; - - #startAt = "0,6,12,18:00"; - startAt = "minutely"; - snapshots = { - minutely = { format = "%Y-%m-%dT%H:%M"; retain = 5; }; - hourly = { format = "%Y-%m-%dT%H"; retain = 4; }; - daily = { format = "%Y-%m-%d"; retain = 7; }; - weekly = { format = "%YW%W"; retain = 4; }; - monthly = { format = "%Y-%m"; retain = 12; }; - yearly = { format = "%Y"; }; - }; }; #xu-test-wu = { # method = "push"; @@ -27,15 +15,6 @@ with lib; method = "pull"; src = { host = config.krebs.hosts.cd; path = "/tmp/cd-test"; }; dst = { host = config.krebs.hosts.xu; path = "/tmp/backups/cd-test"; }; - startAt = "minutely"; - snapshots = { - minutely = { format = "%Y-%m-%dT%H:%M"; retain = 5; }; - hourly = { format = "%Y-%m-%dT%H"; retain = 4; }; - daily = { format = "%Y-%m-%d"; retain = 7; }; - weekly = { format = "%YW%W"; retain = 4; }; - monthly = { format = "%Y-%m"; retain = 12; }; - yearly = { format = "%Y"; }; - }; }; }; |