GithubHelp home page GithubHelp logo

Comments (3)

saurabhuja avatar saurabhuja commented on May 28, 2024

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.

saurabhuja avatar saurabhuja commented on May 28, 2024

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.

yanivharpaz avatar yanivharpaz commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.