Can a snapshot be taken out of the Snapshot Policy Rotation?
Applies to
- ONTAP 9
- Snapshot
Answer
Yes, it is possible to retain the Snapshot by renaming the Snapshot name from the one defined in the Snapshot policy.
Example:
- Rename the Snapshot:
Cluster1::> volume snapshot rename -vserver svm1 -volume rename -snapshot 5minS.2020-09-16_1815 -new-name 5minS.2020-09-16_1815_RENAMED
- next Day, the renamed Snapshot remains until manually deleted:
cluster1::> volume snapshot show -vserver svm1 -volume rename
---Blocks---
Vserver Volume Snapshot Size Total% Used%
-------- -------- ------------------------------------- -------- ------ -----
svm1 rename
5minS.2020-09-16_1815_RENAMED 196KB 0% 33%
5minS.2020-09-18_1330 144KB 0% 26%
5minS.2020-09-18_1335 144KB 0% 26%
5minS.2020-09-18_1340 288KB 0% 42%
5minS.2020-09-18_1345 144KB 0% 26%
5minS.2020-09-18_1350 232KB 0% 36%
5minS.2020-09-18_1355 236KB 0% 37%
7 entries were displayed.
Additional Information
additionalInformation_text