X-Git-Url: https://git.sesse.net/?p=backup.sh;a=blobdiff_plain;f=output-encrypted-backup;fp=output-encrypted-backup;h=2eebb4e98e5d708bafe8cf32d05c34c2b8a802fb;hp=2c8f8359087079ba01907c8f04966b4469275778;hb=dba53aa821c653efee758654e7afd5667215b948;hpb=5a8a126a9a529a6dd91d5e9ae14f0dd9afffb61e diff --git a/output-encrypted-backup b/output-encrypted-backup index 2c8f835..2eebb4e 100644 --- a/output-encrypted-backup +++ b/output-encrypted-backup @@ -29,8 +29,8 @@ fi # Check if we have a valid date if echo "$LASTDATE" | /bin/grep -Eq '^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}$'; then - /usr/bin/nice -n 19 /usr/bin/ionice -c3 /bin/tar --ignore-failed-read --warning=no-file-changed --warning=no-file-ignored --one-file-system -c -C "$FILESYSTEM" --newer="$LASTDATE" --exclude-from="$EXCLUDEFROM" . | /usr/bin/pigz | /usr/bin/gpg --sign --encrypt --cipher-algo aes $GPG_RECIPIENTS + /usr/bin/nice -n 19 /usr/bin/ionice -c3 /bin/tar --ignore-failed-read --warning=no-file-changed --warning=no-file-ignored --one-file-system -c -C "$FILESYSTEM" --newer="$LASTDATE" --exclude-from="$EXCLUDEFROM" . | /usr/bin/pigz | /usr/bin/gpg --sign --encrypt --cipher-algo aes --compress-algo none $GPG_RECIPIENTS else - /usr/bin/nice -n 19 /usr/bin/ionice -c3 /bin/tar --ignore-failed-read --warning=no-file-changed --warning=no-file-ignored --one-file-system -c -C "$FILESYSTEM" --exclude-from="$EXCLUDEFROM" . | /usr/bin/pigz | /usr/bin/gpg --sign --encrypt --cipher-algo aes $GPG_RECIPIENTS + /usr/bin/nice -n 19 /usr/bin/ionice -c3 /bin/tar --ignore-failed-read --warning=no-file-changed --warning=no-file-ignored --one-file-system -c -C "$FILESYSTEM" --exclude-from="$EXCLUDEFROM" . | /usr/bin/pigz | /usr/bin/gpg --sign --encrypt --cipher-algo aes --compress-algo none $GPG_RECIPIENTS fi