Editing a Schedule for a User-defined Backup Policy
Update a schedule in a user-defined (custom) backup policy in Block Volume.
- On the Backup Policies list page, select the backup policy that you want. If you need help finding the list page or the backup policies, see Listing Backup Policies.
- Select Schedules.
- Find the schedule that you want to edit.
- From the , select Edit.
- After making your changes to the schedule, select Update.
Use the
oci bv volume-backup-policy update
command and specify the parameters to update the schedule for a volume backup policy:oci bv volume-backup-policy update --policy-id backup_policy_ID --schedules file//path/schedule_JSON.json
For example:
oci bv volume-backup-policy update --policy-id ocid1.volumebackuppolicy.oc1.phx.unique_ID --schedules file//~/input.json
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the
UpdateVolumeBackupPolicy
operation and specify thepolicyId
attribute in the request body and thedefinedTags
,destinationRegion
,displayName
,freeformTags
and/orschedules
attributes in theUpdateVolumeBackupPolicyDetails
resource edit your backup policy schedule.