Fixed mysql script filespace name
This commit is contained in:
parent
901d43cc7f
commit
5704d3a2f7
@ -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
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user