Commit 8ee98c33 authored by Colan Schwartz's avatar Colan Schwartz

Made the date format human-readable in the DB backup script.

parent 3b1eb42f
......@@ -43,8 +43,8 @@ set -u
$MKDIR -p $BACKUP_DIR
# Set the current timestamp and file targets.
DATE=$(date "+%y%m%d%H%M")
DST_BASE="$BACKUP_DIR/$1-$DATE.sql"
DATE=$(date "+%FT%T")
DST_BASE="$BACKUP_DIR/$1.$DATE.sql"
DST_FILE="$DST_BASE.gz"
LINK_TARGET="$BACKUP_DIR/$1-LATEST.sql.gz"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment