summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorIrina Gómez <irinagomez@us.es>2020-08-10 11:04:05 +0200
committerIrina Gómez <irinagomez@us.es>2020-08-10 11:04:05 +0200
commit179e1b1d53ef3d6c964af445c66d423e56cf76c1 (patch)
treeff08b932d47d47d85ca96bfbaf72213e979cd2a1 /installer
parent974f0898d52fbe24b70f53072e9ee1fd4b0f1f29 (diff)
#997 #755 opengnsys_export: database dump does not export tablespaces due to mysql 5.7.31 compatibility (no tablespaces used).
Diffstat (limited to 'installer')
-rwxr-xr-xinstaller/opengnsys_export.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/installer/opengnsys_export.sh b/installer/opengnsys_export.sh
index e0f6959c..67ad008e 100755
--- a/installer/opengnsys_export.sh
+++ b/installer/opengnsys_export.sh
@@ -17,6 +17,8 @@
#@date 2018-02-14
#@version 1.1.1 - Incluye scripts personalizados (*Custom)
#@date 2019-07-25
+#@version 1.2.0 - mysqldump no exporta los tablespaces por compatibilidad con mysql 5.7.31 (no los usamos).
+#@date 2020-08-10
#*/ ##
# Variables globales.
@@ -83,7 +85,7 @@ user=$USUARIO
password=$PASSWORD
EOT
-mysqldump --defaults-extra-file=$MYCNF --opt $CATALOG > $MYSQLFILE
+mysqldump --defaults-extra-file=$MYCNF --opt --no-tablespaces $CATALOG > $MYSQLFILE
chmod 400 $MYSQLFILE
# Borrar fichero temporal