From 5704d3a2f73719498153ecf05067853c4daf4460 Mon Sep 17 00:00:00 2001 From: Deon George Date: Tue, 26 Aug 2014 00:28:50 +1000 Subject: [PATCH] Fixed mysql script filespace name --- scripts/tdp.mysql.restore.sh | 2 +- scripts/tdp.mysql.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tdp.mysql.restore.sh b/scripts/tdp.mysql.restore.sh index ed762ad..442bf24 100755 --- a/scripts/tdp.mysql.restore.sh +++ b/scripts/tdp.mysql.restore.sh @@ -68,7 +68,7 @@ for db in $DB; do [ -n "$DEBUG" ] && echo "Processing DB ($db)" # Restore from TSM - tsmpipe -Bxs ${FILESPACE}/{$db} -f FULL ${TSMPIPE_ARGS} | mysql ${MYSQL_AUTH} ${db} + tsmpipe -Bxs ${FILESPACE}/${db} -f FULL ${TSMPIPE_ARGS} | mysql ${MYSQL_AUTH} ${db} done; IFS=$OLDIFS diff --git a/scripts/tdp.mysql.sh b/scripts/tdp.mysql.sh index 64254f9..be71460 100755 --- a/scripts/tdp.mysql.sh +++ b/scripts/tdp.mysql.sh @@ -105,5 +105,5 @@ listdb | while read db; do [ -n "$DEBUG" ] && echo "Processing DB ($db), with size ($size)" # Backup to TSM - mysqldump ${MYSQL_AUTH} ${MYSQL_ARGS} $db| tsmpipe -Bcs ${FILESPACE}/{$db} -f FULL -L ${size} ${TSMPIPE_ARGS} + mysqldump ${MYSQL_AUTH} ${MYSQL_ARGS} $db| tsmpipe -Bcs ${FILESPACE}/${db} -f FULL -L ${size} ${TSMPIPE_ARGS} done;