1
0
Fork 0

tweaking rsync opts

This commit is contained in:
clerie 2021-04-11 17:37:27 +02:00
parent 1b1bf2dc37
commit c07c8a92c2
1 changed files with 6 additions and 2 deletions

View File

@ -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 * * * ";
};
};