Home » RDBMS Server » Backup & Recovery » RMAN Limitations
RMAN Limitations [message #214867] |
Thu, 18 January 2007 05:23  |
kamalakar_ora
Messages: 30 Registered: October 2006 Location: Bangalore
|
Member |
|
|
Hi all,
I am working for a Software firm. Where my team is developing a backup product. We are also planning to add Oracle backup using RMAN.
I have few queries about using RMAN:
Q1). Do we need to have the rights to use RMAN through our application?
Q2). If so, how can we get the rights?
q3). If not, is there any functional limitations of RMAN to backup Oracle databases?
Please help me.
Regards,
Kamal
|
|
|
Re: RMAN Limitations [message #214868 is a reply to message #214867] |
Thu, 18 January 2007 05:25   |
 |
Mahesh Rajendran
Messages: 10708 Registered: March 2002 Location: oracleDocoVille
|
Senior Member Account Moderator |
|
|
1. No. Not in backup. Not directly. Depends on how you use RMAN. During restore, if you mount and unmount the database, you need a sysdba account. If you are using catalog database, you need exclusive rights for ownership of repository.
3. Nothing. But you must define in your context what functional limitation is.
[Updated on: Thu, 18 January 2007 05:30] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
Re: RMAN Limitations [message #214904 is a reply to message #214867] |
Thu, 18 January 2007 08:41  |
|
Just to summarise
1) RMAN -> metadata (backup information and its media) can be in target database controlfile or you can keep in separate database (called recovery catelog). your case, target database's control file is the good option.
2) by using RMAN executables, you can create the script and run in batch mode (if it is in linux/unix -> cron is the option, if windows AT command)
3) keep the script file name .rcv extention.
Features like RMAN pipe interface is very powerfull technique, we can control the whole backup process efficiently.
example:
In daily.rcv script
run {
allocate channel t1 type sbt_tape;
allocate channel t2 type sbt_tape;
backup copy of database delete input;
backup archivelog all delete all input;
release channel t1;
release channel t2;
allocate channel d1 type disk;
allocate channel d2 type disk;
backup as copy database;
release channel d1;
release channel d2;}
1) sbt_type meaning using tape device for backup and keep the foramt as backupset which is RMAN proprietory format.
2) This script creates two channels
3) second portion in disk.
Then, schedule the script in cron job as
rman target / @'daily.rcv'
or rman target <user name>/<password>@<connection identifier> @'<pathname>/scriptname'.
This is only a scratch the surface RMAN.
As Mahesh said, it is a huge topic and sail far long.
I can give some document numbers which you can download from oracle documentation site.
b14191, b14192
Regards,
Raja
|
|
|
Goto Forum:
Current Time: Fri May 02 16:58:19 CDT 2025
|