Deleting a consistency group snapshot image, Scheduling snapshot images – Dell PowerVault MD3260i User Manual
Page 54
where, consistencyGroup is the name of the consistency group for which you are creating snapshot images.
Deleting A Snapshot Virtual Disk Or A Consistency Group Snapshot Virtual Disk
You can use the following command to delete a snapshot virtual disk or a consistency group snapshot virtual disk.
Optionally, you can also delete the repository members.
delete cgSnapVirtualDisk ["snapVirtualDiskName"] [deleteRepositoryMembers=(TRUE
| FALSE)];
where, snapVirtualDiskName is the snapshot you want to delete. The deleteRepositoryMembers=TRUE
parameter will preserve the member virtual disks (default). Setting the parameter to FALSE will delete the member
virtual disks.
Deleting A Consistency Group Snapshot Image
You can delete the snapshot images in a consistency group. However, when you delete a consistency group snapshot
image that is associated with a consistency group snapshot virtual disk, the corresponding snapshot virtual disk
member in the consistency group snapshot virtual disk is transitioned to a Stopped state. Being in this state means that
the snapshot virtual disk member no longer has a relationship to the snapshot group of the deleted snapshot image. A
snapshot virtual disk member in a Stopped state maintains its relationship to its consistency group snapshot virtual disk.
When a snapshot image(s) is deleted from a consistency group:
•
The snapshot is deleted from the storage array.
•
The repository’s reserve space for reuse within the consistency group is released.
•
Any member virtual disk associated with the deleted snapshot image(s) is moved to a Stopped state.
•
The member snapshot virtual disks associated with the deleted snapshot image(s) is deleted.
To delete two snapshot images named all_data_1 from a consistency group, use the following command:
delete cgSnapImage consistencyGroup="all_data_1"
To succeed, all snapshot images must be deleted or the command will fail and no snapshots will be deleted.
Scheduling Snapshot Images
Using the enableSchedule and schedule parameters with virtual disk and consistency group commands, you can
schedule regular snapshot images to recover files or schedule regular backups. The schedule can be set when you
initially create a snapshot group or consistency group, or you can add it later to an existing snapshot group or
consistency group.
You can create a schedule that runs daily or weekly in which you select specific days of the week (Sunday through
Saturday).
An example of the set snapGroup command using the schedule parameters:
set snapGroup ["snapGroupName"] enableSchedule=(TRUE | FALSE)
schedule=(immediate | snapshotSchedule)
Valid schedule values for the schedule parameter are immediate, startDate, scheduleDay, startTime,
scheduleInterval, endDate, noEndDate, timesPerDay and timeZone.
For more information, see:
•
•
54