The bak addftentry command has arguments that correspond to the three fields in a fileset family entry: -server for the File Server machine name field, -aggregate for the aggregate name field, and -fileset for the fileset name field. By combining these arguments in different ways, you can create fileset entries for different groupings of filesets. The table below summarizes some suggested groupings.
Suggestions for Creating Fileset Family Entries
For Entries That Include: | Use: | For Example: |
All filesets in the cell's file system | The wildcard for all three arguments | ".*" ".*" ".*" |
Every fileset on a specific File Server machine | The machine name with -server and the wildcard for -aggregate and -fileset | /.../abc.com/hosts/fs1 ".*" ".*" |
Filesets on aggregates of the same name | The aggregate name with -aggregate and the wildcard for -server and -fileset | ".*" /dev/lv01 ".*" |
Every fileset with a common string of letters (such as a .backup extension) | The wildcard for -server and -aggregate, and a character string/regular expression for -fileset | ".*" ".*" ".*\.backup" |
All filesets on an aggregate | The machine name with -server, the aggregate name with -aggregate, and the wildcard for -fileset | /.../abc.com/hosts/fs2 /dev/lv02 ".*" |
Every fileset on each File Server machine's similarly named aggregate that includes a common string of letters in its name (such as a user. prefix) | The wildcard for -server, the aggregate name with -aggregate, and a character string/regular expression for -fileset | ".*" /dev/lv03 "user\..*" |
Every fileset on one aggregate with a common string of letters in its name (such as a sys prefix and a .readonly extension) | The machine name with -server, the aggregate name with -aggregate, and a character string/regular expression for -fileset | /.../abc.com/hosts/fs3 /dev/lv04 "sys.*\.readonly" |
The two main types of fileset families are those based on a common fileset location (File Server machine and aggregate) and those based on similar contents (as reflected by a fileset name). Because filesets can be moved between machines and aggregates, use name-based fileset family entries rather than location-based ones. For name-based entries, specify the .* wildcard for the -server and -aggregate arguments of the bak addftentry command.