HP StorageWorks NAS 8000 NAS 8000 Command Reference - Page 44

Snapshot Settings

Page 44 highlights

Command Reference Snapshot Settings A snapshot is a read-only picture of a file volume at a specific point in time. When you create a file volume, the snapshot of that file volume is of zero length. However, as you modify the file volume, the snapshot tracks changes between the original file volume and the modified file volume. If an error occurs and you want to revert to the previous version, you can use the snapshot data and the unmodified parts of the original file volume to quickly and easily construct the file volume. When you set up a snapshot, consider how quickly the file's data will change, and how often you will delete snapshots and start over. You have the option to size snapshots relatively small and let them autogrow. As they reach the limit that you establish, their size can increase by approximately 10 percent to accommodate the changes. This flexibility lets you set the snapshot and not worry about a specific size. After you specify a size, you must define an expiration date. When the snapshot expires, the system automatically deletes it. Consider your overall backup strategy in light of the snapshot expiration date. For example, you may want to take a snapshot of your data for a specified amount of time, then when you are certain that you have a backup of your system, delete the snapshot and begin the snapshot process again. The system treats snapshots as part of a regular file volume. The following commands are used to create and manage snapshots. getStorageVolumeFileVolumeSnapshotList Returns a list of snapshots that exist for the specified file volume. ■ inParam[0] = File volume name ■ outParam[0:N] = Snapshot name list getStorageVolumeFileVolumeSnapshotCount Returns a count of how many snapshots have been taken of the specified file volume. ■ inParam[0] = File volume name ■ outParam[0] = Snapshot count getStorageVolumeSnapshotList Returns a list of the snapshots that exist on the HP NAS 8000 system. ■ outParam[0:N] = Snapshot name list addStorageVolumeSnapshot Creates a new snapshot of the specified file volume. Note: Adequate space must exist in the volume group that contains the file volume. ■ inParam[0] = Snapshot name ■ inParam[1] = Volume name ■ inParam[2] = Size (MB) getStorageVolumeSnapshotVolumeFile Returns the name of the file volume associated with the specified snapshot. 44 HP StorageWorks NAS 8000 Command Reference

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96

Command Reference
44
HP StorageWorks NAS 8000 Command Reference
Snapshot Settings
A snapshot is a read-only picture of a file volume at a specific point in time. When you create
a file volume, the snapshot of that file volume is of zero length. However, as you modify the
file volume, the snapshot tracks changes between the original file volume and the modified file
volume. If an error occurs and you want to revert to the previous version, you can use the
snapshot data and the unmodified parts of the original file volume to quickly and easily
construct the file volume.
When you set up a snapshot, consider how quickly the file's data will change, and how often
you will delete snapshots and start over. You have the option to size snapshots relatively small
and let them autogrow. As they reach the limit that you establish, their size can increase by
approximately 10 percent to accommodate the changes. This flexibility lets you set the
snapshot and not worry about a specific size.
After you specify a size, you must define an expiration date. When the snapshot expires, the
system automatically deletes it. Consider your overall backup strategy in light of the snapshot
expiration date. For example, you may want to take a snapshot of your data for a specified
amount of time, then when you are certain that you have a backup of your system, delete the
snapshot and begin the snapshot process again.
The system treats snapshots as part of a regular file volume. The following commands are used
to create and manage snapshots.
getStorageVolumeFileVolumeSnapshotList
Returns a list of snapshots that exist for the specified file volume.
inParam[0] = File volume name
outParam[0:N] = Snapshot name list
getStorageVolumeFileVolumeSnapshotCount
Returns a count of how many snapshots have been taken of the specified file volume.
inParam[0] = File volume name
outParam[0] = Snapshot count
getStorageVolumeSnapshotList
Returns a list of the snapshots that exist on the HP NAS 8000 system.
outParam[0:N] = Snapshot name list
addStorageVolumeSnapshot
Creates a new snapshot of the specified file volume.
Note:
Adequate space must exist in the volume group that contains the file volume.
inParam[0] = Snapshot name
inParam[1] = Volume name
inParam[2] = Size (MB)
getStorageVolumeSnapshotVolumeFile
Returns the name of the file volume associated with the specified snapshot.