in ARCHIVELOG mode - online backup

I'm doing an online mode to archivelog (user managed backup) backup

1. to do this, I put the db in backup mode of
SQL > alter database begin backup

2 copy data files to the backup location in the Ocean
using the cp command

3 tried to copy controlfile to use OS location

SQL > alter database backup controlfile to ' / u01/oracle/product/10.2.0/hotbk'

Here, I get an error: ORA-01580: the backup control file creation error
and ORA-27038: created file already exists.

I checked if the control file already exists in the location, but there is no controlfile here.

Please help what is this error!

Thank you!

It's wrong to try to save as
ALTER database backup controlfile to ' / u01/oracle/product/10.2.0/hotbk/control.bk'

Tags: Database

Similar Questions

  • Benefits of the PDB to the backup of the fence? More necessary Archivelog to Archivelog mode?

    Hello

    I have a little, no doubt simple, issues.

    So far, I did my backups on my test database while I closed the pluggable like this database:

    CLOSE PLUGGABLE DATABASE WISE15;
    BACKUP PLUGGABLE DATABASE WISE15 PLUS ARCHIVELOG;
    

    But I couldn't find any documentation that says that it is better to first close the database. So should I really have to close? It seems to work when it is open. But in a production environment, I suppose it might cause problems when users always access the database?

    My second question is: when my database is in archivelog mode, do I really need to add 'PLUS ARCHIVELOG' on each backup command?

    Thank you!

    1 it is not better to close the database. RMAN is an online backup tool, your backup will be consitent without worrying if your database is open or not.

    2 you should always backup your archivelogs. Why do play you with your database recovery.

    Don't forget the two laws of Murphy

    1 everything that can go wrong will go wrong

    2 Murphy was an optimist

    If you don't back up your archivelogs you will need to do online continuously.

    --------

    Sybrand Bakker

    Senior Oracle DBA

  • archivelog mode and hot backup

    Hello
    in g R2
    This is the hot backup:
    online backup
    
    A backup of one or more datafiles taken while a database is open and the datafiles are online. 
    When you make a user-managed backup while the database is open, you must put the 
    tablespaces in backup mode by issuing an ALTER TABLESPACE BEGIN BACKUP command. 
    (You can also use ALTER DATABASE BEGIN BACKUP to put all tablespaces in your database into backup mode in one step.)
    would we in log mode archive to do an online backup?

    Thank you.

    user522961 wrote:
    Hello
    in g R2
    This is the hot backup:

    would we in log mode archive to do an online backup?

    Yes. It is a must!

    HTH
    Aman...

  • RMAN backup with no archivelog mode

    Hi friend

    I made this backup several times before, to save a test database that is not in archivelog mode.
    My procedure are:


    rman target $ /.

    RMAN > run {}
    stop immediately;
    bootable media;
    backup format ' / u02/RMAN/%d_LVL0_%T_%u_s%s_p%p' database;
    remove obsolete;
    }

    But strange, now I have error:
    ORA-19602: no backup or copy of current file in NOARCHIVELOG mode


    Thank you very much

    Hello

    You havnt marked my answer as correct!

    Boyfriend so bad. Joke.

    Kind regards
    Navneet

  • Open resetlogs does not work when creating clone db with online backup

    Hi all

    I am trying to create a clone database using a database hot backup.

    STEPS I FOLLOWED
    ------------------------------------

    LET-> CURRENT_DB NAME = DEV
    DATABASE NAME = DEVCLONE CLONE

    FORM DEV DB steps
    -----------------------------------------------
    -put the database in backup mode using 'alter database begin backup'
    -Copy all data files to a different folder
    -for the copy, I carried a few operations on the DB (creating users, tables, LMD etc...)
    -between the copy, I did also order journal
    -at the end of the copy, "alter database end backup.
    -created a backup control file in a human-readable format (alter database backup controlfile to trace under...)


    steps to clone side DB ((DEVCLONE)
    -------------------------------------------------------------------
    -created a setting for the database file.
    -changed the backup control file, so that it indicates the location of the datafiles copied destination
    -set the ORACLE_SID
    - then "sqlplus / as sysdba"
    -starup nomount
    -Run the file updated control (created a control file for database clone)
    -recover the database using 'recover database using backup controlfile'
    I have provided the files to archive that he was asking for (the archive that has been generated in DEV DB logs)
    then I cancelled the recovery by typing 'Cancel '.
    -recover database using backup controlfile until cancel;
    then typed "Cancel".
    -then try to open the database with resetlogs open but it showed error below

    ALTER database open resetlogs
    *
    ERROR on line 1:
    ORA-01195: online backup of file 1 needs a recovery more match
    ORA-01110: data file 1: ' D:\DATA_GUARD\DEVHOT\SYSTEM01. DBF'

    Please help me on this...

    Thank you

    When the database is in BACKUP mode, it is still actively updated, only the data file headers are frozen.
    The data files are all "blurred".
    To resynchronize the, you can all do it again that was generated during the BACKUP mode - so the generated archivelogs while in BACKUP mode at least the first captured archivelog BACKUP of the END (and release of the datafile headers) is required.

    Hemant K Collette

  • How recovery works after an online backup

    Hello

    Although conceptually tent understand how backup and restoration works, I stumbled upon a question about the hot (on-line) backup.
    It is a conceptual question (I'm trying to understand how things work), is not a ' how can I do / what should I do step by step "question.

    As far as I understand, an online backup of a tablespace can be done by copying files operating system place a tablespace while the database is in place and used (i.e. transactions are changing data in the database). Before the copy of the operating system starts, the Oracle RDBMS should be informed that an online backup is taken through 'ALTER '.... BEGIN "(such as additional information are written to the log again, that may be required for subsequent recovery using the backup online BACKUP). During recovery, the Oracle RDBMS uses copies of the OS as well as the line and archived files redo logs in order to rebuild all committed transactions and it uses more (uncommitted) transactions ongoing restoration UNDO tablespace.

    Think about it, it seems to me that, so that it works in all possible scenarios to cancel it, information from moment has been the backup may be required. So the UNDO tablespace backup suits as well (see the explanation of this assumption below). However browsing the internet (including the Oracle online documentation) I find all instructions for the backup of the UNDO tablespace when an online backup is taken. More I couldn't understand when exactly such a backup of the UNDO tablespace must be done to ensure that the database can be retrieved in all scenarios.

    I believe that the cancellation as soon as the last hot backup information can be held for example in the following scenario:
    Suppose we take a backup of a given tablespace hot, i.e. we copy all files of the OS that make up this tablespace, while the database is potentially used. Either D1 one of the data files in the space of our table and let the T1 transaction change datafile D1. Allow transaction T1 still be engaged during the copy of datafile D1 are made and allow of (at least part of) T1 changes included in backup D1' D1 (because DBWR has already written the changed blocks to the moment where they have been copied to the backup). Allow transaction T1 be restored once the copy is complete. D1' will therefore include changes in T1, while D1 do not.

    Now some time later, the D1 data file is lost. When you get the copy of D1 D1 ", recovery logs (archived) apply to D1. Before that, transaction T1 must be restored in the copy of D1 ", because changes to the T1 should not appear in the version retrieved from the database.
    I have however not, understand the information in the statement rollback transaction T1 out exactly. It can still be in the current UNDO tablespace. I guess however that rollback information is not maintained in the UNDO tablespace forever. I see three possible answers to this
    (a) there are some requirements that missed me so far for the backup UNDO tablespace whenever a hot backup is found.
    (b) given that the Oracle "RDBMS" must be notified that you made an online backup, it can store all the information relevant cancellation (e.g. write it in the redo log) when the tablespace is put in backup mode.
    (c) there are situations where recovery is not possible due to the "old UNDO information missing.

    Answer (b) seems the most plausible to me. However, I found no confirmation of this and if (b) is really the answer, I'd be interested to understand what information is stored where by the RDMBS Oracle and how it is used for recovery.

    To summarize, I have the following questions:
    (I) is there any obligation to save the UNDO tablespace and an online of a tablespace backup, and if so, where is this stated in the Oracle documentation?
    (II) mechanisms to ensure that uncommitted transactions can be identified the copy a tablespace online (potentially very long once the copy has been made)?
    (III) you know all the links (Oracle documentation or other online resources) explaining these datails?

    Thank you for any advice and answers
    Kind regards
    Martin

    However I don't see how T cancellation of transaction information can be recovered without such a backup of the UNDO tablespace

    Taking your scenario that only datafile D is lost and only this data file must be restored when the loss is discovered in time t8:

    At the time the restored datafile D t9 is from t4.

    However, Oracle notice now that, while the rest of the database (i.e. all the other data files) from t9, this data file is from the t4. This cannot be permitted (a data file cannot be inconsistent with the rest of the database unless it is offline). That's why Oracle requires you to RECOVER DATAFILE D.
    Get it BACK then if applies to all again them (archivelogs) T4 starting until t9 that relates to this data file.
    The price drop happened in the t6 is also re-played - of the redo (no cancellation). {Don't forget that again picking up all of the changes, including restorations! so the cancellation at the t6 was also captured in it again!}
    For example, the data file is presented in a consistent state without having to redo cancel them.
    No matter if the information contained in the cancellation had been released and crashed between t6, t8 and t9.

    When Oracle made a recovery of media to a data file, there no need to cancel - media recovery does not care if the blocks are table, index, LOB, transactions, commits, restorations; It was simply a record physical of all the changes.

    PS: This has nothing to do with what version you use V6 11.2
    If the tablespace is called 'UNDOTBS1' or 'RBS' is irrelevant.

    Hemant K Collette
    http://hemantoracledba.blogspot.com

    Published by: Hemant K grapple Sep 28, 2010 22:16

    Published by: Hemant K grapple Sep 28, 2010 22:21

    Published by: Hemant K grapple Sep 28, 2010 22:22

  • I get the error message "update system tray has stopped working". My Verizon Online backup program doesn't work so not.

    I have Verizon Online Backup.  I get the message above, and then some: "error [System.IO.FileNotFoundException]: SyncNShare\OnlineBackup.SyncNShare.exe.

    Track: To OnlineBackup.Common.Utility.ApplicationLauncher...

    Verizon Online backup is not able to work.

    Hi NancyB_598,

    Thanks for posting in Microsoft Communities. Provide the following information to understand the issue:

    ·         Did you do changes on the computer before the show?

    ·         When exactly do you get this error message?

    Follow these methods.

    Method 1: Temporarily disable the security software .

    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

    Method 2: Follow these steps:

    Step 1: Start the computer in safe mode with network and check if the problem persists.

    Step 2: If the problem does not persist in safe mode with networking, perform a clean boot to see if there is a software conflict as the clean boot helps eliminate software conflicts.

    Note: After completing the steps in the clean boot troubleshooting, follow step 7 the link to start the computer to a Normal startupmode.

    Let us know if you need more assistance. We will be happy to help you.

    Thank you.

  • If you choose for online backups rman, what a $ORACLE_HOME

    Hello ladies.

    I am rewriting our backup procedure. I learned that shortly the company will need the backups online (for the moment, we have the luxury of a backup of cold 03:00).

    I would like to use rman, must justify the vultures/managers and why it is preferable to managed user online backup. Managed backup of said user would put the db in backup, then instant mode the registrants concerned.

    The only problem I see with rman to date is that (so I read it) the utility won't save the binary / configuration files - that is to say the $ORACLE_HOME.

    Is this true? If so, the corner of rman falls a point. Does anyone out there use rman for onlines? If so, how do you take care of your $ORACLE_HOME? I was thinking a user managed weekly export or something like that.

    Seriously, I would start again using rman.

    Thank you.

    11.2.0.3

    RHEL 5.6

    Thanks a lot, it sounds like a reasonable to follow policy.

  • During the upgrade in ARCHIVELOG mode

    Hi all

    During the upgrade of the database 10 g and 11 g... I'll put my mode to archivelog noarchivelog mode database to save disk space.

    That this task is improving or speedsup improvement process or any impact.

    Suggestions please.

    Kind regards
    TEJAS

    PL identify accurate versions of "10 g" and "11 g", as well as your OS version

    During updates of database, for most databases, it is recommended to disable archiving because this will speed up the upgrade process. See the exceptions listed by MOS Doc below. Jose has recommended as the upgrade is a case all or nothing - if the upgrade fails for any reason, you need to restore from a backup and start over. Once the upgrade has completed successfully, in archivelog mode must be switched back on again.

    Best practices to minimize downtime during upgrade [ID 455744.1]

    HTH
    Srini

  • Archivelog mode startup

    Hello.

    I'll only do a simple question:

    If I have a database in archivelog mode ocurr an unexpected shutdown
    is there some process using these logs archived so it s necessary automatically when I do a normal boot, or only use the redo logs?

    Thank you

    Alex Tutor wrote:
    Hello.

    I'll only do a simple question:

    If I have a database in archivelog mode ocurr an unexpected shutdown
    is there some process using these logs archived so it s necessary automatically when I do a normal boot, or only use the redo logs?

    Thank you

    No, in this case oracle (SMON) will only use online redo log and will perform instance recovery then database opens. Of course, if we won't support failure.

  • Configure ARCHIVELOG Mode

    Hi all

    I'm using the Oracle 11 g with Windows 32-bit platform.

    My database was in noarchive mode.
    SQL> SELECT LOG_MODE FROM V$DATABASE;
    
    LOG_MODE
    ------------
    NOARCHIVELOG
    
    
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    
    SQL> startup mount
    ORACLE instance started.
    
    Total System Global Area  535662592 bytes
    Fixed Size                  1334380 bytes
    Variable Size             306185108 bytes
    Database Buffers          222298112 bytes
    Redo Buffers                5844992 bytes
    Database mounted.
    
    SQL> alter database archivelog;
    
    
    Database altered.
    
    SQL> alter database open;
    
    Database altered.
    
    SQL> archive log list;
    
    Database log mode            Archive Mode
    Automatic archival             Enabled
    Archive destination            USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     40
    Next log sequence to archive   42
    Current log sequence           42
    
    SQL> show parameter log_archive_start
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ---------
    log_archive_start                    boolean     FALSE
    
    SQL>
    I'm doing a switch a check to my way USE_DB_RECOVERY_FILE_DEST logs are generated.
    That's all it requires to configure databsae in ARCHIVELOG Mode.
    A question is why is log_archive_start FALSE setting. I think it should be TRUE.
    SQL> Alter system archive log start;
    
    System altered.
    
    SQL> show parameter log_archive_start
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ---------
    log_archive_start                    boolean     FALSE
    
    SQL>
    Thank you
    SAZ

    You don't need this setting. This setting was amortized to the oracle 10g database.

    Concerning
    Asif Kabir

  • online backup of Oracle

    Hello
    What is the proper sequence of online backup with the mode "backup start/end? Currently we are something like a database set to begin the backup, backup of data files (either said by the way, include the controlfiles), place the database in the backup of the end, then save archived logs. The problem is when the resumption of the db, we get an ora-600, something certainly won't.

    TIA

    Hey, Lamont,

    While you take a backup of the data files, you cannot take your controlfiles backup in the same order as it is already specified.

    If you issue the "alter database backup bagin' command, then this will take the database from a backup mode, where you can take backup of the storage spaces. After the backup, you must write "alter tablespace end backup" command to release form the backup mode and it takes the normalmode.

    To backup controlfile, you would write "alter database backup controlfile to trace /'.»» Backup of the controlfile is in any way connected with the begin backup mode or end backup.

    I hope that this part is clear. Now to redo log backup, there is no such command to take the backup of the database line.
    Basically, in online backup mode, redolog file backup can be taken. You can make a backup of all closed the file, controlfile and redo log file. But this is not possible while you are taking an online backup.

    For example, you can specify, that how you take a backup of all these files in database three (datafile, controlfile and redolog file) at the same point of time?

    Well, about the error ORA-600, it is usually for the corruption of block error. To do this, I can suggest to check the alert.log file and then put it in detail to understand the exact problem.

    Thank you and best regards,
    MSORA

  • What is the best online backup?

    What is the best online backup for an iMac?

    In the long term, a couple of good external hard drives will provide cheaper and more reliable backups.

  • best online backup for mac computer program

    Hello

    I am looking for advice on the best program of online backup for mac computers.

    I tried iDrive, but does not not for my macbookpro and customer support really! *

    Thus references of good experience with online backup companies would be a real help.

    Thanks in advance,

    Pat

    I can't tell if it's the best but I used Mozy for several years and have been happy with it. https://Mozy.com/#slide-9

  • best Mac online backup services

    I'm tired of having to Carbonite cause my CPU and the fan do so many things... but the new guarantee of an online backup.  I am considering CrashPlan but don't know if it's better... or who is the best.

    I'm partial to DropBox.

Maybe you are looking for

  • IPod Touch 4th Bluetooth

    Which version of bluetooth don't have ipod touch 4th?  My ipod does not connect to my bluetooth speakers.

  • light blue/orange

    Hi all Under my downgrade from vista to XP on my dv6000, Cherylg found the registry entries which It took to make the light on the front of my laptop to change color wireless. These gpio the entries do not work in windows 7, any ideas? drivers, new s

  • Loading of jpeg files

    Hello I created a program that loads a different image according to a string generated by three options selectable by the user.  Him must select two numbers between 0 and 12 and a version of the display. First of all, I just put three display options

  • 50 d shutter speed

    I just bought a 24-70 f2.8L USM mm to go with my 50 d which is letting me use higher shutter speeds but I noticed that when I take the speed indicated in the camera viewfinder is much lower than the speed indicated by the metadata when I display the

  • How can I connect to Windows XP Pro without using the user name and password?

    I received led optiplex 745 and they all two windows pro installed but I can't open windows pro because I don't have the previous user password.How to open windows pro without usin the previous username and passwordHelp, please