You can use dataset backup_change_retention_type to change your dataset retention policy associated with a dataset backup.
Syntax
sdcli dataset backup_change_retention_type-dn DatasetName-bv BackupVersion-i BackupId-rt RetentionType-nn NodenameorId
Description
You can use dataset backup_change_retention_type to change your dataset retention policy associated with a dataset backup.
Parameters
- -dn
- Specifies the name of the dataset for which you want to change the backup retention policy.
- -bv
- Indicates the version of the backup for which you want to change the retention policy. Specify either the backup version or the backup ID.
- -i
- Indicates the ID of the backup for which you want to change the retention policy. Specify either the backup version or the backup ID.
- -rt
- Indicates the new retention type you want to set for your dataset backup.
- -nn
- Indicates a storage system node name or ID. If you do not specify a node name or ID, the retention type is applied to all backups.