How popular is RMAN
I've been working as a DBA supporting applications development. Now,i have decided to move to Production Side. Now i am preparing for interviews. Before i spend time learning RMAN, I just want to know whether it is worth learning RMAN coz It wasn't very popular back in 2005.
Corrected to popular
Message was edited by:
user609308
Hi,
>>Before i spend time learning RMAN, I just want to know whether it is worth learning RMAN coz It wasn't very popular back in 2005.
Of course it is ... In addition to Richards' post, I think that even though the user managed backup has been historically helpful in previous Oracle versions (7, 8 ...), I think that the current trend shows that not only most larger database sites, but also small and medium databases are using RMAN to conduct their backups. The reason for this is because of RMAN’s extended it capabilities (9i, 10g, 11g). However, either the OS backup or user managed backups can be still useful to the DBA (it depends of each Oracle environment). For me, had been performed user managed backups has been very useful to understand the physical backup/recovery fundamentals. In the same way, I believe that you can use RMAN also to train yourself so that you understand the physical backup fundamentals though. Well, my tip here is: after you have learned as much as you can from the user managed backup, move on to RMAN, in order to build on these fundamentals ... ;-)
Cheers
Legatti
Similar Messages
-
How to get RMAN catalog information from Target database?
Hi,
How to get RMAN catalog information from Target database because i don't know about catalog database? is it possible?
ThanksIf you run RMAN backups of a target database using a Catalog schema in another database, the target is not aware of the catalog.
The RMAN backup script would have the connection identifier for the Catalog.
Hemant K Chitale -
How to configure Rman for Grid 11g
hi all
i am using Oracle Grid 11g R2.
Oracle Database 11g R2.
Oracle Linux 5.5
i want to configure Rman for my Rac i searched and found some notes
such as
http://oraclehack.blogspot.com/2010/07/oracle-11gr2-rman-netbackup-and-media.html
http://oracle-tns.com/duplicate-an-oracle-11gr2-with-rman/
can anyone guide me how to configure Rman?
Question Moved To Rman Forum!
nisha
Edited by: nisha on Jun 5, 2011 9:44 PMhi
what is SBT here?
CONFIGURE DEVICE TYPE sbt PARALLELISM 3;
Channel Connections to Cluster Instances with RMAN
Channel connections to the instances are determined
using the connect string defined by channel configurations.
For example, in the following configuration, three channels are allocated using dbauser/pwd@service_name. If you configure the SQL Net service name with load balancing turned on, then the channels are allocated at a node as decided by the load balancing algorithm.
CONFIGURE DEVICE TYPE sbt PARALLELISM 3;
CONFIGURE DEFAULT DEVICE TYPE TO sbt;
CONFIGURE CHANNEL DEVICE TYPE SBT CONNECT 'dbauser/pwd@service_name'Edited by: nisha on Jun 6, 2011 12:27 AM -
How to stop RMAN backup in solaris platform.
Dear All;
How to stop RMAN backup in solaris platform.
Ranjan788442 wrote:
How to stop RMAN backup from oracle end.
To stop Rman backup you have to identify rman session as below
select * from v$session
where MODULE like 'rman%'or you can use v$rman_status identify sid and serial then kill this session as
alter system kill session '<sid>,<serial>' immediate; -
hello all.
i want to create Rman backup for my live database can anyone guide me that how to create rman backup
and how to store in tape?
please provide me steps.
thanks in advance.
sarahStart with that guide. Clear your concept first.
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/toc.htm
Also, you can use this script to take the RMAN backup by shell scripts.
#!/bin/bash
export ORACLE_SID=watst
export ORACLE_HOME=/u01/appl/oracle
export PATH=${PATH}:${ORACLE_HOME}/bin
rman target sys/password@watst << EOF
run {
allocate channel ch1 device type disk;
backup incremental level 0 format '/u04/rman_backup/RMAN_DBF_FMS<%s:%t:%p>.bkp' database;
sql 'alter system archive log current';
backup format '/u04/rman_backup/RMAN_ARCH_FMS<%s:%t:%p>.bkp' archivelog all delete input;
backup format '/u04/rman_backup/RMAN_CTL_FMS<%s:%t:%p>.bkp' current controlfile;
EOF
Regards
Asif Kabir -
How to get RMAN backup logfile.
Hi All,
Can u tell me How to get RMAN backup logfile after completion of the backup.SQL> desc v$rman_output
Name Null? Type
SID NUMBER
RECID NUMBER
STAMP NUMBER
SESSION_RECID NUMBER
SESSION_STAMP NUMBER
OUTPUT VARCHAR2(130)
RMAN_STATUS_RECID NUMBER
RMAN_STATUS_STAMP NUMBER
SESSION_KEY NUMBERIt works for me -
How to identify rman backup level?
Hi,
I am using rman catalog for rman backup. how to identify rman backup level from catalog.
Thanks,By doing the obvious and consulting the online documentation at http://tahiti.oracle.com
You will notice the list backup command output has a level column and this is also present in rc_backupset and/or rc_backuppiece.
Sybrand Bakker
Senior Oracle DBA -
How to restore RMAN hot backup to another database on another server?
I want to know how to restore RMAN hot backup from production server to another database on a testing server.
The hot backup is from a database named PROD on the production server
The database to be restored with the hot backup is TEST on the testing server. There is already a PROD database on the testing server and this PROD database must be kept.
I have read some threads about changing initTEST.ora to PROD to restore such backup but (I think) will not work in my case since I already have a PROD database on the testing server.
The version is 11gR2 on Linux but the compatible parameter is set to 10.2.0.1.0.
Thanks for any help.Hi,
Since you are on 11g, hope this helps you http://shivanandarao.wordpress.com/2012/04/28/duplicating-database-without-connecting-to-target-database-or-catalog-database-in-oracle-11g/
881656
Handle: 881656
Status Level: Newbie
Registered: Aug 25, 2011
Total Posts: 53
Total Questions: 31 (31 unresolved)
Looks like forum is of no help to you. To get better responses, consider closing your threads by providing appropriate points if you feel that they have been answered. Keep the forum clean !! -
How to confiuge RMAN offline and online back-up at a pre-determined time.
Hallo!I am an Oracle newbie currently studying the Oracle 10g Database Administration Certification.Still very new to Enterprise Manager.
My query is that can you configure an offline database back-up such that you can set up an offline backup at a pre-determined time?
I am assumng a real-office scenario where a DBA would like to have an offline back-up at night e.g. at 1 am when they are no users in the office.If the DBA can set the system such that everday at 1 am ,the instance shuts down,back-up is done e.g a backup set that can be stored on tape,then after backup the instance re-starts itself.All this should be automated such that by the time staff report in the morning ,the instance is up and running and users can work seamlessely
How can I automate this entire process using RMAN and/or Enterprise Manager or a sript to achieve this?Also,I would like to know if you can automate the same for online back-up such that it can backup while instance is still running and users are accessing the DB.
Please help me on this and I shall be infinitely grateful.Thanks in advance.Hi,
On UNIX server, you can use shell script and sql scripts that can do this job for you. Once the scripts are tested succesfully, you can put them in the crontab.
Crontab entry should reflect the time, day, week, month details as you thought to schedule it.
This link may help you. http://www.dbasupport.com/oracle/scripts/Backup_Recovery/RMAN_Backup/
Regards,
vasu -
How to upgrade RMAN catalog from 10.2.0.4 to 11?
Hi, we are on Oracle 10.2.0.4, Solaris 5.10. Our RMAN catalog is 10.2.0.4 version and we have several 11g databases that need to connect to the catalog and obviously cannot. So we need to upgrade the catalog to 11. Does anyone have any docs on how to do it. Do I need to upgrade RMAN database to 11 via conventional upgrade and then do UPGRADE CATALOG? Really confusing, any help would be very appreciated.
Thank you!You need to:
1 - upgrade the recovery catalog database
2 - upgrade the recovery catalog Schema
Please check the details on note *452529.1 Recovery catalog for RMAN backup*.
Normally newer databases (target) can be cataloged on previous version catalog database, but with 11g there is the bug 6756872 (RMAN REGISTER OF 11G TARGET INTO 10G CATALOG FAILS WITH ORA-04028) which force you to upgrade the catalog.
You can also review RMAN Compatibility Matrix (Note 73431.1) which has all valid version combinations.
If your scenario is simple enough, another option could be create a new 11g RMAN catalog and register there your databases, without importing data from the 10.2 catalog.
Regards. -
How to resolve RMAN:06172
Hi All,
This is my first thread.
I am junior Oracle DBA and recently I was told to do a RMAN restoration from a set of backup files which consists 1CT & 5DF files. This back up was taken at some other region.
I created a database to restore the files, I used the command:
rman target /
RMAN> restore control file from '/temp/bkp/ct_784333_p2'
Starting restoring at 22-NOV-11
using channel ORA_DISK_1
RMAN-00571:
RMAN-00569: ERROR MESSAGE STACK FOLLOWS
RMAN-00571:
RMAN-03002: failure of restore command at 11/22/2011 16:10:51
RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
Can anyone pls tell me how to solve this issue..
I even tried by creating a pwdfile and pfile from a plain database and edited the pfile. Executed the same command and got the same error.
Then by searching in forums and googling I came to know that I must have at least one physical file that is controlfile to restore.
But unfortunately I don't have one. So kinldy pls tel me anyother way to restore this..
This is quite urgent..
Thanks in advanceI will explain briefly what I did.. I created a db named "alhbtst2" through dbca to restore this backup.
and now I started db in nomount stage and gave the restore command in rman and got the error. i have pasted the output below:
SQL> startup force nomount
ORACLE instance started.
Total System Global Area 1610612736 bytes
Fixed Size 2084400 bytes
Variable Size 385876432 bytes
Database Buffers 1207959552 bytes
Redo Buffers 14692352 bytes
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64 bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
$ export ORACLE_SID=alhbtst2
$ rman target /
Recovery Manager: Release 10.2.0.4.0 - Production on Tue Nov 29 15:11:49 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: alhbtst2 (not mounted)
RMAN> set dbid 2995302526
executing command: SET DBID
RMAN> restore controlfile from '/glotam1/temp/cf_t762953633_s6_p1';
Starting restore at 29-NOV-11
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/29/2011 15:12:45
RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
As i am new to this, am very much confused can u pls tell me how to restore it.. -
How to read RMAN data into an ORACLE Table?
Hallo,
With regards to RMAN, how should we store the data into a database table, from the commands which can run only on RMAN prompt without using Recovery Catalog?
For Example:
RMAN> Report need backup days 3;
RMAN DATA:
RMAN-03022: compiling command: report
Report of files whose recovery needs more than 3 days of archived logs
File Days Name
1 1203 D:\ORACLE\ORADATA\TEST\SYSTEM01.DBF
2 1203 D:\ORACLE\ORADATA\TEST\RBS01.DBF
3 1203 D:\ORACLE\ORADATA\TEST\USERS01.DBF
Should it done via UTL_FILE?
If so, could someone give simple example/code how to do that, in order to write this RMAN data into an Oracle Database table?
I also set the utl_file_dir parameter to a particular directory in my database.
Thanks
W.BenvortActually, I am not using Recovery Catalog, so the views like RC_database, Rc_tablespaces etc , which are specific to recovery catalog are not available.
r.- this make sense at 100% because those views belong to the recovery catalog.
So, I wanted that these information, which we can get via using the commands like above, transfer into an Oracle table
r.- If you want to access the views of the Recovery Catalog to store part of that information in tables you have to have the database registered in a Recovery Catalog.
Should we keep the Recovery Catalog in Control file? Instead of using separate Schema.
r.- I recommend you to create a catalog for your database because the space the controlfile to store information regarding RMAN is reused and you can lose important information about your backups.
Can we run Catrman.sql script as a sys in order to keep the recovery catalog in sys schema?
r.- As you know, this is not recommended at all.
Conclusion : Create a Recovery Catalog and you will be able to perform all that you want regardind what you mentioned above.
I have a thread for this:
RMAN ( CATALOG CREATION ) STEP BY STEP by Joel Pérez
Joel Pérez
http://otn.oracle.com/experts -
How to start RMAN in linux env?
Hi Gurus,
I am new to RMAN and trying to start RMAN in linux as follows.
$rman
when i am giving rman command ,nothing is comming..the cursor is blinking.
How to resolve the same. I set the following env variable.
===========================
export ORACLE_BASE=/u01/app/oracle
export ORACLE_SID=test
export ORACLE_HOME=$ORACLE_BASE/dbs
export PATH=$PATH:$ORACLE_HOME/bin
===========================
and rman executable is available in $ORACLE_HOME/bin.
$ cd $ORACLE_HOME/bin
$ pwd
/u01/app/oracle/dbs/bin
$ ls -ltr rman*
-rwxr-x--x 1 oracle dba 10457622 Jul 12 2008 rmanO
-rwxr-x--x 1 oracle dba 10457622 Jul 12 2008 rman
$
Please suggest me how to resolve this problem.
Regards
Nagendra.Nagendra2 wrote:
How to resolve the same. I set the following env variable.
===========================
export ORACLE_BASE=/u01/app/oracle
export ORACLE_SID=test
export ORACLE_HOME={color:#ff0000}$ORACLE_BASE/dbs{color}
export PATH=$PATH:$ORACLE_HOME/bin
===========================
I beleive your "ORACLE_HOME" is incorrect!
This may work better:
export ORACLE_SID=test
ORAENV_ASK=NO
. /usr/local/bin/oraenv
ORAENV_ASK=YES
The above will set your environment variables correctly.
:p -
How to hide RMAN command line args from "ps -ef" command?
Hi there
This is not RMAN question per say but it is related to my RMAN script. Part of this RMAN script is below:
rman target / catalog ${RMANID}/${RMANPW}@${RMANSID} log=${TMPFILE} << EOF
While the script is running, if I issue "ps -ef | grep rman" command (from my own user id or as 'oracle' user), I see following:
oracle 32522 32492 36 15:32 pts/1
00:00:01 rman target / catalog rman/rman2013@rmancat log=/tmp/oratmp32492
Is there a way to hide the values of the variables (Id, Pwd, SID) from the "ps -ef" command?
If not, any other an alternates?
Best regardsHow to Hide RMAN Passwords when Connecting to a Target Database (Doc ID 183377.1)
How To Hide Usernames And Passwords In RMAN Logfile (Doc ID 246192.1) -
How to verify RMAN backup ?
How to verify and validate the RMAN backups on daily basis?One more doubt at this point - if we can't locate any RMAN script in crontab(crontab -l) but still backup is occuring regularly, how can we see the script behind this?
Thanks in advance.
Edited by: 916438 on May 27, 2012 8:47 PM916438 wrote:
How to verify and validate the RMAN backups on daily basis?One more doubt at this point - if we can't locate any RMAN script in crontab(crontab -l) but still backup is occuring regularly, how can we see the script behind this?
What you want see? If backup was executed without error or make sure that there is a valid backup on tape or disk.
So, If you want see if backup was executed successfull you must find the logs of backup or query "V$RMAN_OUTPUT" (check it on documentation).
If you want check if Database is Valid on Disk or TAPE as mentioned previously "RESTORE VALIDATE DATABASE" (check it on documentation).
Where we can locate RMAN SCRIPT? It's hard to answer.
It' your env, you should find out. The options are: Crontab / Oracle Enteprise Manager / Third-Party Backup Software / Job Scheduler.
Also you can try : Take a time of backup was executed and check on shell a time of exection of backup " ps -ef |grep rman" you will find from where script was started.
Regards,
Levi Pereira
Maybe you are looking for
-
[REQUEST] Less verbose Grub2
In my opinion this one of the little nice details that Ubuntu has. It would be nice if anyone can make a PKGBUILD for a Grub2 package that can ignore all the messages that appear before the splash screen, I refer to 'Welcome to Grub2... etc.' and 'lo
-
I forgot my password for my accounts and a message keeps popping up and won't go away or let me use my iPad, how do I get my iPad back to normal?
-
My apps are not syncing correctly
my apps show one thing on our computer and another on my phone, how do you correct it?
-
Why is video content played on an iPhone 4s interrupting what I am watching on my AppleTV?
Just set up my Apple TV last night & watching an TV show episode from Netflix through Apple TV. My son is playing on his iPhone 4s, and clicks a video on Instagram and the video interrupts my show & is now playing on AppleTV. Do I have my AppleTV set
-
On several occasions, when I've tried to import images, Aperture 3 showed just a blank black screen with nothing available to import. Just now, I exported 2 JPG's to the desktop from Capture NX 2 (Nikon's photo software) and when I tried to import in