diff options
Diffstat (limited to 'modules/rsync_backup/default.nix')
-rw-r--r-- | modules/rsync_backup/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rsync_backup/default.nix b/modules/rsync_backup/default.nix index a2ef0fdc..55b32bfa 100644 --- a/modules/rsync_backup/default.nix +++ b/modules/rsync_backup/default.nix | |||
@@ -168,7 +168,7 @@ let | |||
168 | EOF | 168 | EOF |
169 | 169 | ||
170 | OUT=$RSYNC_OUTPUT/$LOCAL | 170 | OUT=$RSYNC_OUTPUT/$LOCAL |
171 | ${pkgs.rsync}/bin/rsync -XAavbrz --fake-super -e "ssh -o UserKnownHostsFile=/dev/null -o CheckHostIP=no -i ${ssh_key} -p $PORT" --numeric-ids --delete \ | 171 | ${pkgs.rsync}/bin/rsync --new-compress -XAavbr --fake-super -e "ssh -o UserKnownHostsFile=/dev/null -o CheckHostIP=no -i ${ssh_key} -p $PORT" --numeric-ids --delete \ |
172 | --backup-dir=$BAK_BASE/$LOCAL \${ | 172 | --backup-dir=$BAK_BASE/$LOCAL \${ |
173 | lib.optionalString (part.args != null) "\n ${part.args} \\"}${ | 173 | lib.optionalString (part.args != null) "\n ${part.args} \\"}${ |
174 | lib.optionalString (builtins.length part.exclude_from > 0) "\n --exclude-from=$EXCL_FROM \\"}${ | 174 | lib.optionalString (builtins.length part.exclude_from > 0) "\n --exclude-from=$EXCL_FROM \\"}${ |