Using Autonomous AI Database Long Term Backup for Resource Scheduler Schedules

Learn how to apply Autonomous AI Database long term backup support to Resource Scheduler schedules.

Note

Only Autonomous AI Database Dedicated Backup is supported in Resource Scheduler.

Resource Scheduler includes Oracle Autonomous AI Database on Dedicated Exadata Infrastructure long term backup support. This feature allows you to automate and standardize your backup retention strategies for Autonomous AI Database. Supporting long term backups lets you align database retention policies with internal or regulatory requirements, reduce administrative effort, and improve reliability and compliance through automated, policy-driven scheduling.

To use the Autonomous AI Database for backup, add the following policy to your tenancy:

Allow any-user to { AUTONOMOUS_DB_BACKUP_CREATE, AUTONOMOUS_DATABASE_INSPECT, AUTONOMOUS_DATABASE_CONTENT_READ, AUTONOMOUS_DB_BACKUP_INSPECT, AUTONOMOUS_DB_BACKUP_CONTENT_READ } IN TENANCY where all {request.principal.type='resourceschedule', request.principal.id='<resource_schedule_ocid>''}
Note

After Resource Scheduler runs the backup request, it doesn't track the backup job to its successful completion. You can get backup job status from Autonomous AI Database's backup details tab.

For requirements and other information regarding on using Autonomous AI Database for backups, see Create a Long-Term Backup.

Configuring a Schedule for Backup

Select the Backup option when you create a schedule. Select an Autonomous Database resource type. Only those resources that support the backup option are displayed.

In the Apply Parameters page when creating the schedule, you can specify the backup parameters using the following syntax:

{"retentionDays":<number-days>,"backupName":<name>}

For example:

{"retentionDays":150,"backupName":"MyMonthlyBackup"}

Resource Scheduler appends the date and hour of the backup in YYYYMMDD-HHMM format to the backupName value to ensure that ADB-D Backup names are unique. The backupName value can have a maximum of 15 characters.

Complete the rest of the schedule as described in Creating a Schedule.