diff options
author | 2018-03-28 18:10:31 +0000 | |
---|---|---|
committer | 2018-03-28 18:10:31 +0000 | |
commit | 95a5bc9816c0bdf56b4ea6699004eb29940ddc6a (patch) | |
tree | ae77669442e877457c4bc3ff9a49b426bcd39742 /packages/base/src/files/install/mysql/bin/db_backup_data.sh | |
parent | cb802d83533ff13886f08b6b9ecb8827bb86d90c (diff) | |
parent | 5cd57949604803a32bd3a19c183eadf11f0ab900 (diff) |
Merge "ONAP code change for log files consolidation"
Diffstat (limited to 'packages/base/src/files/install/mysql/bin/db_backup_data.sh')
-rw-r--r-- | packages/base/src/files/install/mysql/bin/db_backup_data.sh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/packages/base/src/files/install/mysql/bin/db_backup_data.sh b/packages/base/src/files/install/mysql/bin/db_backup_data.sh index b77885e7d..ee0b44732 100644 --- a/packages/base/src/files/install/mysql/bin/db_backup_data.sh +++ b/packages/base/src/files/install/mysql/bin/db_backup_data.sh @@ -63,12 +63,8 @@ function backup_database # MAIN -if [ -z ${POLICY_LOGS} ]; then - POLICY_LOGS=/var/log/onap -fi -mkdir -p $POLICY_LOGS/onap/policy/db -LOG=$POLICY_LOGS/policy/db/db_backup_data_$DATE.log -ERR=$POLICY_LOGS/policy/db/db_backup_data_$DATE.err +LOG=$POLICY_HOME/logs/db_backup_data_$DATE.log +ERR=$POLICY_HOME/logs/db_backup_data_$DATE.err echo "db_backup_data.sh started ... `date`" | tee -a $LOG if [ $# -eq 3 ]; then DB_USER="${1}" |