I have had a case open with NetApp for a while now asking about the possibility of an auto-deletion option for retaining N snapshots regardless of autodelete policies in place. This is the safety one needs to use the mechanisms that drive auto-deletion without potentially allowing the removal of _all_ snaps. I don't ever want all my snapshots gone unless I specifically ask for that.
Mark
Nowak, Chris wrote:
Daniel, You can set snapshots to automatically delete via the filer. If you want to delete the oldest snapshot then take a look at this: http://now.netapp.com/NOW/knowledge/docs/ontap/rel724/html/ontap/onlinebk/2s...
Thanks Chris Nowak
*From:* Daniel Keisling [mailto:daniel.keisling@austin.ppdi.com] *Sent:* Tuesday, August 05, 2008 11:14 AM *To:* toasters@mathworks.com *Subject:* Automatically delete snapshots based on number and not space availability
Greetings,
I take a daily snapshots (named ss-YYYYMMDDHHmm) of several volumes on my filers. I would like to automatically delete the oldest snapshot (assuming it's not busy) when a certain number of snapshots are present in the volume (ie, only keep the latest 3 snapshots). Is this possible? If not, does anyone have any scripts where it can be done from a host?
TIA,
Daniel
This email transmission and any documents, files or previous email messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient or a person responsible for delivering this transmission to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution or use of this transmission is strictly prohibited. If you have received this transmission in error, please immediately notify the sender by telephone or return email and delete the original transmission and its attachments without reading or saving in any manner.
Animal Logic http://www.animallogic.com
Please think of the environment before printing this email.
This email and any attachments may be confidential and/or privileged. If you are not the intended recipient of this email, you must not disclose or use the information contained in it. Please notify the sender immediately and delete this document if you have received it in error. We do not guarantee this email is error or virus free.