Update 'Backup-Util.sh'

This commit is contained in:
Bram Prieshof
2021-06-02 11:31:26 +00:00
parent 18a3acb357
commit 3aa2944856

View File

@@ -124,7 +124,7 @@ if [ "$SNOTAR" != "1" ]; then
tar -zcf - $SITEDIR $SITEEF | openssl enc -e -aes256 -pass file:"$ScriptLocation"/key.bin -out /"$SITESENDDIR"/"$SITENAME"-Files.tar.gz #Create tar File
cp "$ScriptLocation"/key.bin.enc /"$SITESENDDIR"/"$SITENAME"-Files.key.enc
else
tar -zcf /"$SITESENDDIR"/"$SITENAME"-Files.tar.gz $SITEDIR $SITEEF
tar $tarextracmd -zcf /"$SITESENDDIR"/"$SITENAME"-Files.tar.gz $SITEDIR $SITEEF
fi
fi