Unlocking the Potential | VMware Aria Operations | Automation Central | VM Snaps
Adding “DoNotDelete” to a VM Snap Name to control if Auto Deleted.
VMware Aria Operations 8.12 Released:
With the release of VMware Aria Operations 8.12, “Snapshot Name” was added to “Delete old snapshots”.
Delete old snapshots:
Adding “Snapshot Name” to “Delete old snapshots” in Automation Central may seem like a small change but it adds a lot of Power to the process. This change allows you to create a Job to run everyday that will delete all Snaps on VMs EXCEPT Snaps that have “DoNotDelete” in the name.
- You could also do the opposite with this process. You can have the job only delete Snapshots where the Snap Name contains the text “AutoDelete”.
I prefer using the method to auto delete all old VM snaps, unless you tell me not to. After being a VMware administrator for many years, I have seen to many VMs running with snaps older that 30 days or even with multiple snaps running and each snap 60+ days old. That is NOT best practice. VM Snaps are NOT Backups. Using Automation Central within VMware Aria Operations helps you keep your environment running better and helps you follow some best practice rules.
Schedule, Report, History amd Jobs
Here are the screens you will see in Automation Central, Schedule, Report, History amd Jobs.
- Schedule: Nice calendar view of all scheduled jobs.
- Report: Shows you how much storage you were able to re-claim by deleting old snaps.
- History: Shows you every time a Snap was deleted with details.
- Jobs: List of all Jobs you created.
- Using the VMware Aria Operations Automation Central is a great way to keep snapshots cleaned up on VMs.
- Add the text “DoNotDelete” to the Snap Name, makes an easy way to save Snaps that shouldn’t be auto deleted.
- Overall nice new feature added to VMware Aria Operations 8.12.
Links I found to be very helpful:
- If you found this Blog article useful and it helped you, Buy me a coffee to start my day.