Compare commits

..

No commits in common. "1f8869b3d6aed4acdbd9cab0b3312c9f5348fc08" and "13a59c4657fae3b61cde22e3ae51c2122271c566" have entirely different histories.

2 changed files with 13 additions and 38 deletions

View File

@ -31,19 +31,4 @@
"force user" = "coace"; "force user" = "coace";
}; };
}; };
# ZFS automatic backup solution
services.znapzend = {
enable = true;
pure = true;
zetup."vault" = {
plan = "1h=>10min,1d=>1h,1w=>1d,1m=>1w,1y=>1m";
recursive = true;
destinations.backup = {
host = "10.0.1.4";
dataset = "shield/unit";
plan = "1w=>1d,1m=>1w,1y=>1m";
};
};
};
} }

View File

@ -42,8 +42,8 @@
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/vault/backups" = { fileSystems."/vault/samba" = {
device = "vault/backups"; device = "vault/samba";
fsType = "zfs"; fsType = "zfs";
}; };
@ -52,28 +52,13 @@
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/vault/config" = {
device = "vault/config";
fsType = "zfs";
};
fileSystems."/vault/samba" = {
device = "vault/samba";
fsType = "zfs";
};
fileSystems."/vault/code" = {
device = "vault/code";
fsType = "zfs";
};
fileSystems."/vault/VMs/legacy" = { fileSystems."/vault/VMs/legacy" = {
device = "vault/VMs/legacy"; device = "vault/VMs/legacy";
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/vault/backups/databases" = { fileSystems."/vault/backups" = {
device = "vault/backups/databases"; device = "vault/backups";
fsType = "zfs"; fsType = "zfs";
}; };
@ -82,13 +67,18 @@
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/vault/backups/documents" = { fileSystems."/vault/backups/databases" = {
device = "vault/backups/documents"; device = "vault/backups/databases";
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/vault/backups/frontend" = { fileSystems."/vault/code" = {
device = "vault/backups/frontend"; device = "vault/code";
fsType = "zfs";
};
fileSystems."/vault/config" = {
device = "vault/config";
fsType = "zfs"; fsType = "zfs";
}; };