Fixed mysql script filespace name

This commit is contained in:
Deon George 2014-08-26 00:28:50 +10:00
parent 901d43cc7f
commit 5704d3a2f7
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ for db in $DB; do
[ -n "$DEBUG" ] && echo "Processing DB ($db)" [ -n "$DEBUG" ] && echo "Processing DB ($db)"
# Restore from TSM # 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; done;
IFS=$OLDIFS IFS=$OLDIFS

View File

@ -105,5 +105,5 @@ listdb | while read db; do
[ -n "$DEBUG" ] && echo "Processing DB ($db), with size ($size)" [ -n "$DEBUG" ] && echo "Processing DB ($db), with size ($size)"
# Backup to TSM # 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; done;