RMAN - Implementation
Currently we do HOTBACKUPs and EXPORT... Now I am planing to implement RMAN. Can you please check the below
steps and let me know what changes/steps should I further add in... EXCEPT RECOVERY CATALOG
RMAN> connect target sys@rock
target database Password:
connected to target database: ROCK (DBID=3255117147)
using target database control file instead of recovery catalog
1. Configuration
-1.a CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
-1.b CONFIGURE CONTROLFILE AUTOBACKUP ON;
I have created 3 batch files and scheduled it as below mentioned days.
2. LEVEL-0 BACKUP (SUNDAY)
-2.a rman_backup_incremental_Level_0.rcv
backup as compressed backupset incremental level 0 database plus archivelog;
restore database validate;
exit;
3. LEVEL-1 BACKUP (Wenesday)
-3.a rman_backup_incremental_Level_1.rcv
backup as compressed backupset incremental level 2 database plus archivelog;
restore database validate;
exit;
4. LEVEL-2 BACKUP (mon,tue,thu,fri,sat)
-4.a rman_backup_incremental_Level_0.rcv
backup as compressed backupset incremental level 1 database plus archivelog;
restore database validate;
exit;
-------------
Hi,
you must understand the concept correctly
CONFIGURE RETENTION POLICY TO REDUNDANCY 2
your retention policy to have to duplicate copies - to maintain for recovery purpose.When you ask the ORACLE with help of rman to report the obsolete, then it will check with the copies and retention policy and which are required like arch2 will be not be marked and displayed as obsolete
day1:- I have backup of database plus (arc1, arch2, arch3)
day2:- backup of dababase plus (arc4, arch5, arch6)
day3:- backup of dababase plus (arc7, arch8, arch9)
- The two recent backup will be available all other backups are marked obsolete/delete..
- arch2 and arch3 are in day1 backup, which is marked obsolete/deleteYou must check the type of backups you are taken in to consideration as given in day1, day2, ...etc.,
- Pavan Kumar N
- ORACLE 9i/10g - OCP
http://www.oracleinternals.blogspot.com
Similar Messages
-
The most basic RMAN implementation
Version:10gR2
For my test db ora652, i need to use RMAN for backup and recovery. The backup location is an NFS mount called
/dbbackup/ora652I need to use the most basic RMAN implementation. I don't want to use a repository (Client RMAN)ie. i am going to invoke the RMAN utility from Database's ORACLE_HOME to do this.
Can anyone provide me the command to configure RMAN for this?
Here are my files
--datafiles
/u02/oradata/ora652/system01.dbf
/u02/oradata/ora652/undotbs01.dbf
/u02/oradata/ora652/sysaux01.dbf
/u02/oradata/ora652/users01.dbf
/u02/oradata/ora652/shp_tbs01.dbf
--temp files
/u02/oradata/ora652/temp01.dbf
--redo logs
/u02/oradata/ora652/redo01.log
/u02/oradata/ora652/redo02.log
/u02/oradata/ora652/redo03.log
--control files
/u02/oradata/ora652/control01.ctl
/u02/oradata/ora652/control02.ctl
/u02/oradata/ora652/control03.ctlA couple of things....
1) Did you know that Oracle actually provides documentation on how to do this type of thing? You can find the Oracle Database Backup and Recovery Basics guide at:
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/toc.htm
You will be amazed...they actually provide guidance on scenarios as well.
Here is the "basic" script they show for backing up a database.
RMAN> RECOVER COPY OF DATABASE WITH TAG "whole_db_copy";
# Make an incremental backup of the database to the flash recovery area.
RMAN> BACKUP INCREMENTAL LEVEL 1
FOR RECOVER OF COPY WITH TAG "whole_db_copy"
DATABASE;
Now those are the basic commands you can execute at the command line. There are other possibilities depending on your platform is a shell script with a cron job, manually as the above script shows, shell script executed manually, Oracle Enterprise Manager (which is a pretty little GUI that requires no coding on your part), 3-rd party software.
2) You better test this on a non-production system.
3) You better test the restore on a non-production system.
4) You better have plans for storing your backups offsite....hate for a fire to destroy your system and all copies of the backups...wow your boss would be mad.
5) You better read the documentation and understand RMAN in general.
Regards
Tim -
Hi,
I connected the oracle system through connect as / sysdba. Please suggest me how to configure or connect to RMAN .
Regards,
AsifHello Asif,
are you aware, that if you are using RMAN manually - you don't get any support by SAP (check sapnote #105047 - Point 47)?
And if you don't know howto connect to RMAN, i highly recommend "Don't do it manually!"
The RMAN implementation in BR*Tools is explained very well:
http://help.sap.com/saphelp_erp2004/helpdata/en/0e/f10a7443d711d29fef0000e8a5ae06/content.htm
Regards
Stefan -
Rman backup and recovery architecture question.
Hi
Oracle : 11.2.0.2.0
OS : Redhat Linux.
We currently have RMAN implemented with scirpts taking backups for each database.These run through cron jobs on nightly schedule.
I am tasked with the automation of the recovery process , that will happen maybe every quarterly to check if we can recover effetively from the backups.( don't ask why).
My questions are
1) Should I be using OEM to do RMAN recovery instead of my scripts. What are the cons of doing it this way.
2) I have around 20 databases. My thought is to seetup Grid Control, and effectively setup the backups there provided answer to question 1 is yes.
3) Is there a way to automate the recovery using Grid control.
4) Should I be doing it differently and if so what? What is the standard practice?
Thanks in advance for your help.Hi,
My suggestion is scripting.
You can find some recovery methods.
http://taliphakanozturken.wordpress.com/2011/05/26/rman-data-recovery-methods/
Talip Hakan Ozturk
http://taliphakanozturken.wordpress.com/ -
I want to set log_archive _start paramtere true after instance start up. af
i want to set log_archive _start paramtere true after instance start up. after setting database in archive log mode . How
everything OK with you ?
1. . can we use single listner for oracle 9i & 10g which is i
Posted on: Mar 15, 2008 6:01 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
2. how can i change max data file paramtere which is use in create database sc
Posted on: Mar 15, 2008 6:10 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
3. how see the globle name of database
Posted on: Mar 15, 2008 6:28 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
4. how sga use if i execute select * from emp whree empid=111;
Posted on: Mar 15, 2008 6:19 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
5. how u see how many database are on ur linux box & how many start or stop
Posted on: Mar 15, 2008 6:03 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
6. i want to set log_archive _start paramtere true after instance start up. af
Posted on: Mar 15, 2008 6:12 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
7. if i dont specify the log file in export but export complete with warning
Posted on: Mar 15, 2008 6:13 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
8. if ur database crash u have only export of database how u create database f
Posted on: Mar 15, 2008 6:14 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
9. is it possible to take export of close database
Posted on: Mar 15, 2008 6:13 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
10. is it possible we can define the path of control file backup by creating a
Posted on: Mar 15, 2008 6:20 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
11. Re: how we see versions of component those install with oracle
Posted on: Mar 15, 2008 6:36 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
12. row chaning how u eliminate
Posted on: Mar 15, 2008 6:23 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
13. Some inter view Questions Please give prefect answer help me
Posted on: Mar 9, 2008 10:32 AM, by user: aditi -- Relevance: 100% -- Show all results within this thread
14. ur database size is 100gb when u take export eport dmp sixe is 90gb but ur
Posted on: Mar 15, 2008 6:00 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
15. ur mount point have not more space and ur system table space is full how u
Posted on: Mar 15, 2008 6:06 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
16. ur temprory tablespace full . how u resize or increase size of file .
Posted on: Mar 15, 2008 6:04 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
17. user say ur database is slow how u slove this how identified reasons
Posted on: Mar 15, 2008 6:17 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
18. what is diffrence when u install 9i and 10g on linux. which feature provide
Posted on: Mar 15, 2008 6:08 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
19. what is facture block
Posted on: Mar 15, 2008 6:11 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
20. what is grid . how grid work. is it possible grid in 9i . how
Posted on: Mar 15, 2008 6:25 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
21. what is pre reqiest of rman implementation
Posted on: Mar 15, 2008 6:15 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
22. what is process of patching on linux & windows
Posted on: Mar 15, 2008 6:16 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
23. what is steps of cloning
Posted on: Mar 15, 2008 6:24 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
24. when u install oracle where the oracle installation inventory information s
Posted on: Mar 15, 2008 6:07 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
25. which type of joins we can see in tkprof information
Posted on: Mar 15, 2008 6:22 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
26. why r we not use tablespce begin backup with read only tablespace
Posted on: Mar 15, 2008 6:18 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread -
Export backups failing - Need advice
Hello All,
We have a 10.2.0.3 database for which we have to take export backups everyday in maintainence window, when only batch jobs and other non essentials SQL's are running on the database.
The export command we have used in our script is as under:
$ORACLE_HOME/bin/exp / file=$ORACLE_DUMP_FILE compress=y full=y direct=n buffer=20480000 consistent=y statistics=none log=$ORACLE_LOGAtleast 3-4 times in a week, the export backup us failing with ORA-01555 errors like the one below:
EXP-00008: ORACLE error 1555 encountered
ORA-01555: snapshot too old: rollback segment number 10 with name "_SYSSMU10$" too small
EXP-00000: Export terminated unsuccessfullyMy DB is configured as:
SQL> show parameter undo_
NAME TYPE VALUE
undo_management string AUTO
undo_retention integer 54000
undo_tablespace string UNDOTBSAlso:
SQL> select max(tuned_undoretention) from v$undostat;
MAX(TUNED_UNDORETENTION)
75598The Max value is reached somewhere in the evening, but our job runs at
SQL> select begin_time from v$undostat where TUNED_UNDORETENTION = 75598;
BEGIN_TIME
29/05/2012 17:39:46At the time (as per my log file) when my export job failed, the above value was:
SQL> select TUNED_UNDORETENTION from v$undostat where BEGIN_TIME like '29/05/2012 16:2%';
TUNED_UNDORETENTION
71318Please advice how the above issue can be addressed/resolved.
For further information, please let me know. Thank you.
Suddhasatwa
India.
Edited by: SBhaumik_DBA on May 30, 2012 9:50 PMHello. Thanks for the inputs on CONSISTENT option. There are pre-laid change mgmt processes in every organisation which needs to be maintained/taken in account before such changes are made, and that too, with client approvals, etc. Since it was not a feasible option to get EXPDP or RMAN implemented at this point, so was this question raised.
There is a small issue, however, if we use CONSISTENT=N. Below is an extract from asktom.oracle.com:
>
imagine if you started an export at 9am of the EMP and DEPT tables.
EMP started exporting at 9am and DEPT at 9:15am.
Now, the EMP data would be "as of 9am", but the DEPT data would be as of 9:15am. What if
you import that data now -- will it work? maybe, maybe not -- perhaps at 9:10am, someone
fired the last employee in department 50 and deleted department 50. Your EMP export
would have them in this deptno, your DEPT export would not have this deptno. The import
would fail.
If you use consistent=y, Oracle will export all of the data "as of 9am", so deptno=50
will be included in all tables and the import will succeed.
>
That's one of the risks involved.
Is there any other solution we can have in place for this issue? Thanks. -
Implementation of ORACLE9i RMAN physical standby database`
Sir's,
How to implement RMAN in the physical standby databaseHi Ashu Goel,
Can u let me know any thing abot the prerequistw of implementation with the configuration settings of the above said.If I understand you correctly you want to use rman to backup an already existing dataguard setup.
Doing this would be very similar as a normal rman backup with the limitation you have to stop the recovery during the backup window and run the backup in mount mode.
To make a consistent backup of the standby database, make sure that the last shutdown of the standby database was clean and that it was not placed in recovery mode after that time, and then mount the control file. For example:
sqlplus SYS/oracle@sbdb1 <<EOF
SHUTDOWN IMMEDIATE
STARTUP NOMMOUNT PFILE=initSTANDBY.ora
ALTER DATABASE MOUNT STANDBY DATABASE;
EOF
You can back up the standby database when it is in any other mode, but the backups will be inconsistent.
Start RMAN and connect to the standby database with the TARGET keyword (not the AUXILIARY keyword) and the recovery catalog database. You must be connected to the recovery catalog. For example, enter:
% rman TARGET SYS/oracle@sbdb1 CATALOG rman/cat@catdb
If do not have automatic channels configured, then manually allocate one or more channels of type DISK or sbt. Note that you are connected to the standby host, so the backups are made by server sessions on the standby (not the primary) host.
This example backs up all the standby datafiles as well as the control file and archived logs by using automatic channels:
BACKUP DATABASE PLUS ARCHIVELOG;
Regards,
Tycho -
Hi All,
We are planning to implement the rman backup for the 10.2.0.4,10.2.0.5,11.1.0.7 and 11.2.0.2 databases (around 500 databases).For that i need all your advice for the below queries
1) Which database version is best for the recovery catalog database ?
2) How many databases we can register in the recovery catalog database ? Is there any limitation ?
3) We are planning to implement incremental backup for some databases . For that what is the best solution for this ? we are concerning
about the retention period ..?
4) what is the best backup method for huge size databases OLTP( 1TB , 2TB ) and OLAP databases ?
Please advice me . Thanks a lot
Regards
KamalHello , :
I am able to connect the target database thro RMAN, when
my target database open and running.
How can I startup the target database through RMAN.
I am not able to connect to target database through RMAN.
when target database is down.
RMAN> connect catalog rman/rman
RMAN> connect target sys/oracle@ringtest
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-12505: TNS:listener could not resolve SID given in connect descriptor -
RMAN : Mechanism to implement
Hi Team,
We have few Exadata customers for which RMAN is the method for database backups.
If backup is failed, cit-backups team get email and they will fix it. But if backups are not started/happening from couple of days, weeks, months,, there is no mechanism to identify that.
The GIT scirpt shall extend the functionality,, to check DB is UP, crontab level0 or other entries are uncommented, but still RMAN is not starting/happening on time.. such issues it shall report. We have experienced for some database, RMAN is not happening for a month & no one is aware of that & no one has any SR or email.
This mechanism to be implemented. Included Raja R & Nitin V.
Please let us know, if someone knows this mechanism is already in place.
Regards
PraveenAs suggested ,
Create the logfile using RMAN and then if you do not want too many mails then simply do this :
generate the logfile
run a shell script to see the logfile exists , if does not then send an email..
after that mv the logfile to another location ( this will ensure that if the backup did not run , you wont have the old logfile in place).
Occasionally check the logfiles to ensure the backup is going fine and not failing. dont delete the archives before checking.
regards
Karan -
Can we implement goldengate replication between Oracle to Oracle using RMAN
Dear All,
I have already implemented Oracle Golden Gate Between Oracle Database 11gR2 on Linux.
The method I have been using to copy database on Target is like this:
select dbms_flashback.get_system_change_number() from dual;
expdp user/password directory=backup_dir flashback_scn=1355907575 dumpfile=gg.dmp logfile=gg.log schemas=radius
scp radius_dsl_gg.dmp [email protected]:/backup
impdp user/password directory=backup_dir dumpfile=gg.dmp logfile=gg.log schemas=radius
I want to replace this data pump with RMAN, because most of the time I don't have enough disk space to take data pump in production server. How can I replace it with RMAN and how can i track new records inserted in production database like we use flashback_scn in data pumps. Or is there any other better solution.
Has anyone done this, kindly share your knowledge.
Regards, ImranYou don't need a dump file for DataPump, you can load directly through a database link thus eliminating the space required for the intermediate dump file.
With RMAN you will either be looking for a point-time DB restore/recover as of specific SCN and then you can start the Replicat from that SCN. You can do a TSPITR + TTS if replicated data is a small subset of the entire database. If you can put the entire tablsapce to be read only then you can get away with only TTS as well. You configure Extract before you start any restore/recover and that's how you track outstanding changes. -
Hi Team,
I am a new bie to RMAN concepts. I just went through basic concepts and tried to implement RMAN in one of my test server which is Oracle 9i.
I have given few configurations and executed the below command through RMAN prompt.
BACKUP
FORMAT '/opt/backup/RMAN/%U'
DATABASE;
This backed up all .dbf files successfully but its consuming space.
So, i need to try Compressed RMAN concept. Please let me know if compressed backup is supported in Oracle 9i.
If yes, Kindly give me the basic command to implement.
I tried the below command. But its throwing error.
RMAN> BACKUP AS COMPRESSED BACKUPSET DATABASE;
Please suggest.
Thanks,
VidhyaHello,
Oracle 9i does not support compressed RMAN backups. It came in as a feature from 10g.
http://www.oracle.com/technetwork/database/features/availability/rman-dataguard-10g-wp-1-129486.pdf
You can try zipping the backup pieces once the backup is completed in order to save the disk space.
If you feel that your question has been answered, then please consider closing your question by providing appropriate points. -
Dear Oracle experts,
I am new for RMAN. I am good with Backup/recovery concepts. But I do not know about the RMAN concepts. Can you please provide the steps to implement the RMAN and how to recover the data file by using RMAN.
Can you please guide me?
I would really appreciate, if you could give me the steps to implement the RMAN. I am using oracle9i.
Thanks in advance.There are articles on the Web - a google search will
reveal these. However, the best place to start is,
as always, the documentation. See:
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96564/toc.htm
Hope this helps.
Kailash. -
Implementing RAC database backup through RMAN and grid control.
Hi...
plz... can any one give me good document (metalink documents id or else) to implement RAC database backup through RMAN. and also grid document...user8943492 wrote:
Hi...
plz... can any one give me good document (metalink documents id or else) to implement RAC database backup through RMAN. and also grid document...Read below links
http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/backup.htm#i443637
http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/rmanops.htm#i474611
http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/toc.htm -
Implementation of Goldengate with RMAN
hi,
I just want to integrate the RMAN with Goldengate. just want to purge the trailfiles on source through RMAN.
Any document or link You reffer.
Regards,
AMSIISo, RMAN, being used for backup and recovery, is now supposed to be used to manage files in an entirely separate application? I don't think so.
-
How to delete archivelog with RMAN in the Primary and Standby database?
Hello,
I am working on Oracle 10gR2.
My question is :
How could I implement a automatized and secure way of:
1) Delete archivelogs on my PRIMARY server only when these logs are successfully TRANSFERED to all my standby databases?
2) Delete archivelogs on my STANDBY server only when these logs are sucessfully APPLIED to the database?
Thanks a lot for your help!on 10G
CONFIGURE ARCHIVELOG DELETION POLICY TO [CLEAR | NONE | APPLIED ON STANDBY];
http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/rman.htm#CHDBEICE
Coskan Gundogar
http://coskan.wordpress.com
Maybe you are looking for
-
HTTP500 error when loading jsp in SunOne (iPlanet) 6.1 SP2
war file extracts and runs under iPlanet 6.0 SP7 on the same server and another server, however, I get the following errors in the error log when I attempt to load pages via the installation on SunOne (iPlanet) 6.1 SP2. Did 6.1 change how it compiles
-
Kodak Easy Share Crashes When importing From iPhoto 7.1.5
Hi, just tried exporting to Kodak Easy Share and received this long error report. Can anyone help? Kodak EasyShare Version 6.1 (Build 84) Mac OS Version 10.6.1 (Build 10B504) * Crash log * * No log available (log file not found) * * Trace Log *: l] (
-
Process: Mail [500] Path: /Applications/Mail.app/Contents/MacOS/Mail Identifier: com.apple.mail Version: 6.5 (1508) Build Info: Mail-1508000000000000~1 Code Type: X86-64 (Native) Parent Process: launchd [13
-
All of the sudden, iChat is not letting me send a file, but it lets me receive them. The person on the other end is getting a message saying it is waiting for me to start, and I usually get an error or it tells me the other person did not accept the
-
Errors after moving databases in SCOM 2012
I have recently moved both the Operational DB and the DataWarehouse DB from the original server to a SQL cluster. Following the guides below worked and SCOM is up and running, at least some sort of success. The problem is that it seems SCOM is trying