Allow setting of global rsync command and rsync args
This adds a new config file which allows setting the command to use for 'rsync' and global options for that command. This is motivated by the need to use an alternative rsync command on Jammy machines, as the system one is too slow. The option for global rsync arguments was added as a way to add the '--trust-sender' flag to all backups to turn off certain checks that we suspect to be the cause of the slowdown, but it didn't help enough to fix the speed problem. Instead we are going to use our own package of an older rsync from before the checking code was added, which of course doesn't support --trust-sender so the global args are left blank.
Showing
- ROOT/DEBIAN/control 2 additions, 1 deletionROOT/DEBIAN/control
- ROOT/etc/chem-zfs-backup-server/zfs-rsync.d/global_config 4 additions, 0 deletionsROOT/etc/chem-zfs-backup-server/zfs-rsync.d/global_config
- ROOT/usr/lib/chem-zfs-backup-server/zfs-rsync.sh 9 additions, 2 deletionsROOT/usr/lib/chem-zfs-backup-server/zfs-rsync.sh
Loading
Please register or sign in to comment