Skip to content
Snippets Groups Projects
Commit ddc45772 authored by Daniel's avatar Daniel
Browse files

MAINT: Formatting.

parent f5b06149
Branches
Tags
No related merge requests found
......@@ -72,13 +72,14 @@ function backup() {
NARG_FILE="$2"
shift 2
echo $MYSQLDUMP_CMD
# parameters: connection, database, outfile
if [ -e "$NARG_FILE" ]; then
failure "dumpfile already exists."
fi
# parameters: connection, database, outfile
if [ -e "$NARG_FILE" ]; then
failure "dumpfile already exists."
fi
echo "Dumping database $NARG_NAME to $NARG_FILE ... "
$CMD_MYSQL_DUMP $MYSQL_CONNECTION_NO_DB $* --opt --default-character-set=utf8 --routines $NARG_NAME > $NARG_FILE
success
$CMD_MYSQL_DUMP $MYSQL_CONNECTION_NO_DB $* --opt --default-character-set=utf8 --routines \
$NARG_NAME > $NARG_FILE
success
}
# Prints a YAML failure message, if YAML is true.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment