Remove backups using PowerShell cmdlets
PDF of this doc site
SnapCenter Server installation
- Configure Certificate-based Authentication
Protect Microsoft SQL Server databases
- SnapCenter Plug-in for Microsoft SQL Server
- Prepare to install the SnapCenter Plug-in for Microsoft SQL Server
Protect SAP HANA databases
- SnapCenter Plug-in for SAP HANA Databases
- Prepare to install the SnapCenter Plug-in for SAP HANA Database
- Back up SAP HANA resources
- Protect Oracle databases
- Protect Windows file systems
- Protect Microsoft Exchange Server databases
Protect Custom applications
- Prepare to install SnapCenter Custom Plug-ins
- SnapCenter Server installation
You can use the Remove-SmBackup cmdlet to delete backups if you no longer require them for other data protection operations.
You must have prepared the PowerShell environment to execute the PowerShell cmdlets.
The information regarding the parameters that can be used with the cmdlet and their descriptions can be obtained by running Get-Help command_name. Alternatively, you can also refer to the SnapCenter Software Cmdlet Reference Guide.
Initiate a connection session with the SnapCenter Server for a specified user by using the Open-SmConnection cmdlet.
Open-SmConnection -SMSbaseurl https:\\snapctr.demo.netapp.com:8146/
Delete one or more backup using the Remove-SmBackup cmdlet.
This example deletes two backups using their backup IDs:
Remove-SmBackup -BackupIds 3,4 Remove-SmBackup Are you sure want to remove the backup(s). [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"):