Commit ed83575d authored by root's avatar root
Browse files

changed the default backup file root name to be based on the actual database...

changed the default backup file root name to be based on the actual database name defined for the container
parent ef6958a3
......@@ -15,7 +15,7 @@ BU_TO_KEEP_WEEKLY=4
BU_TO_KEEP_MONTHLY=12
BU_TO_KEEP_YEARLY=7
#
BU_FROOT=alldbs
#BU_FROOT=alldbs
BU_FROOT_HOURLY=hourly
BU_FROOT_DAILY=daily
BU_FROOT_WEEKLY=weekly
......@@ -211,6 +211,9 @@ cd $DC_DIR
#
# a timestamp for logging purposes
STAMP=`date '+%Y-%m-%d_%H-%M-%S'`
#
# set the root based on the name of the database...
BU_FROOT="$(get_value $DC_DB_NAME_VAR $DC_FILE)"
#
# generate the filename
INC="BU_FROOT_$TASK"
......
Supports Markdown
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