You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: backup.sh
+2-3
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,7 @@ do
32
32
BASIC_OPTS="--single-transaction"
33
33
if [ -n"$REMOVE_DUPLICATES" ]
34
34
then
35
-
echo"WARNING: disabling comments in backup to remove deuplicate backups. Automatic database name detection won't work so set MYSQL_DATABASE on restore"
36
-
BASIC_OPTS="$BASIC_OPTS" --skip-comments
35
+
BASIC_OPTS="$BASIC_OPTS --skip-dump-date"
37
36
fi
38
37
if mysqldump $BASIC_OPTS$MYSQLDUMP_OPTS -h "$MYSQL_HOST" -P "$MYSQL_PORT" -u "$MYSQL_USER" -p"$MYSQL_PASS"$MYSQL_SSL_OPTS"$db">"$FILENAME"
39
38
then
@@ -52,7 +51,7 @@ do
52
51
cd /backup ||exit&& ln -s "$BASENAME""$(basename "$LATEST")"
0 commit comments