Skip to content
Snippets Groups Projects
Commit ab3a8bd0 authored by Konstantinos Samaras-Tsakiris's avatar Konstantinos Samaras-Tsakiris
Browse files

Merge branch 'sqldump-notables' into 'master'

parent 32afe0a9
No related branches found
No related tags found
1 merge request!110Merge branch 'sqldump-notables' into 'master'
......@@ -30,10 +30,12 @@
cd /app
# Database backup
# Need to add --extra-dump=--no-tablespaces to drush sql-dump to be compatible since MySQL 5.7
# https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-31.html#mysqld-5-7-31-security
if [[ ! -z "$FILEPATH" ]]; then
echo "Backing up database to $FILEPATH"
drush sql-dump > $FILEPATH
drush sql-dump --extra-dump=--no-tablespaces > $FILEPATH
else
echo "Backing up database to /drupal-data/$FILENAME"
drush sql-dump > /drupal-data/$FILENAME
drush sql-dump --extra-dump=--no-tablespaces > /drupal-data/$FILENAME
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment