Using the -family Option

Use the -family option of the bak restoreftfamily command to restore the filesets included in a fileset family. The command reads the FLDB to determine all filesets that satisfy the fields of the entries in the specified fileset family. It hen looks in the Backup Database to determine the tapes that contain the last full dump and all subsequent incremental dumps of each fileset. It restores each fileset included in an entry in the fileset family to its current site, overwriting an existing version of the fileset.

You can specify the name of an existing fileset family, or you can define a new fileset family and add entries that correspond to the filesets that need to be restored. For example, suppose you need to restore all filesets that reside on the File Server machines named fs1.abc.com and fs2.abc.com. You can use the bak addftfamily command to create a new fileset family. You can then use the bak addftentry command to add the following entries to the new fileset family:

/.. /abc.com/hosts/fs1 .* .*
/…/abc.com/hosts/fs2 .* .*

These entries indicate all filesets on all aggregates on the machines named fs1.abc.com and fs2.abc.com. Once the new fileset family is defined, you can issue the bak restoreftfamily command, specifying the name of the fileset family with the command's -family option.

When you create fileset families 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 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.