Skip to content

Commit ef99a0c

Browse files
committed
exacc-update-260626
1 parent 6b81ff8 commit ef99a0c

23 files changed

Lines changed: 593 additions & 133 deletions

File tree

data-platform/database-cloud-at-customer/exadata-cloud-at-customer/exacc-data-protection/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ Oracle's recommended approach.
8383
- [Use Oracle Data Guard with Oracle Exadata Database Service on Cloud@Customer - Documentation](https://docs.oracle.com/en/engineered-systems/exadata-cloud-at-customer/ecccm/ecc-using-data-guard.html)
8484
- [Using Autonomous Data Guard with Autonomous Database on Exadata Cloud@Customer - Documentation](https://docs.oracle.com/en/engineered-systems/exadata-cloud-at-customer/ecccm/adb-using-adg-with-adb.html)
8585
- [Backup from ExaDB-C@C to C3 Object Storage](https://github.com/oracle-devrel/technology-engineering/tree/main/data-platform/database-cloud-at-customer/exadata-cloud-at-customer/exacc-data-protection/backup-from-exacc-to-c3-object-store)
86+
- [ExaDB-C@C with Dedicated Backup Network to connect ZDLRA](https://github.com/oracle-devrel/technology-engineering/tree/main/data-platform/database-cloud-at-customer/exadata-cloud-at-customer/exacc-data-protection/exacc-zdlra-backup)
8687

8788
Reviewed: 06/24/26
8889

data-platform/database-cloud-at-customer/exadata-cloud-at-customer/exacc-data-protection/backup-from-exacc-to-c3-object-store/README.md

Lines changed: 9 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Backup from ExaDB-C@C to C3 Object Storage
22

3-
<div class="toc-macro rbtoc1782116934272">
4-
53
- [Use case](#BackupfromExaDBC@CtoC3ObjectStorage-Usecase)
64
- [Manual Backups on ExaDB-C@C](#BackupfromExaDBC@CtoC3ObjectStorage-ManualBackupsonExaDB-C@C)
75
- [Objective](#BackupfromExaDBC@CtoC3ObjectStorage-Objective)
@@ -12,9 +10,8 @@
1210
- [Testing](#BackupfromExaDBC@CtoC3ObjectStorage-Testing.1)
1311
- [Result](#BackupfromExaDBC@CtoC3ObjectStorage-Result.1)
1412
- [Summary](#BackupfromExaDBC@CtoC3ObjectStorage-Summary)
15-
</div>
1613

17-
# Use case
14+
## Use case
1815

1916
An Exadata Cloud@Customer customer with requirements to run applications on-premises for data residency and/or latency reasons will likely appreciate the consumption model of the Compute Cloud@Customer (C3).\
2017
If said customer also has database backup infrastructure limitations and require a consumption based backup/recovery solution, the C3 could potentially deliver resources for the ExaDB-C@C backups and recovery. This document does not discuss the merits of such solution, but will validate the technical feasibility.
@@ -74,14 +71,10 @@ The objective of this test is to verify functionality and potentially uncover an
7471

7572
### Detailed steps
7673

77-
#### <span class="nh-number">1. </span>Requirements
74+
#### 1. Requirements
7875

7976
The OCI .config file (if it exists as part of OCI CLI installation), can be used to retreive the required parameters.
8077

81-
<div class="code panel pdl" style="border-width: 1px;">
82-
83-
<div class="codeContent panelContent pdl">
84-
8578
``` syntaxhighlighter-pre
8679
[C3]
8780
user=ocid1.user.oc1..<complete ocid>
@@ -93,26 +86,14 @@ namespace=emeac3001
9386
cert-bundle=/home/opc/.oci/cert-bundle.crt
9487
```
9588

96-
</div>
97-
98-
</div>
99-
10089
These are environment variables that were used by OCI CLI for trial and error and troubleshooting.
10190

102-
<div class="code panel pdl" style="border-width: 1px;">
103-
104-
<div class="codeContent panelContent pdl">
105-
10691
``` syntaxhighlighter-pre
10792
export OCI_CLI_SUPPRESS_FILE_PERMISSIONS_WARNING=True
10893
export comp=ocid1.compartment.oc1..<complete ocid>
10994
export OCI_CLI_CERT_BUNDLE=/home/opc/.oci/cert-bundle.crt
11095
```
11196

112-
</div>
113-
114-
</div>
115-
11697
Connecting to the Virtual Machine with SSH
11798

11899
- [Connecting to a Virtual Machine with SSH](https://docs.oracle.com/en-us/iaas/exadata/doc/ecc-connect-to-the-service.html#ECCCM-GUID-91BB09F6-85BA-40BD-93EA-69A165A86CB4)
@@ -131,14 +112,10 @@ If your database have Automatic Backups enabled, follow the documenation to disa
131112

132113
- [Disabling Automatic Backups to Facilitate Manual Backup and Recovery Management](https://docs.oracle.com/en-us/iaas/exadata/doc/ecc-manage-db-backup-and-recovery.html#ECCCM-GUID-E8EB30A9-7E0F-48B6-8DCD-5B013A13E79C)
133114

134-
#### <span class="nh-number">2. </span>Creating directories and prepare for installtion of libopc
115+
#### 2. Creating directories and prepare for installtion of libopc
135116

136117
Create required directories:
137118

138-
<div class="code panel pdl" style="border-width: 1px;">
139-
140-
<div class="codeContent panelContent pdl">
141-
142119
``` syntaxhighlighter-pre
143120
sudo su - oracle
144121
[oracle@ecctc4n2 ~]$ mkdir -p /u02/app/oracle/oci_backup/lib
@@ -147,57 +124,33 @@ sudo su - oracle
147124
[oracle@ecctc4n2 ~]$ mkdir -p /u02/app/oracle/oci_backup/config
148125
```
149126

150-
</div>
151-
152-
</div>
153-
154127
Download the Oracle Database Cloud Backup Module (libopc) in case it is not already available at `$ORACLE_HOME/lib`
155128

156129
- [Oracle Database Cloud Backup Module](https://www.oracle.com/database/technologies/oracle-cloud-backup-downloads.html)
157130

158131
Unzip the OCI installer to the correct directory:
159132

160-
<div class="code panel pdl" style="border-width: 1px;">
161-
162-
<div class="codeContent panelContent pdl">
163-
164133
``` syntaxhighlighter-pre
165134
sudo su - oracle
166135
[oracle@ecctc4n2 ~]$ . /home/oracle/DB02t.env
167136
[oracle@ecctc4n2 ~]$ cd /u02/app/oracle/oci_backup
168137
[oracle@ecctc4n2 oci_backup]$ unzip $ORACLE_HOME/lib/oci_installer.zip -d .
169138
```
170139

171-
</div>
172-
173-
</div>
174-
175140
Repeat for all nodes in the VM Cluster
176141

177-
#### <span class="nh-number">3. </span>Import the C3 CA certificates
142+
#### 3. Import the C3 CA certificates
178143

179144
Get the java_home:
180145

181-
<div class="code panel pdl" style="border-width: 1px;">
182-
183-
<div class="codeContent panelContent pdl">
184-
185146
``` syntaxhighlighter-pre
186147
sudo su - root
187148
[root@ecctc4n2]# ls -ls /etc/alternatives/java
188149
0 lrwxrwxrwx. 1 root root 46 Aug 5 2025 /etc/alternatives/java -> /usr/lib/jvm/jdk-1.8.0_461-oracle-x64/bin/java
189150
```
190151

191-
</div>
192-
193-
</div>
194-
195152
Import the C3 CA certificates:
196153

197-
<div class="code panel pdl" style="border-width: 1px;">
198-
199-
<div class="codeContent panelContent pdl">
200-
201154
``` syntaxhighlighter-pre
202155
[root@ecctc4n2 ~]$ cd /usr/lib/jvm/jdk-1.8.0_461-oracle-x64/jre/lib/security
203156
[root@ecctc4n2 security]$ keytool -import -alias pca-bundle -keystore ./cacerts -file /tmp/cert-bundle.crt
@@ -207,13 +160,9 @@ sudo su - root
207160
pca-bundle, Mar 4, 2026, trustedCertEntry,
208161
```
209162

210-
</div>
211-
212-
</div>
213-
214163
Repeat for all nodes in the VM Cluster
215164

216-
#### <span class="nh-number">4. </span>Installing Oracle Database Cloud Backup Module (libopc) 
165+
#### 4. Installing Oracle Database Cloud Backup Module (libopc) 
217166

218167
If the C3 Private Key contains the OCI CLI label `OCI_API_KEY` as per the documentation recomendations, this needs to be removed prior to installing libopc. The label can be appended again to the key file after the installation is complete.
219168

@@ -222,10 +171,6 @@ If the C3 Private Key contains the OCI CLI label `OCI_API_KEY` as per the docume
222171

223172
Installing Oracle Database Cloud Backup Module (libopc):
224173

225-
<div class="code panel pdl" style="border-width: 1px;">
226-
227-
<div class="codeContent panelContent pdl">
228-
229174
``` syntaxhighlighter-pre
230175
sudo su - oracle
231176
[oracle@ecctc4n2 ~]$ . DB02t.env
@@ -251,15 +196,8 @@ Downloading Oracle Database Cloud Backup Module Software Library from Oracle Clo
251196
Download complete.
252197
```
253198

254-
</div>
255-
256-
</div>
257-
258199
Verify installation:
259200

260-
<div class="code panel pdl" style="border-width: 1px;">
261-
262-
<div class="codeContent panelContent pdl">
263201

264202
``` syntaxhighlighter-pre
265203
[oracle@ecctc4n2 oci_backup]$ cat /u02/app/oracle/oci_backup/config/••••••••••.ora
@@ -278,20 +216,12 @@ total 94932
278216
-rw-r--r--. 1 oracle oinstall 9801 Mar 4 09:09 python_readme.txt
279217
```
280218

281-
</div>
282-
283-
</div>
284-
285219
Repeat for all nodes in the VM Cluster
286220

287-
#### <span class="nh-number">5. </span>Testing the library and media communication
221+
#### 5. Testing the library and media communication
288222

289223
Testing the library and media communication:
290224

291-
<div class="code panel pdl" style="border-width: 1px;">
292-
293-
<div class="codeContent panelContent pdl">
294-
295225
``` syntaxhighlighter-pre
296226
$ sudo su - oracle
297227
[oracle@ecctc4n2 ~]$ sbttest foo -libname /u02/app/oracle/oci_backup/lib/libopc.so
@@ -341,18 +271,10 @@ proxy copy is not supported
341271
*** The SBT API test was successful ***
342272
```
343273

344-
</div>
345-
346-
</div>
347-
348-
#### <span class="nh-number">6. </span>Configuring RMAN and run backup
274+
#### 6. Configuring RMAN and run backup
349275

350276
Make sure to have "`set encryption on"` when doing backups
351277

352-
<div class="code panel pdl" style="border-width: 1px;">
353-
354-
<div class="codeContent panelContent pdl">
355-
356278
``` syntaxhighlighter-pre
357279
$ sudo su - oracle
358280
[oracle@ecctc4n2 ~]$ . DB02t.env
@@ -404,16 +326,8 @@ Finished Control File and SPFILE Autobackup at 04-MAR-26
404326
released channel: cloud1
405327
```
406328

407-
</div>
408-
409-
</div>
410-
411329
List the completed backup. Retrieve the backupset number from the previous backup execution. In this example it was 10667.
412330

413-
<div class="code panel pdl" style="border-width: 1px;">
414-
415-
<div class="codeContent panelContent pdl">
416-
417331
``` syntaxhighlighter-pre
418332
RMAN> list backupset 10667;
419333
@@ -427,27 +341,15 @@ BP Key: 10667 Status: AVAILABLE Compressed: YES Tag: TEST_CF_RUN1
427341
Handle: dn4i520q_10679_1_1 Media: ••••••••••.•••••••••.••.<url>/n/osce~/dbcs-bucket
428342
Control File Included: Ckp SCN: 37380583 Ckp time: 04-MAR-26
429343
```
430-
431-
</div>
432-
433-
</div>
434344
Check the contents of the C3 bucket:
435345

436-
<div class="code panel pdl" style="border-width: 1px;">
437-
438-
<div class="codeContent panelContent pdl">
439-
440346
``` syntaxhighlighter-pre
441347
[opc@ecctc4n1 ~]$ oci --profile C3 os object list -ns oscemea001 -bn dbcs-bucket | grep "dn4i520q_10679_1_1"
442348
"name": "file_chunk/1000593576/DB02T/backuppiece/2026-03-04/dn4i520q_10679_1_1/720ab7C87fpP/0000000001",
443349
"name": "file_chunk/1000593576/DB02T/backuppiece/2026-03-04/dn4i520q_10679_1_1/720ab7C87fpP/metadata.xml",
444350
"name": "sbt_catalog/dn4i520q_10679_1_1/metadata.xml",
445351
```
446352

447-
</div>
448-
449-
</div>
450-
451353
## Result
452354

453355
As shown in the above testing we can successfully backup Exadata Cloud@Customer databases to Compute Cloud@Customer object storage service by using manual backup procedure.\
@@ -486,7 +388,7 @@ C3 only supports OCI Object Storage endpoints, neither SWIFT nor S3 endpoints ca
486388
The testing of Automatic/User Configured Backups from ExaDB-C@C to C3 Object Storage Service failed.
487389
This backup method is not available.
488390

489-
# Summary
391+
## Summary
490392

491393
As shown in the above testing we can succesfully backup Exadata Cloud@Customer databases to Compute Cloud@Customer Object Storage service. This makes the Use Case described earlier confirmed from a technical point of view. The validity of said Use Case is a different discussion that includes more considerations than covered here.
492394

@@ -503,7 +405,7 @@ For Autonomous Databases on ExaDB-C@C that can not use the Manual Backup method
503405

504406
Using the File Storage Service on C3 is an option that is likely to be too expensive.
505407

506-
Reviewed: 06/24/2026
408+
Reviewed: 06/26/2026
507409

508410
# License
509411

0 commit comments

Comments
 (0)