hosts/backup-4: remove rsnapshot service
This commit is contained in:
parent
bfa57cd723
commit
fcb15969e8
@ -18,23 +18,6 @@
|
|||||||
networking.defaultGateway6 = { address = "2001:638:904:ffcb::1"; interface = "ens18"; };
|
networking.defaultGateway6 = { address = "2001:638:904:ffcb::1"; interface = "ens18"; };
|
||||||
networking.nameservers = [ "2001:638:904:ffcc::3" "2001:638:904:ffcc::4" "141.24.40.3" "141.24.40.4" ];
|
networking.nameservers = [ "2001:638:904:ffcc::3" "2001:638:904:ffcc::4" "141.24.40.3" "141.24.40.4" ];
|
||||||
|
|
||||||
services.rsnapshot = {
|
|
||||||
enable = true;
|
|
||||||
extraConfig = ''
|
|
||||||
snapshot_root /mnt/backup-4/
|
|
||||||
rsync_short_args -rltD
|
|
||||||
retain alpha 14
|
|
||||||
ssh_args -o BatchMode=yes -o IdentityFile=/var/src/secrets/rsnapshot/id_rsa
|
|
||||||
backup backup-replication@clerie-backup.net.clerie.de:/clerie-backup-replication/ clerie-backup/
|
|
||||||
'';
|
|
||||||
# rsync_short_args
|
|
||||||
# -a -> -rlptgoD
|
|
||||||
# -rltD ist wie -a nur das alle Dateiberechtigungen und Besitzangabe ignoriert werden
|
|
||||||
cronIntervals = {
|
|
||||||
alpha = "15 6 * * * ";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
clerie.monitoring = {
|
clerie.monitoring = {
|
||||||
enable = true;
|
enable = true;
|
||||||
id = "205";
|
id = "205";
|
||||||
|
Loading…
Reference in New Issue
Block a user