Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion start-backup-from-all-databases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ FILEPATH=$FOLDER_PATH/$FILENAME

# create a dump from all database
echo "*** START DUMP DATABASE"
mysqldump --quick --single-transaction --column-statistics=0 --verbose --all-databases | gzip > $FILEPATH
mysqldump --quick --single-transaction --column-statistics=0 --verbose --all-databases --skip-lock-tables | gzip > $FILEPATH

echo 'backup db --> '$(date +%Y%m%d-%H:%M:%S)' --> finish' >> $BUSY
NOTIF+="🆗 $(date +%M:%S) <code>DB Backup</code>%0A"
Expand Down
2 changes: 1 addition & 1 deletion sync-changes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ echo 'sync --> '$(date +%Y%m%d-%H:%M:%S)' --> start' >> $BUSY
BACKUP_FROM=$(pwd)/../

#define remote server path
TARGET_FOLDER=/jib-backup/$server_name/
TARGET_FOLDER=/backup/$server_name/
TARGET_PATH=/home$TARGET_FOLDER


Expand Down