Rman backup for oracle11g database
Hi,
I want to take the rman backup of 11.2.0.1.0 database, but my catalog database is 10.2.0.1. So Is it possible to take it.
Please suggest me.
My target database : 11.2.0.1.0
OS: windows 2003 R2 server
My catalog database: 10.2.0.1
OS: windows 2003 R2 server
here you go : http://www.comp.dit.ie/btierney/oracle11gdoc/backup.111/b28273/compat.htm
Similar Messages
-
RMAN backup for two databases with similar DBID
We have two databases with SID 'uiivc' and 'uiivc1' running from one of the HP Unix 11.11 PA-RISC server. I did configured RMAN backup for both databases. But it is found that both databases have same DBID [connected to target database: UIIVC (DBID=3005194057) for UIIVC & connected to target database: UIIVC1 (DBID=3005194057) for UIIVC1] and backup configured via crontab seen running fine with full backup at weekend and archivelog backup at daily for both databases. Now my query is that will it create any issues at time of restoration since both databases have similar DBID? Does RMAN uses DBID to distinguish databases?
Kindly help to clarifiy
Regards
Manoj Thakkan
[email protected]Hi Tycho,
I configured RMAN to store controlfile backups in different folders on each database.
UIIVC database:
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/hot_backups/rmanbkp/uiivc/cf%F';
UIIVC1 database:
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/hot_backups/rmanbkp/uiivc1/cf%F';
Server output:
uii-79:uiivc1 > ls -lrt /hot_backups/rmanbkp/uiivc
total 43904816
-rw-r----- 1 oracle dba 21144928256 Jul 15 10:58 8rkk68p5_1_1
-rw-r----- 1 oracle dba 287110144 Jul 15 13:41 8tkk6sfv_1_1
-rw-r----- 1 oracle dba 862700544 Jul 16 08:00 90kk8sel_1_1
-rw-r----- 1 oracle dba 152350720 Jul 16 08:09 92kk8tgg_1_1
-rw-r----- 1 oracle dba 32145408 Jul 16 08:09 cfc-3005194057-20090716-01
uii-79:uiivc1 > ls -lrt /hot_backups/rmanbkp/uiivc1
total 24186112
-rw-r----- 1 oracle dba 6373965824 Jul 13 13:10 83kk1ftf_1_1
-rw-r----- 1 oracle dba 784803840 Jul 13 13:46 85kk1j5e_1_1
-rw-r----- 1 oracle dba 1022674944 Jul 13 23:07 87kk2kjs_1_1
-rw-r----- 1 oracle dba 1814230016 Jul 14 23:46 89kk591i_1_1
-rw-r----- 1 oracle dba 1211042816 Jul 15 23:06 8bkk7tc0_1_1
-rw-r----- 1 oracle dba 1165975552 Jul 15 23:10 8ckk7tnr_1_1
-rw-r----- 1 oracle dba 10534912 Jul 15 23:10 cfc-3005194057-20090715-00
And I saw backups are placing in the respective folders too. So with these settings, can I safely assume there is no issues with RMAN backup and restore having similar DBID for two databases running on same server?
Regards
Manoj Thakkan -
Related to Unused compression in RMAN backup for 10.2.0.4 database
Hi
I recently read through one of the document related to Unused compression in RMAN backup for 10.2.0.4 database. According to this
Unused Block Compression is done, if all of the following conditions apply:
+ The COMPATIBLE initialization parameter is set to 10.2
+ There are currently no guaranteed restore points defined for the database
+ The datafile is locally managed
+ The datafile is being backed up to a backup set as part of a full backup or a level 0 incremental backup
+ The backup set is being created on disk.
I have two queries
1) What is meant by "uaranteed restore points defined for the database"
2) If backup is being directly taken to tape, this feature would not be used
Rgds
Harvinder1. Normal and Garanteed Restore Points
2. No -
Rman backup with standby database
Hi All,
I am looking for some suggestions for rman backup with standby database with datagaurd but no active DG. I wanted to do a rman tablespace backup. but I am stuck at sql 'alter system archive log current' in rman with standby as target. which gives following errors with or without noswitch clause
RMAN> sql 'alter system archive log current noswitch';
sql statement: alter system archive log current noswitch
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of sql command on default channel at 10/05/2013 18:15:12
RMAN-11003: failure during parse/execution of SQL statement: alter system archive log current noswitch
ORA-01109: database not open
Recovery Manager: Release 11.2.0.1.0
Oracle databaes Release 11.2.0.1.0 64 bit
OS:RHEL 6 x86-64 bit
Secondly, do I need to cancel manged recovery while taking rman backups on standby.
I scanned thru MOS but could find solutions for rman with active DG.
Thanks in advance726d07e6-b870-431f-8c22-a499c3ec4e0c wrote:
Hi All,
I am looking for some suggestions for rman backup with standby database with datagaurd but no active DG. I wanted to do a rman tablespace backup. but I am stuck at sql 'alter system archive log current' in rman with standby as target. which gives following errors with or without noswitch clause
RMAN> sql 'alter system archive log current noswitch';
sql statement: alter system archive log current noswitch
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of sql command on default channel at 10/05/2013 18:15:12
RMAN-11003: failure during parse/execution of SQL statement: alter system archive log current noswitch
ORA-01109: database not open
Recovery Manager: Release 11.2.0.1.0
Oracle databaes Release 11.2.0.1.0 64 bit
OS:RHEL 6 x86-64 bit
Secondly, do I need to cancel manged recovery while taking rman backups on standby.
I scanned thru MOS but could find solutions for rman with active DG.
Thanks in advance
"I scanned thru MOS but could find solutions for rman with active DG."
Howto make a consistent RMAN backup in an Standby database in Active DataGuard mode (Doc ID 1419923.1) -
HOT Backups for smaller databases
Should we schedule hot backups for small databases? the database size is around 1.5 GB. We have already scheduled daily FULL DB Export.
The database is Oracle 8i.RMAN> run {
2> allocate channel ch1 type disk format 'e:\rman_backup\backup%d_DB_%u_%p';
3> backup database;
4> backup archivelog all;
5> release channel ch1;
6> }
RMAN-03022: compiling command: allocate
RMAN-03026: error recovery releasing channel resources
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: allocate
RMAN-06172: not connected to recovery catalog database
RMAN> -
Br,Hi,
DB : 10.2 and 11.2
How to schedule rman backup for cluster in OEM?How to schedule without OEM?
If one of the node failed,Is it possible to run in another node automatcially?
How to schduel export/datadump in rac by oem?
Br,
RajI Am not using oem, without oem you should write several scripts....
for linux hot backup(archive log enabled):
bck.sh
set ORACLE_SID=mydb
set ORACLE_HOME=....
rman target sys/.... @'.../bck.ora'
bck.ora
run
BACKUP AS COMPRESSED BACKUPSET FORMAT "..../db_%d_%T_%s_%p_%U.bak" INCREMENTAL LEVEL 0 DATABASE PLUS ARCHIVELOG DELETE INPUT FORMAT "...../archivelogBackup/arch_%d_%T_%s_%p_%U.bak";
delete force noprompt obsolete redundancy 3;
backup FORMAT '..../ctl_%d_%T_%s_%p_%U' current controlfile spfile;
And create executable job which instance_id=1 and will run your bck.sh script and create schedule for this job, when first node will down you must change instance_id attribute to second one, and be sure that all backup paths exists in all nodes.
Ramin Hashimzade -
How can i do a RMAN backup of my database from the network ?
i'm using oracle 8i.1.7.3 with win server 2003
i want to know how can i do a RMAN backup of my database (sever machine A) from the network.
i'd like to save the backup in another machine (the same LAN, the same OS ).
to do that i've mapped a logical device in my comptur (z):
when i run rman command i got this error:
channel ORA_DISK_1: starting piece 1 at .......
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command ON ORA_DISK_1 channel at .......
00
ORA-19504: failed TO CREATE file "\\remote\save\"
ORA-27040: skgfrcre: create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 123) The filename, directory name, or volume label syntax is inco
rrect.Hi,
ORA-19504: failed TO CREATE file "\\remote\save\"make sure you have created this directory and change it's ownership (chown command)to oracle.
also make sure that oracle user has permission to write to this direcotry (chmod command)
hope this helps
cheers, walrus -
Oracle 12c - rman backup for all PDB
Do we have any ready commands that will take backup for all the attached PDB in oracle 12c (container managed db)?
To backup your entire container DB, connect to your CDB & issue a full backup:
rman> backup database;
Backing up your pdb, either connect to the target itself & issue a backup or
rman> backup pluggable database porcl1;
Backing up only the root, connect to the target &
rman> backup database root;
always condensed nicely here: ORACLE-BASE - Multitenant : Backup and Recovery of a Container Database (CDB) and a Pluggable Database (PDB) in Oracle D… -
Is it necessary to take RMAN backup for ASM
Hi all
I also know we need RMAN to take backup for ASM . But i also seen its possible to take backup by using dd command itself on ASM . Why we need RMAN rather than this method . What is the specific reason we using RMAN,its possible to take backup by using dd command itself on ASM Very bad idea.
1. You'll run into the classic "fractured block" issue when attempting a recover or reading a block after the restore
2. RMAN can be used to
a relocate individual datafiles,
b duplicate / clone database,
c restore to an alternate server,
d copy / move from ASM to filesystem
e verify for corruption
f generate reports on backups taken
None of which dd of ASM will do reliably (depending on the skills of the DBA/SA).
Hemant K Chitale
Edited by: Hemant K Chitale on Feb 19, 2013 9:56 AM
Added the words : "reliably (depending on the skills of the DBA/SA)" -
Dear,
i want to use rman to backup the tablespaces. I have write a pram file as below.
owner=database
file=c:/backup/database.dmp
log=database.log
buffer=81920
How can i run this file from rman
ManyThanksIt appears that you have created a parfile for the export utility and NOT for RMAN. The basic command to backup a tablespace in RMAN is:
RMAN> BACKUP TABLESPACE USERS;If you are looking to actually export a tablespace, you can save the following to a file called user_parfile.txt
userid=system
file=d:\user_exp.dmp
log=d:\user_exp.log
tablespaces=users
buffer=81920and execute as:
exp parfile=d:\user_parfile.txt -
Hi Friends,
I'm actually starting administering a large Database 10.2.0.1.0 on Windows Server.
Do you guys have Tips or Docs saying the best practices for large Databases? I mean large as 2TB of data.
I'm good administering small and medium DBs, but some of them just got bigger and bigger!!!
Tks a lotI would like to mention below links :
http://download.oracle.com/docs/cd/B28359_01/server.111/b28318/partconc.htm
http://download.oracle.com/docs/cd/B28359_01/server.111/b32024/vldb_backup.htm
For couple of good advices and considerations for RMAN VLDB:
http://sosdba.wordpress.com/2011/02/10/oracle-backup-and-recovery-for-a-vldb-very-large-database/
Google "vldb AND RMAN in oracle"
Regards
Girish Sharma -
Slow rman backup and slow database
Hello all,
Whenever I run rman backup to sbt_tape, the complete database becomes slow. Also RMAN takes more than 12 hours to complete.
RMAN script is:
run {
allocate channel t1 type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
sql 'alter system switch logfile';
backup incremental level 2 tag 'db_level2_backup'
format'%d/INC2/%t/%s/%p'
database diskratio=0;
backup
format '%d/LOG_INC2/%t/%s/%p'
archivelog all
delete all input;
release channel t1;
}The AWR shows following "Top 5 timed events"
Event Waits Time(s) Avg Wait(ms) % Total Call Time Wait Class
db file sequential read 817,467 17,419 21 28.6 User I/O
CPU time 14,294 23.5
log file sync 141,642 8,570 61 14.1 Commit
enq: TX - row lock contention 3,371 7,171 2,127 11.8 Application
log file parallel write 149,486 5,356 36 8.8 System I/OWhat can be done? Can anyone tell what wrong is happening here?
Database is 10.2.0.4
OS is AIX 5.3
SGA_TARGET is 6G
PGA_AGGREGATE_TARGET is 2G
Total physical RAM is 12G
EBiz application is running in the same server
Regards,
SAOn my server, we needed to adjust the vmm on aix for oracle to run best. Before I did that it was really slow.
http://www.ibm.com/developerworks/aix/library/au-aixoracle/index.html
Specifically these as outlined in the document linked above:
Listing 3. Changing the default setting for the lru_file_repage parameter using vmo
root@lpar21ml16ed_pub[] > vmo -o lru_file_repage=0
Setting lru_file_repage to 0
root@lpar21ml16ed_pub[] >
Setting this to 0 tells the VMM that you want to steal only file pages and not computational pages. As this will change if the numperm < minperm or > maxperm, we will make maxperm high and minperm very low. Years ago, before the lru_file_repage parameter was introduced, we used to make maxperm low. If we did this now, we would stop the application caching programs that are currently running.
Listing 4 shows how we'll set these parameters:
Listing 4. Setting the minperm, maxperm and maxclient parameters
vmo -p -o minperm%=5
vmo -p -o maxperm%=90
vmo -p -o maxclient%=90
We also want to take a look at minfree and maxfree. When the pages on our free list fall below minfree, the VMM will start to steal pages, which we don't want to happen until the free list has beefed up the number in maxfree. The values should be similar to the ones shown in Listing 5.
Listing 5. Setting the minfree and maxfree parameters
vmo -p -o minfree=960
vmo -p -o maxfree=1088
Edited by: user455434 on Oct 12, 2010 1:14 PM -
Restore RMAN Backup in Different Database on Same RAC
We have 11gR2 2 node RAC on Linux. ASM and OMF is used for database. The database on it is backedup using RMAN.
We want to test the RMAN backup by restoring it to a new database on same server.
Can someone guide me to steps on how this can be achieved. I'm afraid this should not affect the actual database.
Thanks a lot.Hi,
Yes, this can be done without disturbing your source db. Need more information on your DB structure (datafile asm diskgroups), all you need to do is restore as single node and convert to rac, since you want to test rman restore, you can restore to single node to prove your RMAN backups are intact.
Changes in init.ora
==============
db_file_name_convert= ("source dir structure","target dir structure")
log_file_name_convert=("source dir structure","target dir structure")
cluster_database=false
event="10298 trace name context forever, level 32"
_no_recovery_through_resetlogs=TRUE
Set new database sid (export ORACLE_SID=NEW_SID)
sql>startup nomount;
rman auxiliary /
rman>duplicate database to "NEW_SID" backup location "Your RMAN Backup location";
The above are very high level general steps, please do take other steps into consideration as per your environment. -
RMAN backup of STANDBY database
I have just created a STANDBY database using Oracle 8.1.7 which I am trying to backup using RMAN. This would then not impact on the PRODUCTION database, yet still give a valid backup. The problem I am having is that contrary to what I have been told and read about the `duplicate for standby` command, it does not reset the DB_ID. This has the effect that you canot register your new STANDBY database in the RMAN catalog as it sees it as the PRODUCTION instance that was used to create it. I have found several `solutions` on Metalink, which all require the use of a `resetlogs` command, so invalidating the STANDBY database. Does anyone know of a way that I can bypass this problem and carry out valid backups of the STANDBY database ?
TIA
Mark Tindall
Email: [email protected]Mark,
The STANDBY database must have the same DBID as the production or you could not use the backups taken at a standby
database to recover the production database.
To backup the standby database with RMAN, you must use a recovery catalog. Take at look at http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a96566/rcmbackp.htm#445993
for information on how to backup the standby with RMAN.
Tammy -
DPM is Only Allowing Express Full Backups For a Database Set to Full Recovery Model
I have just transitioned my SQL backups from a server running SCDPM 2012 SP1 to a different server running 2012 R2. All backups are working as expected except for one. The database in question is supposed to be backuped up iwht a daily express
full and hourly incremental schedule. Although the database is set to full recovery model, the new DPM server says that recovery points will be created for that database based on the express full backup schedule. I checked the logs on the old DPM
server and the transaction log backups were working just fine up until I stopped protection the data source. The SQL server is 2008 R2 SP2. Other databases on the same server that are set to full recovery model are working just fine. If we
switch the recovery model of a database that isn't protected by DPM and then start the wizard to add it to the protection group it properly sees the difference when we flip the recovery model back and forth. We also tried switching the recovery model
on the failing database from full to simple and then back again, but to no avail. Both the SQL server and the DPM server have been rebooted. We have successfully set up transaction log backups in a SQL maintenance plan as a test, so we know the
database is really using the full recovery model.
Is there anything that someone knows about that can trigger a false positive for recovery model to backup type mismatches?I was having this same problem and appear to have found a solution. I wanted hourly recovery points for all my SQL databases. I was getting hourly for some but not for others. The others were only getting a recovery point for the Full Express
backup. I noted that some of the databases were in simple recovery mode so I changed them to full recovery mode but that did not solve my problem. I was still not getting the hourly recovery points.
I found an article that seemed to indicate that SCDPM did not recognize any change in the recovery model once protection had started. My database was in simple recovery mode when I added it (auto) to protection so even though I changed it to full recovery
mode SCDPM continued to treat it as simple.
I tested this by 1) verify my db is set to full recovery, 2) back it up and restore it with a new name, 3) allow SCDPM to automatically add it to protection over night, 4) verify the next day I am getting hourly recovery points on the copy of the db.
It worked. The original db was still only getting express full recovery points and the copy was getting hourly. I suppose that if I don't want to restore a production db with an alternate name I will have to remove the db from protection, verify
that it is set to full, and then add it back to protection. I have not tested this yet.
This is the article I read:
Article I read
Maybe you are looking for
-
Best Anti-Virus for Mac.
My new MacBook Pro is getting delievered soon, I want a few opinions on what the best Anti-Virus for it will be. I know that Macs are more secure than Windows, but I still want to have an Anti-Virus on it as I've already had a virus on my current Mac
-
Unable to access OBIEE Presentation services
Hi Everybody, I am obiee admin, i got complaint from some developers that there are unable to open Presentation services. Please help me ASAP
-
I have a report that uses column selector, so the report can show by, lets say, data type 1, or data type 2. If the user click on the chart, I want them to go to different reports depending on the column selector value. Is that possible? If yes, how
-
Monitor turns on. Says it's not connected to anything then goes to sleep.
I was on my computer and monitor perfectly fine. Then I moved my desk un-plugged all of my equipment and moves that too.. I plugged my monitor in and my computer in just like it was 5 minutes prior. Now when I try to turn my computer on it works fine
-
Import note - enhancement-point
hi, I would like to implement a note ("992605"). In this note there were some correction instruction (e.g. "ES_MRYF_COMMON_ROUTINES_ALV"; Objecttype ENHS). If I open the link to the object (click on objectname), there are no details what to do. Now w