1
0

tweaking rsync opts

This commit is contained in:
clerie 2021-04-11 17:37:27 +02:00
parent 1b1bf2dc37
commit c07c8a92c2

View File

@ -23,12 +23,16 @@
enable = true; enable = true;
extraConfig = '' extraConfig = ''
snapshot_root /mnt/backup-4/ 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 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/ 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 = { cronIntervals = {
daily = "15 6 * * * "; alpha = "15 6 * * * ";
}; };
}; };