beautypg.com

Other automated snapshot procedures, Modifying an automated snapshot scheme, Viewing automated snapshot schemes – HP StoreAll Storage User Manual

Page 175

background image

ibrix_vs_snap_strategy -c -n NAME -k KEEP -m MOUNT [-N NAMESPEC] [-M MOUNTSPEC]

The options are:

The name for the snapshot scheme.

-n NAME

The number of snapshots to keep per file system. For the P2000 G3 MSA System/MSA2000
G2 array, the maximum is 32 snapshots per file system. For P4000 G2 storage systems, the

-k KEEP

maximum is 32 snapshots per file system. For P4000 G2 storage systems, the maximum is 32
snapshots per file system. For Dell EqualLogic arrays, the maximum is eight snapshots per file
system.

Enter the number of days, weeks, and months to retain snapshots. The numbers must be separated
by commas, such as -k 2,7,28.

NOTE:

One snapshot is kept per day for the specified number of days. For example, if you

enter 6 as the daily count, the snapshot feature keeps 1 snapshot per day through the 6th day.
On the 7th day, the oldest snapshot is deleted. Similarly, the weekly count specifies the number
of weeks that snapshots are retained, and the monthly count specifies the number of months that
snapshots are retained.

The number of snapshots to mount per file system. The maximum number of snapshots is 7 per
file system.

-m MOUNT

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.

Snapshot name template. The template specifies a scheme for creating unique names for the
snapshots. Use the variables listed below for the template.

-N NAMESPEC

Snapshot mountpoint template. The template specifies a scheme for creating unique mountpoints
for the snapshots. Use the variables listed below for the template.

–M MOUNTSPEC

Variables for snapshot name and mountpoint templates.

yyyy_mm_dd_HHmmz + GMT

fulldate

yyyy_mm_dd

shortdate

File system name

fsname

You can specify one or more of these variables, enclosed in braces ({ }) and separated by
underscores (_). The template can also include text strings. Two sample templates follow. When a
snapshot is created using one of these templates, the variables will be replaced with the values
listed above.

{fsname}_snap_{fulldate}

snap_{shortdate}_{fsname}

Other automated snapshot procedures

Use the following procedures to manage automated snapshots.

Modifying an automated snapshot scheme

A snapshot scheme can be modified only from the CLI. Use the following command:

ibrix_vs_snap_strategy -e -n NAME -k KEEP -m MOUNT [-N NAMESPEC] [-M MOUNTSPEC]

Viewing automated snapshot schemes

On the GUI, you can view snapshot schemes on the Create Snapshot dialog box. Select Recurring
as the Snapshot Type, and then select a snapshot scheme. A description of that scheme will be
displayed.

To view all automated snapshot schemes or all schemes of a specific type using the CLI, execute
the following command:

ibrix_vs_snap_strategy -l [-T TYPE]

Automated block snapshots

175