Compare commits
No commits in common. "1f8869b3d6aed4acdbd9cab0b3312c9f5348fc08" and "13a59c4657fae3b61cde22e3ae51c2122271c566" have entirely different histories.
1f8869b3d6
...
13a59c4657
|
@ -31,19 +31,4 @@
|
|||
"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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -42,8 +42,8 @@
|
|||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/vault/backups" = {
|
||||
device = "vault/backups";
|
||||
fileSystems."/vault/samba" = {
|
||||
device = "vault/samba";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
|
@ -52,28 +52,13 @@
|
|||
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" = {
|
||||
device = "vault/VMs/legacy";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/vault/backups/databases" = {
|
||||
device = "vault/backups/databases";
|
||||
fileSystems."/vault/backups" = {
|
||||
device = "vault/backups";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
|
@ -82,13 +67,18 @@
|
|||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/vault/backups/documents" = {
|
||||
device = "vault/backups/documents";
|
||||
fileSystems."/vault/backups/databases" = {
|
||||
device = "vault/backups/databases";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/vault/backups/frontend" = {
|
||||
device = "vault/backups/frontend";
|
||||
fileSystems."/vault/code" = {
|
||||
device = "vault/code";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/vault/config" = {
|
||||
device = "vault/config";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue