tweaking rsync opts
This commit is contained in:
parent
1b1bf2dc37
commit
c07c8a92c2
@ -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 * * * ";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user