diff options
author | lassulus <lassulus@lassul.us> | 2022-01-06 13:52:10 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-01-06 13:52:10 +0100 |
commit | c5e8c95f684f6c7588bc3bca3a6307dcb4658c1c (patch) | |
tree | 365c5ebf26a9f8b515abe413bed0b130d3572497 /krebs/3modules/backup.nix | |
parent | deda4c978956e39c3b6345e5ef5604b2bc020e00 (diff) | |
parent | 63e76e4218339c87d8df5fd1712a5be0e17a33cd (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'krebs/3modules/backup.nix')
-rw-r--r-- | krebs/3modules/backup.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/krebs/3modules/backup.nix b/krebs/3modules/backup.nix index c5cb1cae6..4a88582a2 100644 --- a/krebs/3modules/backup.nix +++ b/krebs/3modules/backup.nix @@ -157,7 +157,8 @@ let # of the deepest directory: # shellcheck disable=SC2174 ${local.rsync} >&2 \ - -aAXF --delete \ + -aAX --delete \ + --filter='dir-merge /.backup-filter' \ --rsh=${shell.escape ssh} \ --rsync-path=${shell.escape remote.rsync} \ --link-dest=${shell.escape plan.dst.path}/current \ @@ -191,7 +192,8 @@ let echo >&2 "create snapshot: $ns/$name" mkdir -m 0700 -p "$dst_path/$ns" rsync >&2 \ - -aAXF --delete \ + -aAX --delete \ + --filter='dir-merge /.backup-filter' \ --link-dest="$dst_path/current" \ "$dst_path/current/" \ "$dst_path/$ns/.partial.$name" |