Rman backup with no archivelog mode

Hi Friend,
I did this backup many times before, to backup a test db which is not in archivelog mode.
My procedure are the following:
$ rman target /
rman> run {
shutdown immediate;
startup mount;
backup format '/u02/RMAN/%d_LVL0_%T_%u_s%s_p%p' database;
delete obsolete;
But strange I got now error:
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
Thanks a lot

Hi,
Paste the snap shot of what you actually doing and what error messages are coming. That will help to analyze the problem.
This basically happens when your shutdown is not normal or clean.
One way is to again startup the database and then issue shutdown Normal.
Regards,
Edited by: Navneet on Sep 30, 2008 3:21 AM

Similar Messages

  • RMAN backup in no archivelog mode

    what are possible ways to backup the database which is in no archivelog mode using RMAN
    regards,
    Sakthivel
    Edited by: SAKTHIVEL on Jul 22, 2011 1:02 AM

    Hi;
    Please check:
    backup in noarchivelog mode using RMAN
    backup in noarchivelog mode using RMAN
    Regard
    Helios

  • 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 advance

    726d07e6-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)

  • RMAN backup in noarchived log mode

    Hi,
    can we take RMAN backup in noarchived log mode?
    If yes, how? just run backup database command or ?
    thanks

    You can use RMAN to backup a database in noarchivelog mode but you need to shutdown and mount the database. e.g.:
    rman target /
    RMAN> shutdown immediate
    RMAN> startup mount
    RMAN> backup database

  • 1st RMAN backup database plus archivelog fails

    Hi
    I've just setup RMAN on Oracle 11g within a two node cluster environment.
    I have completed the following:
    * Created a recovery catalog
    * Registed Database
    * Configured retention policy window of 7 days
    * Configured default device type to disk
    * configured controlfile autobackup on;
    * configured device type disk backup type to compressed backupset
    * configured channel device type disk format
    * validated database
    * backup database plus archivelog and I received the following error,
    RMAN> backup database plus archivelog;
    Starting backup at 24/07/2008 17:37:17
    current log archived
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup plus archivelog command at 07/24/2008 17:37:20
    RMAN-06059: expected archived log not found, lost of archived log compromises re coverability
    ORA-19625: error identifying file /u01/app/product/admin/RAC/arc/rac2_2_4_660689 305.arc
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    On node 2 I can list the file:
    SQL> !ls -lt
    total 4120
    -rw-rw---- 1 rac dba 14336 Jul 24 17:18 rac2_2_5_660689305.arc
    -rw-rw---- 1 rac dba 4196352 Jul 24 17:13 rac2_2_4_660689305.arc
    SQL>

    Read the chapter
    http://download.oracle.com/docs/cd/B28359_01/rac.111/b28254/rman.htm#i474611
    The node that is doing backups must be configured to have access to archivelogs on all the nodes.
    See "RMAN Archiving Configuration Scenarios" -> "Noncluster File System Local Archiving Scheme".

  • RMAN backup with archivelogs.

    Dear all,
    Can i delete all archivels after the RMAN backup. Why do we backup archivelogs with RMAN backup. I think it is useless.
    Please can somebody explane this.
    Regards
    upul indika

    Why do we backup archivelogs with RMAN backup. I
    think it is useless. You think backing up archivelogs is useless ? Did you ever recover a database ? Did you ever simulate a disaster recovery ? If yes, how did you do it ? If not, then you should have a look at the documentation
    Anyway, you can (or even you should) delete archivelogs after the RMAN backup.

  • Rman backup with a missing archivelog.

    hello,
    I backed my database up yesterday after you guys helped me fix few problems I had on it. I used RMAN with the following command in a run block:
    *run {*
    allocate channel t1 type disk;
    backup current controlfile ;
    backup database;
    backup archivelog all delete input;
    release channel c1;
    At the end of the operation, RMAN indicates that and archivelog is missing and it couldn't find it. As a result, recover operation can be compromised. Now am confused because I do not know whether the command executed successfully or not and how to fix the missing archivelog.
    Below is the entire output of the operation along with error message:
    canal affectÚ : t1
    canal t1 : sid=131 typedev=DISK
    DÚmarrage de backup dans 16/04/09
    canal t1 : dÚmarrage de l'ensemble de sauvegarde de tous les fichiers de donnÚes
    canal t1 : insertion du fichier de donnÚes dans l'ensemble de sauvegarde
    insertion du fichier de contr¶le en cours dans l'ensemble de sauvegarde
    canal t1 : dÚmarrage de l'ÚlÚment 1 dans 16/04/09
    canal t1 : ÚlÚment 1 terminÚ dans 16/04/09
    pointeur=+ASMTEST/meta4/backupset/2009_04_16/ncnnf0_tag20090416t211049_0.334.684
    *364257 Útiquette=TAG20090416T211049 commentaire=NONE*
    canal t1 : ensemble de sauvegarde terminÚ, temps ÚcoulÚ : 00:00:14
    Fin de backup dans 16/04/09
    DÚmarrage de backup dans 16/04/09
    canal t1 : dÚmarrage de l'ensemble de sauvegarde de tous les fichiers de donnÚes
    canal t1 : insertion du fichier de donnÚes dans l'ensemble de sauvegarde
    fichier de donnÚes en entrÚe fno=00008 nom=+ASMTEST/meta4/m4prod.dbf
    fichier de donnÚes en entrÚe fno=00010 nom=H:\ORADATA\M4REC.DBF
    fichier de donnÚes en entrÚe fno=00009 nom=E:\DATAFILEMETA4\M4PROD02.DBF
    fichier de donnÚes en entrÚe fno=00001 nom=+ASMTEST/meta4/system01.dbf
    fichier de donnÚes en entrÚe fno=00003 nom=+ASMTEST/meta4/sysaux01.dbf
    fichier de donnÚes en entrÚe fno=00006 nom=C:\TEST.DBF
    fichier de donnÚes en entrÚe fno=00007 nom=+ASMTEST/meta4/meta4.dbf
    fichier de donnÚes en entrÚe fno=00005 nom=+ASMTEST/meta4/example01.dbf
    fichier de donnÚes en entrÚe fno=00002 nom=+ASMTEST/meta4/undotbs01.dbf
    fichier de donnÚes en entrÚe fno=00004 nom=+ASMTEST/meta4/users01.dbf
    canal t1 : dÚmarrage de l'ÚlÚment 1 dans 16/04/09
    canal t1 : ÚlÚment 1 terminÚ dans 16/04/09
    pointeur=+ASMTEST/meta4/backupset/2009_04_16/nnndf0_tag20090416t211107_0.333.684
    *364271 Útiquette=TAG20090416T211107 commentaire=NONE*
    canal t1 : ensemble de sauvegarde terminÚ, temps ÚcoulÚ : 00:51:10
    canal t1 : dÚmarrage de l'ensemble de sauvegarde de tous les fichiers de donnÚes
    canal t1 : insertion du fichier de donnÚes dans l'ensemble de sauvegarde
    insertion du fichier de contr¶le en cours dans l'ensemble de sauvegarde
    inclusion du SPFILE en cours dans l'ensemble de sauvegarde
    canal t1 : dÚmarrage de l'ÚlÚment 1 dans 16/04/09
    canal t1 : ÚlÚment 1 terminÚ dans 16/04/09
    pointeur=+ASMTEST/meta4/backupset/2009_04_16/ncsnf0_tag20090416t211107_0.345.684
    *367351 Útiquette=TAG20090416T211107 commentaire=NONE*
    canal t1 : ensemble de sauvegarde terminÚ, temps ÚcoulÚ : 00:00:26
    Fin de backup dans 16/04/09
    DÚmarrage de backup dans 16/04/09
    journal en cours archivÚ
    canal libÚrÚ : t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: Úchec de la commande backup Ó 04/16/2009 22:04:03
    RMAN-06059: journal d'archivage attendu introuvable ; la perte du journal d'arch
    ivage compromet la possibilitÚ de rÚcupÚration
    ORA-19625: erreur lors de l'identification du fichier H:\ARCHIVEMETA4\ARC00001_0
    *682674928.001*
    ORA-27041: ouverture du fichier impossible
    OSD-04002: ouverture impossible du fichier
    O/S-Error: (OS 2) Le fichier spÚcifiÚ est introuvable.
    Here's my nderstanding and please correct me if am wrong:
    The first 3 instructions of the run block executed successfully, but
    the last one didn't. Is that so?
    Whatever the understanding, do I have a backup? WHat can I do to have a consistent backup?
    Thanks in advance.

    Adomi,
    It is sad to see you are still running RMAN in 8i fashion where you are on 10g.
    The script is bs, sorry
    run {
    allocate channel t1 type disk; -- not required
    backup current controlfile ; -- not required, as this is already done by backup database
    backup database;
    backup archivelog all delete input;
    release channel c1; -- not required.
    If you have controlfile autobackup on, you could just
    backup database plus archivelog
    and be done with it.
    As you didn't make a RMAN backup from the start, your backup archivelog statement should have read
    backup archivelog all skip inaccessible delete input;
    Once that succeeds Oracle shouldn't need the archivelog anymore, and you should make a second backup without the skip inaccessible clause.
    Sybrand Bakker
    Senior Oracle DBA

  • Rman backup with archivelog from tape

    Hi,
    We are doing a level 0 backup on sunday and then level1 backup on all the weekdays.
    The archive logs generated are 1GB each and are more in number.
    IF we include archivelog in level1 backup , its taking around 12hrs to complete.
    So we are thinking of not including the archivelog in level 1 backup,but then we can daily move the archive logs to another location .
    So archivelogs will not be in the rman backup.
    So in case of restore, how can we apply the archive logs required? rman will not identify the archive logs...how can we manually apply the required archive logs
    Please help

    Information about ArchiveLogs is available in the controlfile as I outlined in my response post in the thread How to find out which archived logs needed to recover a hot backup?
    However, if your CONTROLFILE_RECORD_KEEP_TIME is 7 days and you are attempting a restore of a backup 14 days or 28 days or 35 days old ... you may be out of luck.
    You'd need to maintain a listing of ArchiveLogs in some manner (e.g. a log file outside the database that you periodically update with information about ArchiveLogs).
    It is much better to also backup the ArchiveLogs using RMAN. Don't forget to ensure that controlfile backups or autobackups are also taken and retained.
    Hemant K Chitale

  • RMAN backup with smallest backup size

    Oralce 11g2 on Redhat 5. The diskspace is our tightest resource, and we want to an incremental backup with level0 on Sunday and level 1 every week days and Saturday. I am to use the comamnds to do the job--Sunday
    backup incremental level 0 tag 'level_0' database plus archivelog;
    --Other days
    backup incremental level 1 database plus archivelog delete all input;I do not think this is the best practice nor produce smallest backup files.
    What are you comments and opinions. Thanks

    Pavan, Thank you for reply. Here are the info requested
    what is size of DB ??
    ~250GB, including UNDO and TEMP. It is a dev database and not very big. But we have total 800GB disk space. After setting some housekeeoing folders, and allow some space for data growth, it leaves 180GB for flash_recovery_area.
    what would be max size of archive logs generated per day ??
    Variable from less than 1 GB to 12 GB
    Are you taking backups to tape or Disk ??
    Disk. In the 180GB flash_recovery_area, Current backup size is 152GB. If a backup fails to delete obsolete files, the next backup will fill the flash_recovery_area.
    Provide the Rman configuration information ??
    RMAN> show all;
    RMAN configuration parameters for database with db_unique_name TDEV2 are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
    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_tdev2.f'; # default

  • Create a database from 32bit rman backup with NEW name on a 64bit system

    Hello,
    i'm more programmer than database admin but i need to set up a 10gR2 apex development server based on our productive instance in a short time.
    For that i want to use a rman backup of the productive machine (SLES 10 32bit, DB10GR2+ASM, APEX 3.1).
    Because of the less time i got, i want to use an existing machine (SLES 11 64bit, DB10GR2+ASM) as destination.
    On this machine i want to create a new instance from the backup i took. I Already read note 881395.1 but i'm quite unsure about 2 things
    a) It's VERY IMPORTANT that the development instance has another name than the productive instance.
    When i follow 881395.1 and set the enviromental variable ORACLE_SID to another new name. Will this be all? Or will there be problems using another SID because of references in the controlfile or sth. like that?
    b) It's VERY IMPORTANT that the datafiles aren't stored in the same path and with the same names as the productive instance. It is another server but there is already a copy of the database (our dba tried to set up a standby solution on this machine) and i don't want to bother this!
    How can i rename the datafiles before restoring the backup from scatch?
    I found this: set newname for datafile 1 to '<filesystem based filename>';
    Will this help? Do i need to rename every single file? Or is it possible to set a path in which all datafiles will be restored?
    c) What about the 32bit to 64 bit thing? Will this work? Or do i need to convert the database? How? RMAN Convert?
    Or could RMAN convert anyhow used to realize the whole thing?
    Thank you very much for your support!
    Regards
    Daniel

    Hello,
    i'm more programmer than database admin but i need to set up a 10gR2 apex development server based on our productive instance in a short time.
    For that i want to use a rman backup of the productive machine (SLES 10 32bit, DB10GR2+ASM, APEX 3.1).
    Because of the less time i got, i want to use an existing machine (SLES 11 64bit, DB10GR2+ASM) as destination.
    On this machine i want to create a new instance from the backup i took. I Already read note 881395.1 but i'm quite unsure about 2 things
    a) It's VERY IMPORTANT that the development instance has another name than the productive instance.
    When i follow 881395.1 and set the enviromental variable ORACLE_SID to another new name. Will this be all? Or will there be problems using another SID because of references in the controlfile or sth. like that?
    b) It's VERY IMPORTANT that the datafiles aren't stored in the same path and with the same names as the productive instance. It is another server but there is already a copy of the database (our dba tried to set up a standby solution on this machine) and i don't want to bother this!
    How can i rename the datafiles before restoring the backup from scatch?
    I found this: set newname for datafile 1 to '<filesystem based filename>';
    Will this help? Do i need to rename every single file? Or is it possible to set a path in which all datafiles will be restored?
    c) What about the 32bit to 64 bit thing? Will this work? Or do i need to convert the database? How? RMAN Convert?
    Or could RMAN convert anyhow used to realize the whole thing?
    Thank you very much for your support!
    Regards
    Daniel

  • Manually register rman backup with oracle database 10g

    Dear All.
    I want to restore full backup of database.
    I have not configure flash_recovery_area.
    how i can manually register full rman backup of database with oracle database 10g.?
    Please help me.
    Thanks & Regards
    Ravi Kumar

    This is the 10gR2 documentation on the CATALOG command :
    http://docs.oracle.com/cd/B19306_01/backup.102/b14194/rcmsynta011.htm#sthref230
    You must be specific when stating the version you are running.  Commands may be limited or unavailable in older versions versus more recent versions of Oracle.
    Hemant K Chitale

  • Rman backup with nocatalog

    hi,
    if i take backup by rman nocatalog ,where it cud be problematic if take backup in nocatalog & wt should i do to resolve them.
    thxs

    Hi,
    As you said that you are rman is with nocatalog, then its going to use the Control file for storing the informaiton about the backups.
    Could not able to understand "where it cud be problematic if take backup in nocatalog "
    Got, Control file is going to store the information for a period time "CONTROL_FILE_RECORD_KEEP_TIME " specifies the minimum age in days of a record before it can be reused. Manily it will fall under the "Circular reuse records".
    Problem will as the if you are want to go for more than one DB, it would be problematic and cases where Control file got corrupted. Try to go Recovery Catalog.
    - Pavan Kumar N
    Edited by: Pavan Kumar on Feb 9, 2009 3:53 PM
    For your reference :
    http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmmaint.htm
    Edited by: Pavan Kumar on Feb 9, 2009 3:57 PM

  • RMAN backup with no expiry

    Hi,
    We are using oracle 11gR2 on AIX 6.1,
    We have to take the RMAN backup which should be never expired and we dont have any catalog,
    for "KEEP FOREVER" option we require catalog,
    any other way not to expire RMAN backup?
    Thanks

    Assuming this is a once off requirement, it is just a case of taking a cold backup of the database including the controlfile and any archivelogs and then storing these offline.
    A copy of the pfile as well as a text copy of the controlfile (backup controlfile to trace) should also be taken.
    As long as you have all of this , it should be possible to restore/recover your database to the start point.

  • Rman backup with different retention

    Hi,
    I have to write script on RMAN backup retentions and policies.
    My requirement is as below:
    Daily backup Name and retentions : db_daily_bkp_sun,db_daily_bkp_mon...with 7 days retension
    Weekly backup Name and retentions : db_wkly_bkp_01,db_wkly_bkp_02...with 4 backup retension
    Monthly backup Name and retentions : db_mnth_bkp_jan,db_mnth_bkp_feb...with 12 backups
    Yearly backup Name and retentions : db_yearly_bkp_2010,db_yearly_bkp_2011,db_yearly_bkp_2012
    All backups will be full online. We have to store backups in local disk.
    We have created backup locations on disk as below.
    Daily : /orabackup/daily
    Weekly : /orabackup/weekly
    Monthly: /orabackup/monthly
    Yearly : /orabackup/yearly
    So is it possible to take such backups in RMAN without using any third party software ? If possible then please provide me such script.
    With Regards,
    Khokhar Murtuja S
    Database Administrator

    Hi,
    RMAN will make you have only one retention.
    You can have more kind of retention using the option "keep until" in your backup command.
    It'll certainly do what you need.
    Greets,
    Loïc

  • DBID for RMAN backup with format '%u'

    Hi all:
    (I've post this at c.d.o.s. too, but no answers...)
    This is Oracle 10.2.0.3 on Enterprise Linux 5.
    I've been given two backups from an Oracle Database: one 'cold' and
    one 'hot'. They both come from a lost server.
    The fact is that they have been made with the format '%u' (eight
    alphanumerics) and I must recover the database on a new server. I
    cannot get the DBID from the backup files name because of this format
    '%u'.
    The backups have been made with CONTROLFILE AUTOBACKUP ON (or so I'm told).
    How can I get the DBID to recover the DB on a new server?
    Thanks in advance.
    Cheers.
    Carlos.

    "I don't know where you read this, it's wrong. "Oracle® Database Backup and Recovery Advanced User's Guide
    10g Release 2 (10.2)
    2 RMAN Backups Concepts
    Control File and Server Parameter File Autobackups
    How RMAN Performs Control File Autobackups
    "The RMAN behavior when the BACKUP command includes datafile 1 depends on the CONFIGURE CONTROLFILE AUTOBACKUP setting. If control file autobackups are ON and the backup includes datafile 1, RMAN writes the control file and SPFILE to a separate autobackup backup set. If control file autobackups are OFF and the backup includes datafile 1, then RMAN includes the current control file and SPFILE in the same backup set as the datafiles."
    Cheers.
    Carlos.

Maybe you are looking for

  • Webdynpro PDF forms issue

    Hello All: I am facing an issue, with opening pdf forms using webdynpro applcaions, after applyign support stacks. I am using linktoaction UI element to display a pdf form which is stored in mimereporsitory, and i am displaying it after getting URL.

  • I cannot believe you don sell 17 inches mac book pro anymore!!!!!

    really I cant believe you don t have that alternative anymore, a Monitor is not portable!!! and for prhotographers a 17 mac book pro is a must to show your work

  • Uncaught exception:DSSMa:INvalid State(5):19

    Anybody out there able to translate this to me in english and perhaps i can fix it. My problem is i cannot enter my messages or even start to text message it keeps popping up with this window??????

  • Values of expressions????

    Could anyone tell me what is the type and value of these expressions? 1. 'z'-'A' 2. 12E3F 3. (long)Math.random() 4. new byte[4][5].length 5. new int[4].length 6. new Object() == new Object () Thanks!

  • Query for inserting data from OAF page to database table

    I need to insert a row into a table by getting parameters from pageContext. The fields in this page are from multiple view objects and the data in these fields should be inserted into a table. If anyone can provide solution in this regard will be ver