Fixing CI

This commit is contained in:
Marco Cetica 2023-03-14 11:21:45 +01:00
parent 4034b6f887
commit 14d8d67d62
No known key found for this signature in database
GPG Key ID: 0EE8E2CF315D6F8E

View File

@ -93,9 +93,9 @@ make_backup() {
# Compress and encrypt backup directory # Compress and encrypt backup directory
echo "Compressing and encrypting backup..." echo "Compressing and encrypting backup..."
tar -cz -C $BACKUP_SH_OUTPATH $BACKUP_SH_FOLDER | \ tar -cz -C "$BACKUP_SH_OUTPATH" $BACKUP_SH_FOLDER | \
openssl enc -aes-256-cbc -md sha512 -pbkdf2 -iter 100000 -salt -k "$BACKUP_SH_PASS" \ openssl enc -aes-256-cbc -md sha512 -pbkdf2 -iter 100000 -salt -k "$BACKUP_SH_PASS" \
> $BACKUP_SH_OUTPATH/"backup-$(uname -n)-$BACKUP_SH_DATE.tar.gz.enc" > "$BACKUP_SH_OUTPATH"/"backup-$(uname -n)-$BACKUP_SH_DATE.tar.gz.enc"
# Remove temporary files # Remove temporary files
rm -rf "$BACKUP_SH_OUTPUT" rm -rf "$BACKUP_SH_OUTPUT"