Restore Snapshots while mapping NFS share (on Linux)

  1. In ElastiCenter, create a NFS volume with a name say testvol3.
  2. NFS_Linux_revsnapshots_Createvol

  3. Mount the volume on Linux client and then write some data.
  4. Use the following command to mount the volume: mount Tenant IP Address : Access Path Directory Path
    • Directory Path: Local Directory Path where the NFS volume is to be mounted.

    Example: mount 20.10.17.117:/Acctestvol3 /mnt/vol1

    To copy data to the volume, use the following command:
    cp /Source Filename Destination Filename

    Example: cp /root/Desktop/test2 /mnt/vol1
    cp /root/Desktop/test1 /mnt/vol1

    NFS_Linux_revsnapshots_MountVol

  5. Create a snapshot on the Storage Volume using the following procedures:
    1. In ElastiCenter, select the Storage Volume in the navigation pane.
    2. From the list, select the Storage Volume to create local backup.
    3. In the following page, go to the Backup section of the Action Pane and then select Create Snapshot.
    4. Specify a name for the snapshot to be created and then click OK.
    5. NFS_Linux_revsnapshots_CreateSnapshot

  6. Delete the data from the mounted Storage volume.
  7. Use the following command to delete data on the Storage Volume:

    rm -r Filename Filename
    Example: rm –r test test2

    NFS_Linux_revsnapshots_DeleteData

  8. In ElastiCenter, click Manage Snapshots (Actions pane > Local Backup) to view the list of previously captured snapshots.
  9. NFS_Linux_revsnapshots_ManageSnapshot

  10. From the list of snapshots, click on Restore icon to roll back the Storage Volume content to previous state.
  11. NFS_Linux_revsnapshots_Restore

  12. On the Linux Client, check data.
  13. Use ls command to view the list of files.

    NFS_Linux_revsnapshots_CheckData