Manage deployment backups
Deployment Backups can help you troubleshoot issues, clone deployments, and restore deployments.
Note:
This information applies only to Data replication deployments.Related Topics
About deployment backups
There are three ways you can take a backup of your deployment: automatic, manual, and scheduled.
- Automatic: Created daily without user input or configuration changes, but only backs up the most recent, not yet processed trail files.
- Manual: A backup that you generate at any time, and can include only metadata or metadata and trail files.
- Scheduled: A manual backup that you can schedule to occur on a regular basis.
Note:
Automatic and manual backups cannot run concurrently. Only one backup process can run at a time.Automatic backups are retained for twelve days, after which they are automatically deleted. To retain data contained within automatic backups for more than twelve days, you can archive the data and save them to your Oracle Object Storage tenancy. Associated storage charges apply. Manual backups are kept until you delete them.
To view deployment backups, select Deployment backups on the deployment details page.
Schedule backups
You can schedule deployment backups to occur daily, weekly, or monthly when you create or edit the deployment.
- To schedule backups when creating a deployment, in the Backup schedule section
of the Create deployment page:
- Select Configure backup schedule.
- Select the Date and Time to start creating backups.
- Select the Frequency for creating backups, either Daily, Weekly, or Monthly.
- Select Backup metadata only, to create backups without trail files.
- Select the Compartment in which to create backups.
- Select the Compartment and the Object storage bucket in which to save backups.
- To schedule backups, or edit a backup schedule, for a deployment already
created:
- On the deployment's details page, locate the Backups section, and then click Edit.
- In the Configure backup schedule panel, select Configure backup schedule.
- Select the Compartment in which to create backups.
- Select the Compartment and the Object storage bucket in which to save backups.
- Select the Date and Time to start creating backups.
- Select the Frequency for creating backups, either Daily, Weekly, or Monthly.
- Select Backup metadata only, to create backups without trail files.
To view deployment backups, select Deployment backups on the deployment details page.
Creating a Manual Backup
To view deployment backups, select Deployment backups on the deployment details page.
Manual backup directory structure
You can create a manual backup of your OCI GoldenGate and save it to your Oracle Object Storage tenancy. From there, you can download the manual backup locally, and then access a full directory of the GoldenGate deployment's files, including log and trail files.
The directory structure of a manual backup appears similar to the following:
-
bin
-
cfgtoollogs
-
deinstall
-
diagnostics
-
include
-
install
-
inventory
-
jdk
-
jlib
-
lib
-
instantclient
-
sql
-
utl
-
-
OPatch
-
oraInst.loc
-
oui
-
srvm
The following table describes the key Oracle GoldenGate directories and the variables used to reference them. When you see these variables in an example or procedure, replace the variable with the full path to the corresponding directory path in your manual backup directory.
Directory Name | Variable | Description | Default Directory Path |
---|---|---|---|
Oracle GoldenGate home |
|
The Oracle GoldenGate home that is created on a host computer is the directory that you choose to install the product. This read-only directory contains binary, executable, and library files for the product. |
|
Deployment configuration home |
|
The location where each deployment information and configuration artifacts are stored. |
|
Deployment security home |
|
The location where each deployment security artifacts (certificates, wallets) are stored. |
|
Deployment data home |
|
The location where each deployment data artifacts (trail files) are stored. |
|
Deployment variable home |
|
The location where each deployment logging and reporting processing artifacts are stored. |
|
Deployment |
|
The location where your deployment configuration files are stored including parameter files. |
|
Viewing deployment backup details
To view details of a deployment backup, select Deployment backups on the deployment details page, and then select a backup from the list to view its details.
On the Deployment backup details page, you can:
- Restore
- Create Clone
- Move it to another compartment
- Add Tags
- Delete it
- View Deployment Backup information:
- Deployment Backup OCID
- Compartment
- When the backup was created
- When the backup was last updated
- When the backup started
- When the backup finished
- Backup type
- Backup size
- Source type (manual or automatic)
- Backup source
- Backup location
- Object name in Oracle Object Store
- GoldenGate version
- View Work Requests
Copy deployment backup
- Choose one of the following options:
- On the Deployment Backups page, from the Actions menu of a deployment backup, select Copy.
- On the Deployment Backups page, select a deployment backup. In the Deployment backup details page, from the Actions menu, select Copy .
- On the Copy backup panel, select a compartment from the dropdown and an Object storage bucket from the dropdown.
- Click Copy.
Note:
If you want a local copy of your deployment backup, you can download it from your Object Storage bucket.Restore a deployment from a backup
You can use a backup to restore a deployment to the state when the backup was created.
Create a deployment clone
You can use deployment backups to create a clone of a deployment.
You can create a deployment clone from the Deployment Backup details page. From the Actions menu, select Create Clone, and then complete the Create deployment clone wizard, which is identical to the Create deployment workflow. For more information, see Create deployments.