From ae7ae956d0ac47c36f02c62627094e8358e724d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 24 Mar 2017 21:26:37 +0100 Subject: Rsync don't cross file system boundaries --- local/bin/system-backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'local') diff --git a/local/bin/system-backup b/local/bin/system-backup index afd57d4..dfa2c09 100755 --- a/local/bin/system-backup +++ b/local/bin/system-backup @@ -44,7 +44,7 @@ mount $MARGS "$PART" "$MPATH" || (echo Mount failed && exit -3) # Do backup while read -r DIR; do echo -e "\e[1;33mBacking up: $DIR\e[0m" - rsync -aAXS --delete --progress "$DIR" "$MPATH"/@"$MNAME"/ || [ $? -eq 24 ] + rsync -aAxXS --delete --progress "$DIR" "$MPATH"/@"$MNAME"/ || [ $? -eq 24 ] # We ignore exit code if rsync detects vanished source file done <<< "$DIRS" -- cgit v1.2.3