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 updatecommand 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.jsonFor example:
oci bv volume-backup-policy update --policy-id ocid1.volumebackuppolicy.oc1.phx.unique_ID --schedules file//~/input.jsonFor a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the
UpdateVolumeBackupPolicyoperation and specify thepolicyIdattribute in the request body and thedefinedTags,destinationRegion,displayName,freeformTagsand/orschedulesattributes in theUpdateVolumeBackupPolicyDetailsresource edit your backup policy schedule.