Hot backup cloning

Hi all

I have HOT backu cloning. After taking backup 100000 transaction in the source database.

I can't open the database cloning.

SQL > startup pfile='/u01/app/oracle/product/10.2.0/db_1/dbs/inithotdb.ora' nomount;

ORACLE instance started.

Total System Global Area 884998144 bytes

Bytes of size 1222432 fixed

226494688 variable size bytes

654311424 of database buffers bytes

Redo buffers 2969600 bytes

SQL > @/ home/sham/conttrol.sql.

Created control file.

SQL > alter database open resetlogs until cancel;

ALTER database open resetlogs until cancel

*

ERROR on line 1:

ORA-02288: invalid OPEN mode

> > Option 2:

SQL > restore database using backup controlfile until cancel;

ORA-00279: change 481440 September at 14/04/2014 10:09:15 necessary to screw 1

ORA-00289: suggestion:

/U01/app/Oracle/product/10.2.0/Db_1/flash_recovery_area/HOTDB/ARCHIVELOG/2014_04_14/o1_mf_1_2_%U_.arc

ORA-00280: change 481440 thread 1 is in sequence #2

Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}

Cancel

ORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS would get below error

ORA-01195: online backup of file 1 needs a recovery more match

ORA-01110: data file 1:

' / u01/app/oracle/product/10.2.0/db_1/oradata/hotdb/system01.dbf'

ORA-01112: media recovery not started

I generated archives

SQL > select name from v$ archived_log where first_change # > = & change_no;

Enter the value of change_no: 481399

old 1: select name from v$ archived_log where first_change # > = & change_no

new 1: select name from v$ archived_log where first_change # > = 481399

NAME

--------------------------------------------------------------------------------

/U01/app/Oracle/product/10.2.0/Db_1/flash_recovery_area/db3/ARCHIVELOG/2014_04_1

4/o1_mf_1_3_9nptbnb5_.arc

/U01/app/Oracle/product/10.2.0/Db_1/flash_recovery_area/db3/ARCHIVELOG/2014_04_1

4/o1_mf_1_4_9npvc3jb_.arc

/U01/app/Oracle/product/10.2.0/Db_1/flash_recovery_area/db3/ARCHIVELOG/2014_04_1

4/o1_mf_1_5_9npvc4of_.arc

/U01/app/Oracle/product/10.2.0/Db_1/flash_recovery_area/db3/ARCHIVELOG/2014_04_1

4/o1_mf_1_6_9npvcbr3_.arc

NAME

--------------------------------------------------------------------------------

/U01/app/Oracle/product/10.2.0/Db_1/flash_recovery_area/db3/ARCHIVELOG/2014_04_1

4/o1_mf_1_7_9npvcdmw_.arc

/U01/app/Oracle/product/10.2.0/Db_1/flash_recovery_area/db3/ARCHIVELOG/2014_04_1

4/o1_mf_1_8_9npvcfpq_.arc

/U01/app/Oracle/product/10.2.0/Db_1/flash_recovery_area/db3/ARCHIVELOG/2014_04_1

4/o1_mf_1_9_9npvcmp7_.arc

/U01/app/Oracle/product/10.2.0/Db_1/flash_recovery_area/db3/ARCHIVELOG/2014_04_1

NAME

--------------------------------------------------------------------------------

4/o1_mf_1_10_9npvcoy8_.arc

/U01/app/Oracle/product/10.2.0/Db_1/flash_recovery_area/db3/ARCHIVELOG/2014_04_1

4/o1_mf_1_11_9npvcqcs_.arc

/U01/app/Oracle/product/10.2.0/Db_1/flash_recovery_area/db3/ARCHIVELOG/2014_04_1

4/o1_mf_1_12_9npvcx6j_.arc

/U01/app/Oracle/product/10.2.0/Db_1/flash_recovery_area/db3/ARCHIVELOG/2014_04_1

4/o1_mf_1_13_9npvd26l_.arc

NAME

--------------------------------------------------------------------------------

/U01/app/Oracle/product/10.2.0/Db_1/flash_recovery_area/db3/ARCHIVELOG/2014_04_1

4/o1_mf_1_14_9npvdcfc_.arc

/U01/app/Oracle/product/10.2.0/Db_1/flash_recovery_area/db3/ARCHIVELOG/2014_04_1

4/o1_mf_1_15_9npvdkr6_.arc

/U01/app/Oracle/product/10.2.0/Db_1/flash_recovery_area/db3/ARCHIVELOG/2014_04_1

4/o1_mf_1_16_9npvdmkn_.arc

This:

>/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2014_04_15/o1_mf_1_13_%u_.arc

would be entered as

> /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2014_04_15/o1_mf_1_13_9nsh7x1g_.arc

Should be pretty obvious.  Oracle not knows not the exact file name, %u is a placeholder. You KNOW the exact name of the file.

Hemant K Collette

Tags: Database

Similar Questions

  • 11i hot backup cloning

    Hello

    firstime I did successfully cloning hotbackp

    (a) the technological set up pending target environment (perl adcfgclon.pl dbTechstack)

    (b) created controlfile
    (c) running the script to update library
    (d) set up the db (using perl adcfgclone.pl dbconfig)


    After a few days, it has not applied the patches so far in production...

    I need clone database

    I copied the files of database and recreated the controlfile. After that, does run adcfgclone.pl dbconfig?

    If the database is created or resized, I think that there will be no problem with the create controlfile manually, because we will edit and create the controlfile and database will be open. correct me if I'm wrong...

    Condition that you correct the size of files in data/tablespaces.

    as you say, we have the context file, after you have created the file of control manually, if we run perl adcfgclon.pl dbTier < context="" file=""> , this step will again try to create controlfile, and we will have problems, because the database is already open...

    Sorry for typo's fault, the command is 'perl adcfgclone.pl dbconfig.

  • is it better to restore from time machine or from a backup cloned

    I just got my replaced Mac hard drive. Of course, I did a backup first - two, in fact. One is my Time Machine stored on my Time Capsule backup. The other is a backup cloned, made with SuperDuper!, stored on an external hard drive.

    Now, the mac is back with it's all new hard drive, and I was wondering: is there an advantage to restoring from a backup vs the other? Is "Restore from Time Machine backup" a better option than with SuperDuper! to restore the clone bootable? Or vice versa? Or does really make any difference at all?

    Additional info: the TM and Clone were both looking at the same time (give or take a few minutes) and the Mac, at the time where it has been saved, ran the Mavericks. I also asked Apple to install the Mavericks on the new hard drive instead of El Capitan.

    Display?

    Thanks in advance.

    It really makes no difference that you are restoring from.

  • Closed APB hot backup

    Hello

    Could someone please help me to clarify the following:

    Screen Shot 2014-11-19 at 5.46.41 AM.jpg

    The above is the new guide features 12 c University student.

    Is not "alter database begin backup" called "backup of user management?

    "Hot backup" AFAIK means online of RMAN backup and requires that the database is in log mode archive.

    Also the instructer said "If the PDB is closed, you take a hot backup, that APB is not save, because the files are not in line.» "If the file is not open to the database, RMAN cannot hot backup.

    I just test rman backup in 12.1.0.1 when the PIC is opened and it included also all the PDB, including those that have been closed and in mounted condition. So what is the correct history?

    Thank you!

    Unfortunately, I can ask is no longer the instructor, but I noticed yesterday that I have actually ask your instructor about the same question a year ago. The answer was however really does not correspond to the question. In any case I guess it was just some confusion about the context.

    From what I understand, there are two ways to make a hot backup. One is called "user managed backup" by putting the database in backup mode by using the "alter database begin backup" statement and the other is to use RMAN. Two hot backupl methods require that the database is in log mode archive, but RMAN, by default, unlike "user managed backup" includes storage in offline mode.

    This means while a database is hot backup mode using "user managed backup", cannot close a PDB file and doing so will trigger an error ORA-01149. RMAN however has no such restrictions and will automatically include the backup of the PDB closed.

    I hope that my conclusion is correct and I am considering this thread supposed replied.

  • Hot backup question

    Our DBA functions are currently outsourced, and I'm just curious about something.

    We asked them to copy a schema from our database of Production (during the day) to its equivalents in the acceptance and Test environments. We found a problem in that the maximum value of a primary key on a table was 100121, and the sequence used to generate the value of the primary key is only 100081.

    Is a risk to a backup in hot and any annex a backup must be taken after hours? Or maybe did something wrong?


    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi

    If the request was to copy only a single schema, then it is unlikely that a "hot" backup would have been used. Most likely exp/imp or expdp/impdp would have been used to export the Production schema and import it into the other two databases.

    The sequences are always 'a problem' when export - import is used when the database is active. Export of the sequence and the export of the table (or tables) using the sequence are not at the same time / SNA so that the values can differ as they have updated in the source database.
    The plan is to restore order in the target database by manually incrementing until it reaches the desired target (100122).

    Hemant K Collette

  • Hot backup

    We take the backup hot at 18:00 (daily, filled in 1-2 hours).
    At 23:30 all archive log files will be separately BackupExec backup and the log files are deleted from the file archive of the Oracle.

    Day before yesterday, for some reason, the copy of the data file hung up (after alter database begin backup has been published in the Hot backup script)
    That the copy has been hung up, 'alter database end backup' has been issued, the PB was in backup mode.
    The average while the deleted BackupExec database journal archive file Archive of the Oracle.

    Yesterday hot backup was completed successfully, only alter database begin backup failed (ORA-01146: cannot start online backup - folder 1 is already in the backup)
    After the hot backup 'alter database end backup' was published successfully.

    Given that logs archiving failed whien database is always in backup mode, will all the data generated duing the applied to the data file backup mode?

    Please notify.

    Thanks in advance,

    Arul

    You hear all changes (including the dml, ddl) applied to the database during the backup mode...

    YES.
    See http://www.bluegecko.net/oracle/oracle-tablespace-hot-backup-mode-revisited/

    Hemant K Collette

  • When use REUSE/SET, no.-ARCHIVELOGS in create controlfile in HOT BACKUP?

    I am an Oracle DBA intern and I have the following queries. Good response with detailed explanations, I want to get my deleted concepts!

    T1 > > while a user managed hot backup, when we create a path for recovery (CREATE CONTROLFILE) control file when we use the control file created with the following options:
    * 1. REUSE / SET *.
    * 2. ARCHIVELOGS / NOARCHIVELOGS *.

    T2 > > in what scenarios re - create the control file while recovering the data from a hot backup files?

    Thanks a ton!
    Kind regards
    Blabla

    Specify REUSE to indicate that existing control files identified by CONTROL_FILES initialization parameter can be reused and overwritten.

    SET the DATABASE to change the name of the database.

  • Where is the official Oracle documentation that describes the hot backup?

    I used the cruelly utility failure to search for Metalink and Google, but the closest thing, I found is a description on "ask Tom".

    I'm looking for official Oracle documentation that describes what is happening internally during a hot backup. There are many websites and blogs out there that describe, but I'm looking for a description of Oracle themselves. The only things I found in the Oracle documentation until now is to know how to start and stop the hot backup, but not what is happening internally. GR 11, 2 preference if it made a difference.

    Thanks in advance.

    Hello;

    Its probably gone RMAN covers this.

    The closest would be:

    Backup and recovery reference 11g Release 2 (11.2) E10643-06

    Or

    Backup and recovery User Guide 11 g Release 2 (11.2) E10642-05

    See Chapter 8 - Concepts of backup RMAN - online backups and backup Mode

    Best regards

    mseberg

  • UNDOTABLESPACE and TABLESPACE TEMP in cold or hot backup database

    Hello

    I have a BACKUP, including logs generated after the backup archive. What is the use of the UNDOTABLESPACE and TABLESPACE TEMP datafile data file backup? When it is used?


    Kind regards

    007

    >
    I have the archives which have all entries are committed in it. Undoinformation is necessary for the restoration and recovery of the database? Can u explain more clearly?
    >

    The archives are as congested entries of redo logs. And the redo logs contain all changes to the database. Information cancellation will be there in the segments of cancellation that there can be some uncommitted transactions active in the segments of cancellation. Cancellation information is necessary to put the database in a consistent state. It is one of very important storage similar to the control file and system tablespace to bring a database

    Edited: Imagine a scenario. You make a backup hot at 07:00. And there are a lot of transactions happening before and during hot backup. For ex, I run a massive update to a table. This will cause the recovery to write logs of recovery that will be eventually written to logs archived. Now, you finish the backup mode. But I have not validated or cancelled my transaction. Say to the reasoning, I roll back the transaction.

    Now, you restore the backup. Do you think that my transaction will be in inconsistent state? Redo logs and archiveed newspapers had my transaction changes/redo entries. If you are not using undo in recovery segments, what will happen to my operation that I rolled back? Without cancel, half of my transaction (even if they were not truly committed) will be sitting in the database. This is where undo tablespace helps us in rolling back the transaction during your recovery. Remember, the cancellation information "peuvent" not all in recovery if you do not a complete database recovery. But Oracle should know that. If you need to undo tablespace in your backup set.

    I hope it's clear now

    Published by: VenkatB on Sep 15, 2011 10:17

  • Hot backup maintained by users script? 11g (Unix) good measures?

    I'm looking for a script to hot backup maintained by users for GR 11, 2 under Unix. My client does not want to use RMAN.

    I think that the main steps are:

    -alter system switch logfile
    -change the system log archive current
    -alter database begin backup
    -alter database backup controlfile (and also the backup on the track)
    -copy the data files, archives, remake, controlfiles to another location
    -take the database out of hotbackup mode
    -J' have also capture spfile and other config files

    Recovery is just restore to the original location, at STARTUP and backup of the end.

    Basically, there may be cases where we have archives that have been made after the hotbackup we want to apply. In this case, it is RECOVER database with the HELP of BACKUP CONTROLFILE until CANCEL in order to apply the archives.

    His right?

    After you take the database out of Hot Backup, you must switch logfile (preferably several times) and backup generated archivelogs.
    You can back up archivelogs while the database is in backup mode but you must also back up the first archivelog (s) after the backup of the end.

    Hemant K Collette

    PS: Oracle provides documentation.
    http://download.Oracle.com/docs/CD/E11882_01/backup.112/e10642/part_umb.htm#BEHBHCBA

    Hemant K Collette

  • Rebuild the basis of Standby hot backup existing

    Hi all

    I'm rebuilding the database of existing sleep using the current hot backup because of the huge gap between the primary and Standby, which cannot be restored by backup team

    Can someone please explian the steps to perform this activity.

    Oracle-9i version

    The size of the database - 50 GB

    Hot - Latest backup

    Kind regards
    RAM.

    Follow the same process as that used to create the eve of the first.

    http://download.Oracle.com/docs/CD/B10501_01/server.920/a96653/create_ps.htm#67525

    Skip the steps that should not be remade - for example to create the parameter file for the standby, the configuration of the listener and tnsnames, entries that you already have, etc.

    Hemant K Collette

  • Need help with RMAN archive destination error during hot backup

    Hello

    Oracle 8.0.6, Win 2000 Server.

    We take the cold daily backup as our backup strategy. We wanted to implement the backup hot. If one day, I turned on the log mode archive and set the directory to archive in F:\drive to store all archived generated. I took the backup and put the database in noarchive log mode. We continued with offline backup.

    After a few days, I wanted to test the hot backup again. I created the directory of the archive in E:\archive\ instead of F:\archive\. When I started the hot backup, all files have been copied except the archives.

    The error was:

    RMAN-03022: compilation command: sql
    RMAN-06162: SQL statement: alter system archive log current
    RMAN-03023: executing command: sql

    RMAN-03022: compilation command: backup
    RMAN-03026: recovery error release of channel resources
    RMAN-08031: output channel: c1
    RMAN-08031: output channel: c2
    RMAN-00569: = error message stack follows =.
    RMAN-03002: failure during the compilation of command
    RMAN-03013: type command: backup
    RMAN-06089: journal archived F:\ARCHIVE\ARCH1_0000327116.ARC not found or at odds with catalog

    Complete recovery manager.

    RMAN is looking for the destination of the journal archive old i.e. 'f:\archive\ '. I don't have the backup of the old archives of destination. I put the new destination to archive E:\archive\ in the initorcl.ora file, rman is always looking for destination F:\archive\.

    Please suggest what to do. How can I remove old information from archive of controlfile and say rman, look in the new archives destination i.e. E:\archive\

    Hello
    WOW 8.0.6.
    Maybe you can run a cross?

    change archivelog than any overlap;

    Update
    Found some docs online for 8.0
    http://download.Oracle.com/docs/CD/A58617_01/server.804/a58396/TOC.htm
    She does not mention the overlap.
    With the change command, you should be able to do the cleaning as well.
    If you have moved the archivelogs to the new location, you can use catalog according to the doc.
    Kind regards
    Tycho

    Edited by: tychos on mrt-27-2011 08:26

  • A development database hot backup

    RDBMS version: 10.2.0.4
    Operating system: Solaris 5.10

    One of our development database is in NOARCHIVELOG mode, and we want to keep it this way. Every Sunday, we want to make a complete this DB RMAN backup. Since developers (WE, India, China) could be working from home on Sunday and need to connect to the DB, we cannot stop this DB. I think to create a hot RMAN backup script that will be
    1. Place the DB in ARCHIVELOG mode temporarily
    2. Startup (OPEN) the DB and Take a FULL BACKUP including the archive logs with a script
     run {
     allocate channel m1 TYPE DISK connect 'sys/fls'  FORMAT   '/u05/rbkp/ptcp_%U.rmb';
     backup as compressed backupset database tag 'full'  plus archivelog; 
    }
    
    3. After the Hot backup is done, the shell script should place the DB in MOUNT stage and revert back to NOARCHIVELOG mode   and startup
    The RMAN full backup taken using the strategy above held for restoration and recovery?

    I can't put the commands for the placement of the DB in ARCHIVELOG mode in the RMAN run block. I can?

    You have a valid backup, but you will not be able to perform a FULL restore. You said that you will return noarchivelog mode after the backup. When your database requires recovery of the media in this mode, you will have more often a gap between the last saved archivelog and real online newspaper. If you can only make one point incomplete recovery - until the last archivelog available in the backupset.

    Werner

  • Hot backup - recovery time

    I have 2 questions about the hot backup concept please:

    Let's say I started the backup to hot at 09:00 and ends at 11:00.

    (1) I can recover the database to the point of 09:00 and on (recover until time) as long as I have all archive logs generated between 9 and 11:00, right?

    (2) I can restore database to the top at 11:30 so if I have logs archiving between 09:00 and 11:30?

    Please correct me if I'm wrong.

    Thank you

    The backup of the Data2 began at 10:01, but you must recover the database at 09:29. You can only do if you restore time data1 data2 (and all the other data files!) a prior backup archivelogs and applied the backup and roll forward at 09:29.

    Hemant K Collette

  • hot backup control file?

    I wonder and wants to know... we can put hot backup control file... If so, then isn't the content of the controlfile changed after backup?
    alter database backup controlfile to 'd:\backups\cntrlfilebackup.dbf reuse';
    alter database backup controlfile to trace as 'd:\backups\cntrlfile_trace.txt reuse';
    

    Hemant K Collette

Maybe you are looking for

  • SONY VGN-NS30E PARAMETERS AVIO

    my daughter sarah jane barry baught, this laptop computer and the reinstall DVD is gone and now we can not reinstall the appropriate settings the llaptop name is sony vgn-ns30e of avio is there anyway you can help please thank you

  • Help blackBerry Smartphones! cant upgread or remove the my new BB BBM

    I just bought a blackberry 9790 with the old sowftwear and the BlackBerry Messenger 6.2.0.I tried to update the app world but the download or update button wasn't there! then I tried to delete it through the management of applications and the button

  • create popup LOV values depends on the return values of select tabular list

    HelloMy requirement isIn a table, first column is selection list and second column is LOV Popup.I want to create if select user from the selection list value 'A' then displays the popup LOV values.If the user selects 'B' values in the select list and

  • Say there is jams when there is not.

    The printer stops, says there is a jam and there isn't.  I looked and there is no bits of paper stuck inside.  He wil make loud slamming noises or grinding noises and then stop and say he is blocked.  I just press OK and it usually comes out.  Someti

  • Difficult cancellation process

    Difficult cancellation process creates the doubt of overall quality