Thursday, October 13, 2016

NET 701 MODULE 5: PROTECTING DATA USING SNAPSHOT TECHNOLOGY

MANAGING SNAPSHOT COPIES

In this exercise, use NetApp System Manager and the command-line interface (CLI) to create and manage Snapshot copies, and use the Snapshot directory and SnapRestore data recovery software to restore data.

Snapshot is a copy of the whole volume which can be used as a backup of the volume. 

USE NETAPP SYSTEM MANAGER TO CREATE A SNAPSHOT COPY

To create a snapshot copy, Click Snapshot Copies > Create.


I have created a snapshot copy as SnapA. We can find it at the bottom of the screen.

 RESTORE A WINDOWS FILE FROM A SNAPSHOT COPY

In this task, we are going to delete a Windows file from the storage system /etc directory and restore it from a Snapshot copy.

Before you make a Snapshot copy, we have to  enable the create_ucode and convert_ucode options are set to on in the vol0 volume: 

I have run the following commands to enable them 

Node1> vol options vol0 create_ucode on
Node1> vol options vol0 convert_ucode on

then run the following command 'Node1> snap create vol0 snapA' to ensure that vol0 has at least one Snapshot copy.


In windows Click Start > Run.
In the textbox, enter \\ip_address_of_storage_system\C$ and click OK.
Navigate to the /etc directory  and deleted the exports.bak file.
Now we have to restore this file from the snapshot.


Then I have navigated to the snapshot directory and found that it is not visible then I have run the following command 'options cifs.show_snapshot on'  and I could found that folder.

From there I have copied the exports.bak file and copied the file back to its original location at /etc/exports.bak.


RESTORE A LINUX FILE FROM A SNAPSHOT COPY

In this task, I have deleted a Linux file from the storage system /etc directory and restored it from a Snapshot copy using commands.



USE NETAPP ONCOMMAND SYSTEM MANAGER TO MANAGE SNAPSHOT COPIES

In this task, we are going to manage Snapshot copies and Snapshot backup schedules.

In NetApp System Manager, click Storage > Volumes and select he volume. Then Click Snapshot Copies > Configure.

Here we can define the snapshot schedule.


I have configured hourly Snapshot copies for the NASvol volume to occur at 10 a.m., 12 p.m., 2 p.m.,
and 5 p.m.:



Here we have done with the snapshot copy configurations, it will automatically take snapshots according to the schedule.

No comments: