Enable automatic ZFS backups to remote server

This commit is contained in:
coolneng 2021-04-06 15:12:21 +02:00
parent 1ca6c43c3d
commit 1f8869b3d6
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 15 additions and 0 deletions

View File

@ -31,4 +31,19 @@
"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";
};
};
};
}