Product Documentation

Database Administrator's Guide

Previous Topic

Next Topic

!REDIRECT <old path> <new path>

Default: no redirect

Redirect output dumped from the old path into the new path. See Define Alternative Restore Destinations (Restore To Redirected Destination, Restore To Redirected Destination) for more information.

It is frequently required to redirect all files in the backup to a new location. When <entirepath> is used as the first path name in the !REDIRECT option all directory names will be redirected to the specified directory name. The new directory name can be a full or a relative path.


Using this option in a dynamic dump restore script will cause all files to be restored to the directory C:myrestoredir:

!REDIRECT <entirepath> C:myrestoredir