Saturday, September 1, 2012

Restoring a snapshot from Netapp from a newbie

I am a newbie to NetApp Storage solution. Creation and restoring Snapshot in Netapp could not be easier.

Basically, NetApp provides a very easy-to-recognise snapshot features. The Snapshot schedules are
  1.  Weekly Snapshot copies are taken at 24:00 on Sunday, creating Snapshot copies called weekly.n, where n is an integer (weekly.0, weekly.1, weekly.2, and so on).
  2. Nightly Snapshot copies are taken at 24:00 Monday through Saturday, creating Snapshot copies called nightly.n, where n is an integer (nightly.0, nightly.1, and so on).
  3. Four hourly Snapshot copies are taken at 8 a.m., noon, 4 p.m., and 8 p.m., unless specified otherwise using the hourly Snapshot copy schedule in this window, creating Snapshot copies called hourly.n, where n is an integer (hourly.0, hourly.1, hourly.2, and so on).
You can easily select your snapshot schedule with some simple select and click.

If you make your snapshot directory visible, The snapshot content can be easily be seen from .shapshot directory of the NetApp volume.Restoration is very easy then. Assuming the NetApp volume is mounted as /home and you wish to recover nightly.0

# cp -avp /home/.snapshot/nightly.0/home/mysite/recover_my_folder /home/mysite/

that's it! I was quite amazed at the ease of the restoration of the lost folder.

No comments: