Restoring a Fileset Family

To use the bak restorftfamily command to restore all of the filesets included in a fileset family, specify the name of the fileset family with the -family option. The command restores the filesets to the sites at which they currently exist.

You can specify the name of an existing fileset family or you can define anew fileset family and add entries that correspond to the filesets you need to restore. The command always reads the FLDB to determine all of the filesets that match the fields of the entries in a specified fileset family, so you can create a fileset family expressly for use with the command. Use the bak addftfamily and bak addftentry command to define a new fileset family for use with the bak restoreftfamily command. (See Configuring the Backup System for information about defining a fileset family.)

In fileset families created for use with the bak restoreftfamily command, define entries that match the read/write versions of filesets. The command automatically appends a .backup extension to the name of a fileset if it can find no record in the Backup Database of a backup performed for the read/write version. You can include a .backup extension to match the backup versions of filesets only if the backup versions were dumped to tape and the backup versions are still valid in the FLDB entries for the filesets.

To restore the filesets included in a fileset family, do the following:

1. If it is not already running, start the Tape Coordinator for the tape drive that you want to use with the operation. (See Starting a Tape Coordinator for information on using the butc command to start a Tape Coordinator.)

2. Verify that you are included in the appropriate administrative lists. If necessary, issue the bos lsadmin command to check.

3. At this point, you can issue the bak command at the system prompt to enter interactive mode. This is optional. (See Using the Interactive Interface for the advantages of interactive mode.) The command in the following step assumes that regular command mode is used, not interactive mode.

4. Issue the bak restoreftfamily command with the -family option, as follows

$ bak restoreftfamily -family fileset_family_name [-tcid tc_number] [-noaction]

The -noaction option directs the command to display the list of filesets that would be restored and the tapes necessary to restore them without performing the actual operation.