Chapter 7. Dropped object recovery 187
PROMPTING ROLLFORWARD DATABASE (database name) TO END OF LOGS AND
STOP
If you want to redirect the table space containers, you need to add this into the
restore script that you use, specifying the new path for each container using the
DB2 command line.
In addition, if you need to roll-forward using the DB2 logs (archived by the user
exit), you need to manually bring back the logs to the log directory.
Following is a typical redirected restore scenario for a database whose alias is
SAMPLE:
1. Issue a RESTORE DATABASE command with the REDIRECT option:
db2 restore db sample replace existing redirect
2. Issue a SET TABLESPACE CONTAINERS command for each table space
whose containers must be redefined. For e ...