changed the default backup file root name to be based on the actual database name defined for the container
This commit is contained in:
parent
ef6958a3b9
commit
ed83575dec
1 changed files with 4 additions and 1 deletions
|
@ -15,7 +15,7 @@ BU_TO_KEEP_WEEKLY=4
|
||||||
BU_TO_KEEP_MONTHLY=12
|
BU_TO_KEEP_MONTHLY=12
|
||||||
BU_TO_KEEP_YEARLY=7
|
BU_TO_KEEP_YEARLY=7
|
||||||
#
|
#
|
||||||
BU_FROOT=alldbs
|
#BU_FROOT=alldbs
|
||||||
BU_FROOT_HOURLY=hourly
|
BU_FROOT_HOURLY=hourly
|
||||||
BU_FROOT_DAILY=daily
|
BU_FROOT_DAILY=daily
|
||||||
BU_FROOT_WEEKLY=weekly
|
BU_FROOT_WEEKLY=weekly
|
||||||
|
@ -212,6 +212,9 @@ cd $DC_DIR
|
||||||
# a timestamp for logging purposes
|
# a timestamp for logging purposes
|
||||||
STAMP=`date '+%Y-%m-%d_%H-%M-%S'`
|
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
|
# generate the filename
|
||||||
INC="BU_FROOT_$TASK"
|
INC="BU_FROOT_$TASK"
|
||||||
FILEPART=$BU_FROOT-${!INC}
|
FILEPART=$BU_FROOT-${!INC}
|
||||||
|
|
Loading…
Reference in a new issue