6.0 HP X9000 File Serving Software File System User Guide (TA768-96043, October 2011)

Creating an automated snapshot scheme from the CLI
You can create an automated snapshot scheme with the ibrix_vs_snap_strategy command.
However, you will need to use the GUI to create a snapshot schedule.
To define a snapshot scheme, execute the ibrix_vs_snap_strategy command with the -c
option:
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 + GMTfulldate
yyyy_mm_ddshortdate
File system namefsname
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]
Automated block snapshots 141