You can control when the backups for an Oracle Java Cloud Service occur, how they are stored, and how long they are retained.
By default, backups are stored in the location that you specified when you enabled backups on a service instance, but you can change this storage location. If the storage user name and password that you originally specified for this service instance have changed, backups will fail until you update this configuration. Oracle Java Cloud Service automatically disables backups on a service instance if consecutive failures occur.
Before updating your backup configuration, you must enable backups on the service instance if you did not enable backups when you originally created the service instance. Similarly, if Oracle Java Cloud Service disabled backups on the service instance, you must enable backups before updating the configuration.
Some configuration options vary depending on the type of region in which your service instance was created. See Identify the Cloud Infrastructure Used by a Service Instance.
- Access your service console.
- Click the name of the service instance for which you want to configure backups.
- On the Overview page, click the Administration tile.
- Click the Backup tab.
- Click Manage backups for this instance , and then select Configure Backups.
- For Full Backup, select the day of the week and the time of day UTC when you want full backups to occur.
All times must be for the Coordinated Universal Time (UTC) time zone, not your local time zone.
- For Incremental Backup, select the time of day UTC when you want incremental backups to occur each day.
- Clear the Coordinated Backups check box if you do not want to take backups of the database.
By default, if your service instance is associated with an Oracle Database Cloud Service deployment, the database deployment is automatically backed up as well. Coordinated backups are not available for service instances that are associated with other database services.
- For Storage Container, enter the object storage location where backups of the service instance will be stored.
Any existing backups in the previous storage location will remain there and be available for service restoration, until the retention period has elapsed.
If your service instance is running in an Oracle Cloud Infrastructure region, then enter the URL of an existing bucket in Oracle Cloud Infrastructure Object Storage. See Prerequisites for PaaS Services on Oracle Cloud Infrastructure in the Oracle Cloud Infrastructure documentation.
To find out your
namespace, sign in to the Oracle Cloud Infrastructure web console, click the tenancy name, and look for the Object Storage Namespace field.
If your service instance is running in an Oracle Cloud Infrastructure Classic region, then enter the URL of a container in Oracle Cloud Infrastructure Object Storage Classic.
You can find the REST endpoint URL of the Oracle Cloud Infrastructure Object Storage Classic service instance in the Infrastructure Classic Console. See Finding the REST Endpoint URL for Your Cloud Account in Using Oracle Cloud Infrastructure Object Storage Classic.
- For User Name and Password, enter the credentials of a cloud user who has access to the specified object storage location.
If your service instance is running in an Oracle Cloud Infrastructure region, then enter the generated Auth Token for the user that you specified. See Prerequisites for PaaS Services on Oracle Cloud Infrastructure in the Oracle Cloud Infrastructure documentation.
If your service instance is running in an Oracle Cloud Infrastructure Classic region, then these fields are not displayed if this account includes Oracle Identity Cloud Service, and the current cloud user is entitled to use Oracle Cloud Infrastructure Object Storage Classic.
- In the Set new retention period to field, enter the number of days that you want new backups to be retained.
If you decrease the retention period, any existing backups that are older than this period are automatically deleted during the next scheduled backup.
- Click Save.
After updating the backup configuration, Oracle recommends that you create an on-demand backup to verify your configuration.