Doubt RMAN
Hi allI set up RMAN by creating the new database and created the catalog and... .and I took the full backup of database with rman too.
and my database size is 13 GB and used space is 7 GB, but when I took full backup of the backup piece size is much lower as shown below.
My doubt is the size of the backup piece is not even that the database used space? RMAN is any compression by itself? What is the bakcup orginal piece that can be used to restore the entire database?
-rw - r - 1 oracle dba 474136576 20 June to 18:35 o1_mf_nnndf_TAG20110620T183540_6zzlswvp_.bkp
-rw - r - 1 oracle dba 6979584 20 June to 18:35 o1_mf_ncnnf_TAG20110620T183540_6zzltd21_.bkp
Please help, thanks in advance
This test only the backup files. You can read about the RMAN command.
Validate restore them database;
KDSDBA
Tags: Database
Similar Questions
-
Hello
I'm learing RMAN and beginner in this area. I have a doubt for recovey db.
I took hotbackup full db using controlfile deposit of GR 11, 2 db. Then I restored it on the same host, directory structure has also been even during the restoration restore n as it was during the backup.
Safeguard measures:
RMAN > configure redundancy 2 retention policy;
RMAN > set the parallelism of peripheral disc type 2;
RMAN > configure channel device type disk format ' / home/oracle/rman_backup/ora_df%t_b%s_p%p';
RMAN > configure controlfile autobackup on;
RMAN > configure CONTROLFILE AUTOBACKUP peripheral type disc format in ' / home/oracle/rman_backup/ora_cf%F';
RMAN > set up optimization backup;
RMAN > show all.
RMAN > backup the database archivelog;
Restore and refresh as follows:
*. On SQLPLUS, stop immediately
*. Remove all the data files, redo logs, control files, newspapers archived (of the oradata and flashback area)
*. On the RMAN command prompt:
1 RMAN > startup nomount;
2 RMAN > restore controlfile to ' / home/oracle/rman_backup/ora_cfc-4124714611-20110510-00';
3 RMAN > change the editing of the database;
4 RMAN > restore database;
5 RMAN > backup from the list of the archivelog all;
6 RMAN > recover database until sequence 6.
7 RMAN > alter database open resetlogs;
On the SQL command prompt:
8. SQL > select group # first_change #, status, sequence #, archived log v$. (this step was performed before you recover the database, that is to say prior to step 6)
GROUP # FIRST_CHANGE # STATUS # ARC SEQUENCE
1 962626 YES 4 INACTIVE
3 979898 6 CURRENT NO.
*2 979836 ACTIVE 5 YES*
Since up to SEQ 5 only, archives were present at the start, I got db up to seq 5, but RMAN showed following error:*.
RMAN > recover database until the sequence 5.
From pick up to 22 May 11
using channel ORA_DISK_1
using the ORA_DISK_2 channel
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the command recover at 22/05/2011 22:36:21
RMAN-06556: datafile 1 must be restored from a backup that is older than SNA 979836
Then I cleaned new system and gave 6 SEQ next time during recovery as it is the highest seq, but since archivelog to seq 6 is not present or redo logs are present (as far as my backup rman understanding isn't back ups redo logs and I had deleted previous recovery of host newspapers before starting the recovery and restoration) , then how is the recovery completed successfully? +
Here are the steps of restoration and recovery with o/p for your reference:
target [oracle@purnima 112_db] $ rman.
Recovery Manager: release 11.2.0.1.0 - Production Wednesday, may 25, 22:19:49 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to the database target (not started)
1 RMAN > startup nomount;
Oracle instance started
Total System Global Area 619360256 bytes
Bytes of size 1338280 fixed
427820120 variable size bytes
184549376 of database buffers bytes
Redo buffers 5652480 bytes
2 RMAN > restore controlfile to ' / home/oracle/rman_backup/ora_cfc-4124714611-20110510-00';
From restoration to 25 May 11
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 19 type of device = DISK
channel ORA_DISK_1: restore the control file
channel ORA_DISK_1: restore complete, duration: 00:00:04
output file name=/home/oracle/112_db/oradata/honey/control01.ctl
output file name=/home/oracle/112_db/flash_recovery_area/honey/control02.ctl
Finished restoring to May 25, 11
3 RMAN > change the editing of the database;
mounted database
output channel: ORA_DISK_1
RMAN > show all.
Database with db_unique_name HONEY RMAN configuration parameters are:
CONFIGURE REDUNDANCY 2 RETENTION STRATEGY;
CONFIGURE BACKUP OPTIMIZATION
SET UP DEFAULT DISK DEVICE TYPE; # by default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT for DEVICE TYPE DISK TO ' / home/oracle/rman_backup/ora_cf%F';
SET UP THE DEVICE TYPE DISK PARALLELISM 2 TYPE OF BACKUP BACKUPSET.
CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT ' / home/oracle/rman_backup/ora_df%t_b%s_p%p';
CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
CONFIGURE ENCRYPTION OF DATABASE # by default
CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AND 'DEFAULT' LIBERATION OPTIMIZE FOR TRUE LOAD; # by default
CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / home/oracle/112_db/product/11.2.0/dbhome/dbs/snapcf_honey.f'; # by default
4 RMAN > restore database;
From restoration to 25 May 11
From implicit overlapping backup 25 May 11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 20 type of device = DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID = 21 type of device = DISK
Intersected 4 objects
Cut 3 objects
Finished the backup implicit intersection to 25 May 11
Starting copy of implicit intersection to 25 May 11
using channel ORA_DISK_1
using the ORA_DISK_2 channel
Copy of implicit overlap finished on 25 May 11
the search for all files in the recovery area
cataloging files...
not cataloged files
using channel ORA_DISK_1
using the ORA_DISK_2 channel
channel ORA_DISK_1: from the restore backup set data file
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
channel ORA_DISK_1: restore datafile 00002 to /home/oracle/112_db/oradata/honey/sysaux01.dbf
channel ORA_DISK_1: restore datafile 00003 to /home/oracle/112_db/oradata/honey/undotbs01.dbf
channel ORA_DISK_1: restore datafile 00005 to /home/oracle/112_db/oradata/honey/example01.dbf
channel ORA_DISK_1: reading of the backup/home/oracle/rman_backup/ora_df750773827_b15_p1 element
channel ORA_DISK_2: from the restore backup set data file
channel ORA_DISK_2: specifying datafile (s) to restore from backup set
channel ORA_DISK_2: restore datafile 00001 to /home/oracle/112_db/oradata/honey/system01.dbf
channel ORA_DISK_2: restore datafile 00004 in /home/oracle/112_db/oradata/honey/users01.dbf
channel ORA_DISK_2: reading of the backup/home/oracle/rman_backup/ora_df750773827_b14_p1 element
channel ORA_DISK_1: piece handle = / home/oracle/rman_backup/ora_df750773827_b15_p1 tag = TAG20110510T121707
channel ORA_DISK_1: restored the backup part 1
channel ORA_DISK_1: restore complete, duration: 00:01:17
channel ORA_DISK_2: piece handle = / home/oracle/rman_backup/ora_df750773827_b14_p1 tag = TAG20110510T121707
channel ORA_DISK_2: restored the backup part 1
channel ORA_DISK_2: restoration complete, duration: 00:01:18
Finished restoring to May 25, 11
5 RMAN > backup from the list of the archivelog all;
List of backup sets
===================
Time of accomplishment time BS key size Device Type
------- ---------- ----------- ------------ ---------------
16,29 6 M DISK 00:00:01 MAY 10, 11
BP key: 6 location: AVAILABLE Tablet: NO Tag: TAG20110510T121703
Item name: / home/oracle/rman_backup/ora_df750773823_b13_p1
List of newspapers archived on backup the value 6
The next time that THRD Seq YVERT low low time next YVERT
---- ------- ---------- --------- ---------- ---------
1 4 962626 10 MAY 11 979836 10 MAY 11
Time of accomplishment time BS key size Device Type
------- ---------- ----------- ------------ ---------------
22.50 9 K DISK 00:00:00 10 MAY 11
BP key: 9 situation: AVAILABLE Tablet: NO Tag: TAG20110510T121834
Item name: / home/oracle/rman_backup/ora_df750773914_b16_p1
List of newspapers archived on backup value 9
The next time that THRD Seq YVERT low low time next YVERT
---- ------- ---------- --------- ---------- ---------
1 5 979836 10 MAY 11 979898 10 MAY 11
6 RMAN > recover database until sequence 6.
Starting recover at 25 May 11
using channel ORA_DISK_1
using the ORA_DISK_2 channel
starting media recovery
channel ORA_DISK_1: starting archived log restore to default destination
channel ORA_DISK_1: restoring archives Journal
Archives journal thread = 1 = 5 sequence
channel ORA_DISK_1: reading of the backup/home/oracle/rman_backup/ora_df750773914_b16_p1 element
channel ORA_DISK_1: piece handle = / home/oracle/rman_backup/ora_df750773914_b16_p1 tag = TAG20110510T121834
channel ORA_DISK_1: restored the backup part 1
channel ORA_DISK_1: restore complete, duration: 00:00:01
Archive log file name=/home/oracle/112_db/flash_recovery_area/HONEY/archivelog/2011_05_25/o1_mf_1_5_6xtfgqc6_.arc thread = 1 = 5 sequence
default channel: archived deletion or newspapers
RECID = STAMP 16 = 752106671 name=/home/oracle/112_db/flash_recovery_area/HONEY/archivelog/2011_05_25/o1_mf_1_5_6xtfgqc6_.arc archived log file
media recovery complete, duration: 00:00:01
Finished recover at 25 May 11
7 RMAN > alter database open resetlogs;
open database
8 RMAN > exit
Kind regards
Purnima JohariI have no onlinelogs on the host. I deleted all the log files from the flash and oradata recovery area before you begin the process of restoration and recovery on the host (.dbf, .log, .ctl). When I tried with "database recovery command", he gave following error (it's just the excerpt from o/p):
Ah - yes: If you remove the onlinelogs then you receive the above error because a newspaper archive does not yet exist and the onlinelog with sequence 6 is missing too.
>
So you mean if we use up to clause with database recovery command, it always runs recovery up to n - 1. So imagine a scenario where all newspapers of recovery have been archived, if highest till SEQ that checked is generated is N, then to until I give SEQ N + 1 as up to execute it 'N' no time. Right?
It's just too. It goes same for the RCS. If you want to recover to the last SNA in a specific archivelog, you can query the column NEXT_CHANGE # of v$ archived_log , then you will run 'restore database until the SNA... "and give the RCS of NEXT_CHANGE #-because it will recover to NEXT_CHANGE #-1.
See you soon
Jörg -
I took a full backup of our TEST database using command in a different way because of problems of space below.
Backup database archivelog format ' / u01/ora_rman_bkups/%d_%u_%s';
When I go to RMAN and LIST BACKUP can't backup set above. When I go to OS I see two files created in this directory
[oracle@enash ora_rman_bkups] $ ls-l
Total 1428312
-rw - r - 1 oracle oinstall 1460956160 Apr 2 13:36 AMAZTST_0oo62q17_24 * (I think it is the backup to the base) it is a correct element of different backup? *
-rw - r - 1 oracle oinstall 189952 Apr 2 13:37 AMAZTST_0ro62qlf_27 * (I think they are archiving logs) - it is different element of proper backup? *
I want to clone my AMAZPRD with above backup AMAZTST...
Please suggest me if I can use the above backup items for duplication of data.
Please look in my post...Yes, you can...
1. produce a pfile to the new database
assume that the source database uses a spfile. If this is not the case, simply make a copy the file pfile existing.Connect to the database as sysdba source and run the following:
create pfile = "init
.ora' of spfile;" This will create a new pfile directory of $ORACLE_HOME/dbs.
The new pfile will have to be changed immediately. If the cloned database must have a different name from the source, this should be changed, as well as paths. Look at the contents of the file and make changes if necessary.
Suppose that the cloned database will reside on the same machine that the source, Oracle must be told how to convert file names during the operation of double RMAN. This is achieved by adding the following lines in the newly created pfile file:
db_file_name_convert = (
, )
log_file_name_convert = (, ) 2. create the bdump, udump and cdump directories
Create directories as specified in the file pfile bdump, udump and cdump from the previous step.3. Add a new entry to oratab and source of the environment
Edit the/etc/oratab (or/opt/oracle/oratab) and add an entry for the new database.Source the new environment with "." oraenv' and check that it worked by running the following command:
echo $ORACLE_SID
If it doesn't come out of the new sid database go back and examine why not.
4. create a password file
Use the following command to create a password file (add a password right at the end):orapwd file = $(ORACLE_HOME) / dbs/orapw$ {ORACLE_SID} password =
5 duplicate the database
From sqlplus, start the instance in nomount mode:startup nomount
Output of sqlplus, start RMAN and then duplicate the database. As in step 1, it is assumed that no recovery catalog is available. If it is available, simply change the RMAN command to include it.
RMAN target sys @
nocatalog auxiliary. duplicate target database to
; This will restore the database and apply some archiving logs. It may appear to hang at the end sometimes. Just give him the time - I think that it's because RMAN makes a stop 'normal '.
If you see the following error message, it's probably due to the settings of file_name_convert, err. Return to step 2 and check the settings.
RMAN-05001: auxiliary filename '%s' is in conflict with a file used by the target database
Once the copy is complete, RMAN will display a message similar to the following:
open database
Finished the duplicate Db to 26 February 05RMAN >
RMAN output.
6. create a spfile
From sqlplus:Create spfile from pfile;
immediate stop
startupNow that the clone is built, we need more file_name_convert settings:
change the system reset db_file_name_convert scope = spfile sid ='* '
/change the system reset log_file_name_convert scope = spfile sid ='* '
/7. possibly take the clone off journal mode database archive
RMAN will leave the database cloned in log mode archive. If the log mode archive is not necessary, run the following sqlplus commands:immediate stop
Startup mount
ALTER database noarchivelog;
ALTER database open;8 Configuring the TNS
Add entries for the new database in the listener.ora and tnsnames.ora as needed. -
Restoring a database on a remote host - with almost no information.
Hello.
I am confronted with the situation on Solaris 10 EA Oracle 10.2.0.5 executionbelow.
I have the RMAN backup (Full or level 0) to a database of Production, taken without a catalog RMAN, I want to restore a database of development. I do not have access to the Production host, so I DO NOT KNOW the locations of the various files of database (redo logs, control files, data files, etc.).
How I am progressing with the restoration of the database with limited hand information?
The only question that kills me is the following:
If I create a new PFILE to the development database, then RMAN connection, open the database with this file PFILE in NOMOUNT mode, restore the CONTROL FILE of the RMAN backup available of Production and try to mount the 'new' database with the CONTROL FILE of the Production-> it would rise? [I have serious doubt in this step!]
Note: Given that I'm not aware of the location of the files on the Production host, I'm not able to use the DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT on the target server. However, if I am able to open the database in ASSEMBLY mode using the file of the production control, I think that I would be able to proceed with the rest of the restoration with the usual RMAN restore and Recover commands.
Any help in this matter is very tenuous.
Thank you
Emmanuelle
- You did not answer my question if you have an automatic backup of the controlfile. This backup contains the locations of the backupsets, after that you made the backup. The controlfile itself (which also contains the location of the backupsets) does not contain the most recent backupsets, as it is saved prior to any data file.
- Restore controlfile (parameterless) will restore the controlfile to all files listed in the parameter control_files.
- The database must be open to "alter database backup controlfile to trace". So. No, what you plan won't work, and without a doubt RMAN will barf.
- The command sets channel determines the destination of the backupsets
- The controlfile * always * contains all the info from backupset, up to CONTROL_FILE_RECORD_KEEP_TIME. A database of catalog will also list the old backups
- CATALOG RMAN command to make sure that your controlfile is up-to-date and RMAN will be able to find your backups.
------------
Sybrand Bakker
Senior Oracle DBA
-
Hello, I have RMAN backup in the trail of backupsets on two nodes RAC 11 GR 2 on linux standard edition.
And now I do not understand why RMAN is not delete backupsets that are older then 24 hours, even though I putRMAN> show all; using target database control file instead of recovery catalog RMAN configuration parameters for database with db_unique_name MGW are: CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 1 DAYS; CONFIGURE BACKUP OPTIMIZATION OFF; # default CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default CONFIGURE MAXSETSIZE TO UNLIMITED; # default CONFIGURE ENCRYPTION FOR DATABASE OFF; # default CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/snapcf_mgw2.f'; # default RMAN>
CONFIGURE RETENTION POLICY TO RECOVERY OF 1 DAYS WINDOW.
I have in my rman script that runs every day @ 23:00 this:
And now I see in my rman backup folder, there is no backupset yesterdey 23:00 and also the day before yesterday 23:00.backup as COMPRESSED BACKUPSET database FORMAT '/home/oracle/rman/%U' plus archivelog delete input; delete noprompt obsolete;
I thoght that if I ran my script, rman today @ 23:00, as this will backup but also delete backup from the night before, because I put[oracle@data02 rman]$ ls -l total 51889864 -rw-r----- 1 oracle asmadmin 26454474752 Jul 14 00:19 0bmhcc1s_1_1 -rw-r----- 1 oracle asmadmin 1245184 Jul 14 00:19 0cmhcg84_1_1 -rw-r----- 1 oracle asmadmin 26626334720 Jul 15 00:18 0fmhf0ep_1_1 -rw-r----- 1 oracle asmadmin 1245184 Jul 15 00:18 0gmhf4ih_1_1 -rw-r--r-- 1 oracle oinstall 0 Jul 14 16:52 aa_1_1
1-day retention.
Can you please tell why I'm wrong in this?The RMAN retention policy is not just keep the specified number of days. She calculates the interval between the end of the current time and extends in time to the specified number of days.
So, by example, if you set the retention policy backup on 1 day today. Then RMAN will keep backups for the 15 July, 16 July.
Then, on July 17, the backup of July 15th will be null and void.I.e.
Current date Status Recovery Point ----------------- --------- ------------------------ 15th July available 15-1 = 14th July 16th July available 16-1 = 15th July 17th July backup of 15th July obsolete 17-1 = 16th July So your backup for today wouldn't be marked as obsolete until the 17th July.
5 setting up the RMAN environment
However, if you have a fixed date of database then you should show the retention policy to redundancy instead of the recovery window.
RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
-
Doubts to duplicate a RMAN database on another test server
Hello
DB: 10.2.0.4
Operating system: Aix 5.3 L
I have the single server database and I want to duplicate other test server (AIX 5.3) database (10.2.0.4).
My questions are,
1) I'll have to take backup RMAN in Production , and then a move to the Test Server?.
2) in the Test Server , I duplicate RMAN connection and database creation reason as follows.
RMAN TARGET SYS/xxx@test SYS/xxx@PROD ASSISTANT
RUN
{
allocate channel c1 DEVICE TYPE disk;
DUPLICATE TARGET DATABASE to test nofilenamecheck. # test is my database to the TEST Server
}
The steps above from RMAN will work without RMAN backup in the TEST Server? If not, then how can create the database test without backup RMAN duplicate?
My main problem is that I have enough disk space in my production server is saved and my database size is 3TO. My database is on ASM.
I really like, if I have no response.
Thank you
ThereseYes, database of target duplicate of the active database is available 11 g.
For 10g, you will need to take backup of primary education and take it all to the test and database duplicated just run.
Hope that helped u :)
Mark it as answered and close the question if answered :)
-
Hello
OS-Enterprise Linux
Database-Oracle11g R2
I am trying to develop a RMAN script to schedule daily backup on Linux... I created the file with extension ".sh" and wrote the orders, which gives below...
RMAN target sys/sys
Run {}
backup database;
}
Get the window RMAN when I run the script but does not backup database... Please check the script and send me the errors...
Thank you in advance...
Arun kurungattWelcome
mark the message as correct/good
Concerning
Asif Kabir -
Hello
Our of is an ERP instance single node R12.0.6 with Oracle database 10g on AIX server. I take daily RMAN incremental backup, Script is the following:
RUN
{
TAG DATABASE INCREMENTAL LEVEL 1 = "XXX_BACKUP_INCR1";
}
EXIT;
Archive log backup will not take place. Is it necessary to have the backup of the journal of the Archives? Or do I need to keep logs of archiving or not?
ConcerningIf you have level 1 and level 0 backups, you need only archived recovery logs that are generated after the level 1 backup.
RMAN uses incremental backups during recovery instead of using archived redo log files, you have to save all archived files redo log generated during the backup procedure
Kamran Agayev a.
Oracle ACE
- - - - - - - - - - - - - - - - - - - - -
My video tutorials of Oracle - http://kamranagayev.wordpress.com/oracle-video-tutorials/ -
Friends, what exactly makes the command "change archivelog than any overlap"? Thanks in advance.
Must be the same as:
crosscheck archivelog all;
-
Hello guys,.
I have my doubts...
SQL > show arc setting.
log_archive_format string arc_%t_%s_%r.arc but... When I saw my career, I have this:
-rw - r - 1 oracle oinstall 6, 1 M Dez 3 08:45 arc_1_3702_827053996.arc
my doubt is: why (1) arc_ after?
What I understand...
1: wire
3702: log sequence number
827053996: the id of the resetlogs.
Is it?
Thank you Srs.
RMAN > list archivelog all;
Thrd Seq S key low time
------- ---- ------- - ---------
1628 1 11281 A DECEMBER 2, 15
This gives you details on archive, thread number, the State.
SQL > select max(next_change#) from v$ archived_log where archived = 'YES' group by thread #;
MAX(NEXT_CHANGE#)
-----------------
185507515
This gives you the RCS archive in which next will be generated (this will be the first_change # next archivelog sequence).
Please refer to the documents
http://docs.Oracle.com/CD/B19306_01/backup.102/b14192/bkup007.htm
https://docs.Oracle.com/CD/B14117_01/server.101/b10755/dynviews_1015.htm
-Jonathan Rolland
-
Hello
I'm in 11 GR 2 Enterprise edition (solaris 10), I would overlap with my current database (big) to a remote host. I start the process at 08:00. Need me perhaps several hours because the network, so when the end process, to 21:00, my new database will be consistent information from 08:00 to home base.
1-if this true?
2 be rollforward secondary database at 21:00 copy and apply the archived primary redo logs file? If Yes, at what time?
3 - If the primary database changes after 08:00, the changes are rejected at 21:00 in the secondary database?
I hope that I have explained clearly my doubts.
Thank you and best regards.
Francesco
The duplicate database is a copy of the target with a new DBID database. Therefore, when the double process has completed, you can not use the original database archivelogs to roll forward the database duplicate.
Double assets will use the target directly rather than depend on RMAN backup and restore database. In all cases, the duplicate database will open with resetlogs. The farthest that RMAN can go in the recovery of the duplicate database is the most recent log of redo archived from the source database.
http://docs.Oracle.com/CD/B28359_01/backup.111/b28270/rcmdupdb.htm
Perhaps to create a database of sleep rather than a duplicate database would be the best option in your scenario.
-
Hello
I have a doubt.
is it possible to clone the 11.2.0.1.0 to 11.2.0.4.0 database using RMAN backup?
I mean clone low version database to a higher version database?
You can restore a backup 11.2.0.1.0 using 11.2.0.4 software and then update, Yes.
You will need to make sure you do an alter database open...... UPGRADE... at the end of the restore, then run the upgrade scripts.
-
Duplicate RMAN cloning using the database using the current database
Hi all
I am new bie, I want to clone my target database using the rman command 'DUPLICATE database OF ACTIVE DATABASE"new host.
steps on google, I searched, but I got confused, I doubt if you need to install oracle rdbms softare on new host or not? and also should I copy all files (redo, control, datafiles) to the new host? kind LY help and tell me the steps to clone the database using rman.your help will be appreciated.
Thank you.
Kind regards.
OS: RHEL 5.4
DB: 11.2.0.3
Hello
Have you not through document link to Gavin at least. It's very simple steps. If you wait until other measures, then won't them.
He had provided the demonstration, at least get in 'google' (you'll have so many links)
The Oracle Dba Italian Blogger: how to clone an Oracle 11 g 2 home
http://balaoracledba.com/2013/12/16/cloning-an-existing-Oracle11g-release-2-RDBMS-installation/
Note: If you feel always complex, better skip the task itself.
-Thank you
Pavan Kumar N
-
What happened when RMAN 1 level 1 is running and start a 2nd
Hello
I have some doubts on the RMAN backup,
(1) what will happen when the first backup which is cumulative level 1 is running and second level 1 is launched.
Example,
Each work day 4 h level 1 is running and not completed and 9 AM is started before complete 04:00, in this situation, what would happen if 04:00 will be shut down properly and 09:00 will start correctly or any error will be through?
(2) what happens when level 1 is running and not completed when the use of level 0 is the beginning.
(3) is 1 / my dismissal and have only a level 0 and other many cumulative level 1 filled with hard drive backup and it reached assigned size. How I can take more away level 1 and how can I take level 0. If I don't have enough memory.
When my redundancy policy is 1 so I would have 2 valid level 0 then then a level 0 backup will become obsolete and can delete.
Help, please.
(1) 2nd level 1 will take place at the same time.
(2) level 0 will start and operate concurrently.
(3) you need to extend the backup volume. If you can't do that let down backups, then do the 0 level.
-
Parallel recovery in RMAN?
O.S: OEL 5.5
DB version: 11.2.0.3
Hello Experts,
I have some doubts on the recovery RMAN. I would like to know your opinion of experts.
(1) process that performs the RMAN recovery (just as the MRP in standby).
(2) I always thought that recovery is a sequential task. This thread (parallel recovery) saved my theory. However, I see RMAN commands like
RMAN>recover database parallel 4 . So what is the parallel option used for?
(3) if the recovery is a sequential process, how can we have several MRP process on the side of Eve (PHYSICS: why recovery managed to reproduce so many slaves?) (Doc ID 885872.1).
Thank you very much in advance.
Satya
(1) so the "server process" began with the RMAN dealing with recovery too? Please correct me.
RMAN Utility is just a customer.
RMAN connect to the database and execute commands, all the work is done on the server side. Server database always process take care of backup/restore/recovery.
(2) automatic channels is also used for the recovery and restoration? I always manually assign during the restore and recovery.
N ° auto-channel is reserved for backup and restore operations.
RECOVERY operation (aka Media Recovery) is different from the command RECOVER, because the execution process of recovery RECOVER command also trigger archivelogs of RESTORATION, and RECOVERY process apply that Redo on data files.
Recovery operation is managed by * parallel * parameters not automatic channels.
(3)'with the resumption of parallel media, these blocks of data are subsequently distributed evenly to all recovery processes to read into the buffer cache. "--> Does this mean that the recovery of the parallel media is intended to copy multiple blocks in parallel to the memory buffer uses cache ONLY. However, the recovery process (applying the vectors of change) is a sequential process? Please correct me
The writing is not all sequential process, but each block of data is retrieved sequentially.
Parallel media recovery, the database uses a 'division of labour' approach to allocate different processes at different data blocks while rolling forward, which makes the process more effective.
Maybe you are looking for
-
I used to get a menu drop-down asking if I want to that they remember my password, this menu no longer appears. When I go to the Security page I can't choose the backup password or the option of exceptions. Any help would be appreciated. Thank you
-
Microsoft in 2010 had Promo program and declare a winner?
Microsoft in 2010 had Promo program and declare a winner? (Code 1-0-2-8). My wife is curious to know if this program was true or false. Note: We have been Davis the winner! Frans Koning * original title - on Nov 30,2010 I received an email from Eric
-
I found that I can add an account with netplwiz. The account you added works fine but does not appear in the account manager. Do you know how to fix this?
-
Staging of gain: Clip Volume Volume of a v.s. track.
I have a question aboutClip Volume (yellow line superimposed on a waveform) andVolume of a track (yellow line in the track automation under the waveform).I know the envelope Volume of a track control automation of fade out of the channel .My hypothes
-
Organize: send objects to the back/front
I am trying to place a rectangle of color behind the text and graphics, but when I try, the color does NOT behave and go backward. There must be a way to make the reorganize the work for such an effect of simple function. Sometimes, all the options a