We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f5017b commit 1915b63Copy full SHA for 1915b63
backup_rotation.sh
@@ -347,8 +347,9 @@ if [ ! $PERFORM_SQL_BACKUP -eq 0 ]; then
347
348
echo "Compress sql backup.."
349
350
- # Compress tables and files
351
- tar -cjf $TMP_DIR/backup.incoming/$backup_filename $TMP_DIR/backup.incoming/mysql_dump.sql
+ cd $TMP_DIR/backup.incoming
+ tar -cjf $backup_filename mysql_dump.sql
352
+
353
354
#clean sql file
355
rm $TMP_DIR/backup.incoming/mysql_dump.sql
0 commit comments