Comments (3)
Keeping backup inside container is generally not a good idea as when container is removed, your backups are lost.
If both the containers are in same host machine, i am thinking why not add another docker volume mapping to both rac containers while creating and take backup over there? However i am not sure whether to go with single shared volume for both containers or have dedicated volume for each? I think it would depend upon your customer if he wants some isolation between two disk or ok with shared one?
docker volume create oracle_backup_vol
docker run -d <> -v oracle_backup_vol:/home/oracle/backup
After backup we can check backed up data in ls /var/lib/docker/volumes/oracle_backup_vol/_dataβ
Will also try and update you.
from docker-images.
Discussed in email to you, i am not rman expert, but you can use rman consistent backup location everytime you connect to rman. may be add that as docker volume as well
--volume rman_backup_volume:/u01/backup:rw \
docker volume create rman_backup_volume
docker exec -it racnode1 bash
chown oracle:racdba /u01/backup
docker exec -it racnode2 bash
chown oracle:racdba /u01/backup
RMAN>
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u01/backup/%U';
--then do backup and point in time recovery---
Can also validate backup in location in host machine-
ls -lrt /var/lib/docker/volumes/rman_backup_volume/_data/
from docker-images.
by using ASM as the only location for the archive logs, it was resolved.
thank you Saurabh and thank you Jyoti :-)
sqlplus "/ as sysdba"
alter system set db_recovery_file_dest='+DATA' scope=spfile;
alter system set db_recovery_file_dest_size=100G scope=spfile;
alter system set log_archive_dest_1='location=USE_DB_RECOVERY_FILE_DEST';
from docker-images.
Related Issues (20)
- Unable to pull oracle/weblogic:12.1.3-developer image HOT 2
- Creation of OracleDatabase 21c errors with out of memory HOT 2
- oracle 19c image doesn't work :LRM-00109: could not open parameter file HOT 1
- Request to change instances of "PDB_ADMIN" to "PDBADMIN" in documentation/READMEs
- Building Oracle EE arm64 on x86 with docker buildx fails
- The Oracle port has not been modified
- Can DB_DOMAIN in OracleDatabase/SingleInstance? HOT 2
- How to use yum when running scripts after setup HOT 6
- any plan to support of oracle instant client with oraclelinux 9 HOT 1
- Unable to create multiple replicas on kubernetes cluster HOT 2
- Install manually oracle-database-preinstall-19c HOT 1
- Reuse Existing Database Files When Re-creating an Oracle 19c Container HOT 4
- `Password: su: Authentication failure` error when starting the container HOT 2
- Bash environment of _oracle_ user broke. HOT 9
- Failed to connect to the specified database (ORCLCDB). HOT 3
- container-registry.oracle.com/database/enterprise:12.2.0.1-slim -e ORACLE_CHARACTERSET it does not work HOT 1
- DB oracle error [FATAL] ORA-03114: not connected to ORACLE HOT 7
- poman-desktop valumes binding problem
- Oracle 19.3 image looks too heavy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-images.