#Snapshot Management
1 messages · Page 1 of 1 (latest)
snapshot autodelete
https://kb.netapp.com/on-prem/ontap/Ontap_OS/OS-KBs/How_to_use_Snapshot_Autodelete
if they're taken manually, i don't think that applies.
Script could be straight-forward with queries.
snapshot delete {* -create-time <1d}
Is a script secure? Don't want to give a backdoor to an attacker
snapshot autodelete can delete all snapshots, manually or automatically-created, but it waits till the volume (or snap reserve) is full, and not until a certain time has passed. that's why it can be abused
and a script needs credentials of course, which must be stored somewhere on the server where the script is. But if an attacker is already that far inside your system, it's too late anyway 😂
yea, with a script you can also encrypt the password/etc