diff --git a/backup.sh b/backup.sh index d257c63..c46dba4 100755 --- a/backup.sh +++ b/backup.sh @@ -98,7 +98,7 @@ make_backup() { # Compress backup directory echo "Compressing backup..." tar -czf "$BACKUP_SH_OUTPATH/backup.sh.tar.gz" \ - -C "$BACKUP_SH_OUTPUT/" . > /dev/null 2>&1 + -C "$BACKUP_SH_OUTPATH" "$BACKUP_SH_FOLDER" > /dev/null 2>&1 # Encrypt backup directory echo "Encrypting backup..."