Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I need to find how to delete latest snapshot using Yaml script or Shell Script? Does anyone have the example script.
or it is possible to use script for cgsnapshot retention?
Regards,
Hudan
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How about PowerShell?
Connect-NcController <controller hostname>
Get-NcSnapshot <volume name> | Sort-Object -Property Created -Descending | Select -First 1 | Remove-NcSnapshot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Donny, thanks for your respond, I need bash shell script or Yaml, if you know, please share