summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
Diffstat (limited to 'tv')
-rw-r--r--tv/1systems/bu/disks.nix4
-rw-r--r--tv/2configs/backup.nix24
2 files changed, 28 insertions, 0 deletions
diff --git a/tv/1systems/bu/disks.nix b/tv/1systems/bu/disks.nix
index e634209f4..deabefa7b 100644
--- a/tv/1systems/bu/disks.nix
+++ b/tv/1systems/bu/disks.nix
@@ -4,6 +4,10 @@
device = "buda2/root";
fsType = "zfs";
};
+ fileSystems."/bku" = {
+ device = "buda2/bku";
+ fsType = "zfs";
+ };
fileSystems."/home" = {
device = "buda2/home";
fsType = "zfs";
diff --git a/tv/2configs/backup.nix b/tv/2configs/backup.nix
index b8dec8da4..a5e0cf4c7 100644
--- a/tv/2configs/backup.nix
+++ b/tv/2configs/backup.nix
@@ -10,6 +10,24 @@ with import <stockholm/lib>;
yearly = { format = "%Y"; };
};
}) {
+ bu-home-wu = {
+ method = "push";
+ src = { host = config.krebs.hosts.bu; path = "/home"; };
+ dst = { host = config.krebs.hosts.wu; path = "/bku/bu-home"; };
+ startAt = "05:15";
+ };
+ bu-home-xu = {
+ method = "push";
+ src = { host = config.krebs.hosts.bu; path = "/home"; };
+ dst = { host = config.krebs.hosts.xu; path = "/bku/bu-home"; };
+ startAt = "05:20";
+ };
+ bu-home-zu = {
+ method = "push";
+ src = { host = config.krebs.hosts.bu; path = "/home"; };
+ dst = { host = config.krebs.hosts.zu; path = "/bku/bu-home"; };
+ startAt = "05:25";
+ };
nomic-home-xu = {
method = "push";
src = { host = config.krebs.hosts.nomic; path = "/home"; };
@@ -40,6 +58,12 @@ with import <stockholm/lib>;
dst = { host = config.krebs.hosts.zu; path = "/bku/wu-home"; };
startAt = "05:20";
};
+ xu-home-bu = {
+ method = "push";
+ src = { host = config.krebs.hosts.xu; path = "/home"; };
+ dst = { host = config.krebs.hosts.bu; path = "/bku/xu-home"; };
+ startAt = "04:50";
+ };
xu-home-nomic = {
method = "push";
src = { host = config.krebs.hosts.xu; path = "/home"; };