diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-01-25 16:40:04 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-25 00:04:43 +0200 |
commit | f339c9da752bf6d237b8295cd172c046c701ea9e (patch) | |
tree | 8c9bf8aad6687926b2973e971a09851901169330 /modules/rsync_backup | |
parent | d7b841cdf5deb7485ba7e57376c59475aa608d2c (diff) | |
download | NUR-f339c9da752bf6d237b8295cd172c046c701ea9e.tar.gz NUR-f339c9da752bf6d237b8295cd172c046c701ea9e.tar.zst NUR-f339c9da752bf6d237b8295cd172c046c701ea9e.zip |
Fix rsync compression
Diffstat (limited to 'modules/rsync_backup')
-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 \\"}${ |