Restoring Data from NSS Snapshots
This article presumes that you have scheduled snapshots of shares allocated utilizing the Networked Storage Service. Use it to restore data that was accidentally deleted, corrupted or changed by a user of the NSS.
Restoring deleted files or folders
Follow these steps to restore files or folders that were accidentally deleted:
- Navigate to the folder where the file or folder was previously located.
- Right-click the empty space in this folder and select Properties. Then, select the Previous Versions tab.
- You'll see a list of available previous versions of the file or folder. The list will include files and folders that are saved in Isilon snapshots.
- If you are looking to restore the entire folder, right on the folder, then copy and paste to a different location.
- If you are looking to restore a specific file, double click on the folder that contains the file, copy the file and paste it in a different location.
Restoring a file or folder to the previous state
Follow these steps to restore corrupted files or folders to a previous state:
- Right-click the file or folder. Select Properties and select the Previous Versions tab.
- From the list, select the date that you are looking to restore. You can open the file or folder to check if you are restoring the right version of the file folder.
- Select your desired version of the file or folder and click Restore.
Note: The restore process replaces the current version on your computer and cannot be undone. If you wish to save both current and previous versions, copy and paste the previous version of your file or folder.
Follow these steps to recover a deleted or corrupted file or directory.
- Go to the directory where the file or directory was located. Within this directory, there is a hidden directory called .snapshot.
- Change to the .snapshot directory by running the command below:
# cd .snapshot
- Type ls. You will see the list of snapshot archives. NSS service has snapshots scheduled to run twice per day. They are retained for 14 days.
Note: Each snapshot has a timestamp appended to its name. For example, if your NFS export path is export_test, the snapshot will be named export_test_14days_yyyy_mm_dd_hh_mm
- Select the snapshot corresponding to the date from which want to recover the file or directory. Change to that snapshot directory.
- Copy the file or directory to the same location or a different location using the cp command below:
# cp file1 /target_path/file1
Note: Recovering the file or directory to the original location will overwrite it. If you want to retain the original file, please rename the file you are copying from snapshot by running the command below:
# cp file1 /target_path/file1-recovered
- Return to the active file system.The recovered file should display in the path to which it was copied.
If you need further assistance, please open a ticket with the Service Desk and provide the name and path of the file that needs to be recovered.