From c07c8a92c2224b725556a845e05df830c0aa2543 Mon Sep 17 00:00:00 2001 From: clerie Date: Sun, 11 Apr 2021 17:37:27 +0200 Subject: [PATCH] tweaking rsync opts --- hosts/backup-4/configuration.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hosts/backup-4/configuration.nix b/hosts/backup-4/configuration.nix index 7b693ee..580a714 100644 --- a/hosts/backup-4/configuration.nix +++ b/hosts/backup-4/configuration.nix @@ -23,12 +23,16 @@ enable = true; extraConfig = '' snapshot_root /mnt/backup-4/ - retain daily 14 + 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 = { - daily = "15 6 * * * "; + alpha = "15 6 * * * "; }; };