haumea: send snapshots to ogden
Graham Christensen committed
Feb 18, 2020 at 21:02 UTC
667333c7ccf39dd71bc5a5682c442eefa2a9994c
1 file changed
+19
delft/haumea.nix
+19
@@ -148,4 +148,23 @@
148
firewallFilter = "-i wg0 -p tcp -m tcp --dport 9187";
149
openFirewall = true;
150
};
151
+
152
+ services.znapzend = {
153
+ enable = true;
154
+ autoCreation = true;
155
+ pure = true;
156
+ zetup = {
157
+ "rpool/safe" = {
158
+ enable = true;
159
+ plan = "15min=>5min,1hour=>15min,1day=>1hour,4day=>1day,3week=>1week";
160
+ recursive = true;
161
+ timestampFormat = "%Y-%m-%dT%H%M%SZ";
162
+ destinations.ogden = {
163
+ plan = "1hour=>5min,4day=>1hour,1week=>1day,1year=>1week,10year=>1month";
164
+ host = "hydraexport@lord-nibbler.gsc.io";
165
+ dataset = "rpool/backups/nixos.org/haumea/safe";
166
+ };
167
+ };
168
+ };
169
+ };
170
}