server10: remove znapsend

This commit is contained in:
Sandro - 2023-07-05 23:12:59 +02:00
parent 55555559c4
commit 888888e271
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 0 additions and 28 deletions

View File

@ -4,7 +4,6 @@
imports = [
./hardware-configuration.nix
./microvm-staging.nix
./znapzend.nix
];
c3d2 = {

View File

@ -1,27 +0,0 @@
# Quick full backups of all service MicroVM datasets.
# server10 runs services, server8+9 have the storage.
{
services.znapzend = {
enable = true;
logLevel = "info";
autoCreation = true;
# override preexisting zetups
pure = true;
zetup = {
"server10/vm" = {
recursive = true;
# keep a day of hourly snapshots locally on server10
plan = "24h => 1h";
destinations = {
server8 = rec {
dataset = "server8_hdd/backups/server10/vm";
host = "server8.cluster.zentralwerk.org";
plan = "2h => 1h, 7d => 24h";
# just always work
presend = "ssh-keygen -F ${host} >/dev/null || ssh-keyscan ${host} >> .ssh/known_hosts";
};
};
};
};
};
}