Restoring Data

The DFS Backup System provides the following commands for restoring data to the file system in different situations:

bak restoreft
Useful for restoring individual filesets. For example, if a single fileset becomes corrupted or is accidentally deleted, you can use this command to restore the fileset.

bak restoredisk
Useful for restoring all of the filesets that reside on an aggregate. For example, if a hardware failure corrupts the partition that houses an aggregate, you can use this command to restore all of the filesets that reside on the aggregate.

bak restoreftfamily
Useful for restoring all of the filesets that reside on multiple aggregates or multiple File Server machines. For example, if a catastrophic system failure corrupts all of the data on a group of File Server machines, you can use this command to restore all of the filesets that reside on the machines.

You can use these commands to restore data to a file system that is different from the file system from which the data was dumped. For instance, data dumped from a DCE LFS fileset can be restored to a DCE LFS fileset or to any type of non-LFS fileset. Similarly, data dumped from a non-LFS fileset can be restored to a DCE LFS fileset or to a different type of non-LFS fileset. (See your vendor's documentation to verify the level of support for dump and restore operations between different types of file systems.)

Restored data is translated into the appropriate format for the file system to which it is restored. Note that incompatible information may be lost when a fileset is dumped and restored between different types of file system. For example, ACLs on objects in a DCE LFS fileset may be lost if the fileset is restored to a file system that does not support ACLs.

The commands that restore data determine the tapes and dumps they need before they begin a restore operation. The commands then prompt for a given tape only once during a restore operation. Before performing a restore operation, you can direct these commands to list the tapes needed to complete the operation. This allows you to locate and assemble the proper tapes before actually issuing the command. To view the list of required tapes, include -noaction option with the command along with any other options you intend to use.

Note: If you have equipment that can automatically retrieve tapes, you can use a user-defined configuration file to override the prompts to mount a particular tape. You can also create executable routines to automatically retrieve the required tapes. See Configuring the Backup System for details.

The -noaction option of the bak restoreftfamily command provides additional information, such as the filesets that were dumped to tape and the sites to which the filesets would be restored. You can use the command's -noaction and -family options to generate information about all of the filesets in a fileset family. You can write the information to a file and then modify the file for use with the command's -file option. See the topic entitled Restoring Many Filesets with the bak restoreftfamily Command for information about using the bak restoreftfamily command.

Note: If a restore operation is interrupted or fails for any reason, you cannot be sure that any fileset is complete in the file system; immediately restart the operation. If you do not, the file system may contain inconsistent information, which can result in problems in the future.

More:

Specifying the Type and Destination of a Restore Operation

Restoring Individual Filesets

Restoring an Aggregate with the bak restoredisk Command

Restoring Many Filesets with the bak restoreftfamily Command