
IBM DB2 9.7 Advanced Administration Cookbook

A redirected restore allows you to restore a database to a different physical location than its original location. For example, a software supplier provides you with a database for test or demo purposes. The drawback is they don't follow the same file naming conventions and don't store the files in the same directories.
Let's take an example from a real-life situation; I changed the names to preserve confidentiality for this site.
List the table spaces and containers from the source databases, and map the containers to their respective destinations for the new database. All the commands have to be issued in the same window or CLP session.
List source tablespace and containers:
List the table spaces and containers from the source databases, and map the containers to their respective destination for the new database.
connect to marcustrn; list tablespaces show detail; list tablespace containers for 0; list tablespace containers for 1; list tablespace...
Change the font size
Change margin width
Change background colour