ibrix_snap_strategy
Creates an automated snapshot strategy.
Description
If you will be taking a snapshot of a file system on a regular basis, you can create a snapshot
strategy for that file system. The strategy specifies the number of snapshots to keep and the number
of snapshots to mount on the system. You can also create naming templates for the snapshots and
the snapshot mountpoints.
After creating a snapshot strategy, use either the ibrix_at command or the GUI to create a
schedule for taking the snapshots. See “Creating automated snapshots using the GUI” in the HP
StorageWorks X9000 File Serving Software File System User Guide for more information about
the GUI method.
Synopsis
Create an automated snapshot strategy:
ibrix_snap_strategy -c -n NAME -k KEEP -m MOUNT [-T TYPE] [-N NAMESPEC]
[-M MOUNTSPEC]
The -c option creates an automated snapshot strategy. The other options are:
The name for the snapshot strategy.-n NAME
The strategy type; either linear (corresponds to “Regular” on the GUI) or DWMGroup. linear
allows a specific number of snapshots and mountpoints on the system. DWMGroup allows a
specific number of snapshots and mountpoints per day, week, and month.
-T TYPE
The number of snapshots to keep per file system. For the HP StorageWorks 2000 Modular Smart
Array G2, the maximum is 32 snapshots per file system. For EqualLogic arrays, the maximum
is eight snapshots per file system.
If the strategy type is linear, enter the number of snapshots to keep, such as -k 6.
If the strategy type is DWMGroup, enter the number of snapshots to keep per day, week, and
month. The numbers must be separated by commas, such as -k 1,2,6.
-k KEEP
The number of snapshots to mount per file system. The maximum number of snapshots is seven
per file system.
If the strategy type is linear, enter the number of snapshots to mount, such as -m 7.
If the strategy type is DWMGroup, enter the number of snapshots to mount per day, week, and
month. The numbers must be separated by commas, such as -m 2,2,3. The sum of the numbers
must be less than or equal to 7.
-m MOUNT
Snapshot name template. The template specifies a scheme for creating unique names for the
snapshots. Use the variables shown below for the template.
-N NAMESPEC
Snapshot mountpoint template. The template specifies a scheme for creating unique mountpoints
to the snapshots. Use the variables shown below for the template.
–M MOUNTSPEC
Variables for snapshot name and mountpoint templates. The following variables can be used:
yyyy_mm_dd_HHmmz + GMTfulldate
yyyy_mm_ddshortdate
The strategy type specified with the -T option (either linear or DWMGroup)type
Same as type but with the name of the snapshot strategy appendedstrategy
File-system namefsname
You can specify one of or more of these variables, enclosed in brackets ({ }) and separated by
underscores (_). The template can also include text strings. Following are some sample templates.
118 X9000 File Serving Software commands
Kommentare zu diesen Handbüchern