Use the following procedure to roll back, or restore, a filesystem or LUN to an existing snapshot.
Restoring a snapshot requires destroying any newer snapshots and their clones, and it reverts the share contents to what they were at the time the snapshot was taken. Property settings on the share are not affected, but changes to filesystem root directory access are lost during rollback.
Caution - This procedure cannot be undone. |
hostname:> shares select myproject hostname:shares myproject> select demo_share
hostname:shares myproject/demo_share> snapshots
hostname:shares myproject/demo_share snapshots> list demo_snap1 demo_snap2
hostname:shares myproject/demo_share snapshots> select demo_snap1 hostname:shares myproject/demo_share@demo_snap1> rollback
hostname:shares myproject/demo_share@demo_snap1> rollback Rolling back will revert data to snapshot, destroying newer data. Active initiators will be disconnected. Continue? (Y/N) hostname: shares myproject/demo_share@demo_snap1> Y