Installation manual

Shadowing a Volume
Specifying a Fileset to Copy (Source Switch)
CLI Storage-Management Guide 15-7
Specifying a Fileset to Copy (Source Switch)
The next step in shadowing a volume is to choose a fileset to be “shadowed.” This
occurs at the source volume, on the source switch. The fileset can include all files in
the volume or a smaller set of files based on file names and/or file-access times. You
can create complex filesets by intersecting two or more filesets (for example,
choosing the *.mp3 files accessed in the last week) and/or joining them in a union (for
example, choosing all .mp3 files plus all files of all types that were accessed in the
last week). Refer back to Chapter 13, Grouping Files into Filesets, for a full range of
options in creating filesets.
For example, the following command sequence occurs on “bstnA6k,” the switch with
the source volume. These commands create an all-inclusive fileset called
“worthSaving:”
bstnA6k(gbl)# policy-filename-fileset worthSaving
This will create a new policy object.
Create object 'worthSaving'? [yes/no] yes
bstnA6k(gbl-ns-vol-fs-name[worthSaving])# recurse
bstnA6k(gbl-ns-vol-fs-name[worthSaving])# exit
bstnA6k(gbl)# ...
Shadow Copies Are Not Cumulative
Note that if the fileset changes, the shadow changes with it. For example, consider an
age-based fileset which changes based on client access. Files that are in the fileset one
day may not be there the next. The shadow copy does not keep old files that are no
longer in the source fileset: the changes to the shadow copy are not cumulative.