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)"
|
[ -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
|
||||||
|
@ -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;
|
||||||
|
Reference in New Issue
Block a user