Image Management for Specified SGMs (g_snapshot)
Show and revert snapshots for specified SGMs or Chassis. This is different from snapshot , which works for all SGMs together. You must run this command from Expert mode.
Syntax
# g_snapshot [-b <sgm_ids>] show|[revert <snapshot_name>]
Parameter
|
Description
|
show
|
Shows saved snapshots for the specified SGMs or Chassis.
|
revert
|
Restore specified SGMs or Chassis to the specified snapshot.
|
< snapshot_name>
|
Snapshot file name
|
< sgm_ids>
|
Works with SGMs and/or Chassis as specified by <sgm_ids>.
< sgm_ids> can be:
- No <sgm_ids> specified or
all shows all SGMs and Chassis - One SGM
- A comma-separated list of SGMs (
1_1,1_4 ) - A range of SGMs (
1_1-1_4 ) - One Chassis (
Chassis1 or Chassis2 ) - The active Chassis (
chassis_active )
|
Examples
# g_snapshot -b 1_1,1_4 revert My_Snapshot This example restores SGMs 1_1 and 1_4 to My_Snapshot .
# g_snapshot –b chassis2 revert My_Snapsho tThis example restores Chassis2 to My_Snapshot .
# g_snapshot -b Chassis1 show This example shows the saved snapshots for all SGMs on Chassis1.
|
|