RMAN and Legato Backup

I am trying to setup the Oracle Agent for Legato to backup an oracle database. I keep getting insufficient privelages when trying to:
rman nocatalog
connect target userid/password@database
I have been trying the system id and password but it doesn't work.

Hi
Are you trying to duplicate a database?
Did you read the restriction of the SET DBID command?
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96565/rcmsynta50.htm#98274
Restrictions and Usage Notes for the SET DBID Command
You should only run the SET DBID command in the following specialized circumstances:
* You are not connected to a recovery catalog and want to restore the control file or server parameter file.
* You are connected to a recovery catalog want to restore the control file, but the database name is not unique in the recovery catalog.
* The server parameter file is lost and you want to restore it.
Is the 3rd point your case?
Other good Metalink note:
How to restore an Spfile File from autobackup older than 7 days https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=292835.1
restore controlfile from autobackup maxdays <number>;
Bye, Aron

Similar Messages

  • Rman and legato networker

    I have an installation of oracle 8i on AIX, and legato networker 6.1.1.
    I need to link the legato networker 6.1.1 to oracle so that I can trigger rman backups.
    The liblsm.a provided in the installition cd of oracle is for version 5.5 as documented in the installation notes for AIX. What must I do for legato 6.1.1 ?
    Thanks for your help

    A "restored" controlfile can be from either of
    a. An RMAN Backup (ie a backup created by a BACKUP CONTROLFILE command in RMAN or CONTROLFILE AUTOBACKUP)
    b. A manual / scripted Binary Backup (one created with the SQL command "BACKUP CONTROLFILE TO filename")
    c. A controlfile recreated from a script (eg where the script was generated by the SQL command "BACKUP CONTROLFILE TO TRACE ")
    In the first two cases, the restored controlfile also contains information about RMAN Backups made as of upto the point of the controlfile backup . Therefore, even in the absence of an RMAN Catalog, such a controlfile can be used to issue RESTORE DATABASE commands -- it can only restore from backupsets that it knows -- backupsets that were "registered" into the controlfile before the controlfile backup was made.
    In the third case, since the controlfile is recreated afresh, it has NO "knowledge" of database backups (backupsets). A simple "RESTORE DATABASE" cannot be used. Either backupsets must be re-registered into this controlfile with the "CATALOG" command OR an RMAN Catalog must be used (as the Catalog has information about Database Backups and the names of the backupsets containing these backups).
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • RMAN and consistent backup

    Hi,
    in10g, I stop my DB and make a cold backup of my database (it's then a consistent backup).
    Can RMAN use this backup ? How ?
    Thank you.

    Yes, you can use a Cold Backup that was not taken by RMAN -- provided that you have the controlfile included in the backup. In RMAN you'd have to CATALOG each of the files in the backup as DATAFILE COPYies before RMAN can be "aware" of them.
    If the backup was taken with an OS command, you simple use the revers e to restore it. If your backup did not include the Online Redo Logs, you'd need to use
    STARTUP MOUNT
    ALTER DATABASE RECOVER
    CANCEL
    ALTER DATABASE OPEN RESETLOGSin SQLPlus.
    If you want to Apply ArchiveLogs generated after the backup, then don't  open resetlogs !
    continue with
    RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCELand CANCEL when you have applied the last available archivelog, after which you will
    ALTER DATABASE OPEN RESETLOGSHemant K Chitale
    http://hemantoracledba.blogspot.com
    Edited by: Hemant K Chitale on Aug 30, 2009 11:31 PM

  • RMAN and cold backup

    I am taking cold backup manually through copy command on every sunday of database every week and archive log backup through RMAN
    suppose i want to restore backup on wednesday
    how to retreive and apply archive logs
    as archive logs are after taking backup are in different format

    connect target sys/aa@oas
    connect catalog rman/rman@catdb
    connect auxiliary /
    run {
    set newname for datafile 1 to '/ORADATA/dupdb/system01.dbf';
    set newname for datafile 2 to '/ORADATA/dupdb/undotbs01.dbf';
    set newname for datafile 3 to '/ORADATA/dupdb/users01.dbf';
    set newname for datafile 4 to '/ORADATA/dupdb/indx01.dbf';
    set newname for datafile 5 to '/ORADATA/dupdb/example01.dbf';
    allocate auxiliary channel dupdb1 type disk;
    set until sequence 2 thread 1;
    duplicate target database to dupdb
    logfile
    GROUP 1 ('/ORADATA/u02/redo01.log') SIZE 200k REUSE,
    GROUP 2 ('/ORADATA/u03/redo02.log') SIZE 200k REUSE;
    I THINK THIS OPTION WILL WORK

  • RMAN and Begin backup mode

    Hi guys I have a couple of questiopns...
    I want to know whether data is written to datafiles by DBWR when the datafile is in begin backup mode.
    What is the difference in archive log creation during normal operation of a database and operation of a database during RMAN backup?

    user13087302 wrote:
    Normally, Oracle should write only changes into redolog files. But if tablespace is in backup mode, then entire block will be put into redolog as soon as this change it is 1st change occured on that block after enabling backup mode. That is why, we face massive redo log generation if the tablespace is in backup mode. So, logically you should be able to recover to the last SCN you have in hands.What do you mean by last SCN.Is it the SCN before puttting the tablespace in backup mode?Does that mean data present in other files will also be lost even though they are written in datafiles..Pls, look:
    SQL> create tablespace myts1 datafile 'C:\app\oracle\oradata\testdb\myts1.dbf' size 10m;
    Tablespace created.
    SQL> create tablespace myts2 datafile 'C:\app\oracle\oradata\testdb\myts2.dbf' size 10m;
    Tablespace created.
    SQL> create table myt1 tablespace myts1 as select * from dba_objects where rownum<10001;
    Table created.
    SQL> create table myt2 tablespace myts2 as select * from dba_objects where rownum<10001;
    Table created.
    SQL> alter tablespace myts1 begin backup;
    Tablespace altered.
    SQL> create table myt1_1 tablespace myts1 as select * from dba_objects where rownum<10001;
    Table created.
    SQL> create table myt2_1 tablespace myts2 as select * from dba_objects where rownum<10001;
    Table created.
    SQL> create table myt1_3 tablespace myts1 as select * from dba_objects where rownum<10001;
    Table created.Backup database:
    C:\Documents and Settings\Administrator>rman target /
    Recovery Manager: Release 11.2.0.1.0 - Production on Wed Nov 3 15:46:55 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: TESTDB (DBID=2517263760)
    RMAN> backup database;
    Starting backup at 03-NOV-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=44 device type=DISK
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00001 name=C:\APP\ORACLE\ORADATA\TESTDB\SYSTEM01.DBF
    input datafile file number=00002 name=C:\APP\ORACLE\ORADATA\TESTDB\SYSAUX01.DBF
    input datafile file number=00003 name=C:\APP\ORACLE\ORADATA\TESTDB\UNDOTBS01.DBF
    input datafile file number=00005 name=C:\APP\ORACLE\ORADATA\TESTDB\EXAMPLE01.DBF
    input datafile file number=00006 name=C:\APP\ORACLE\ORADATA\TESTDB\MYTS1.DBF
    input datafile file number=00007 name=C:\APP\ORACLE\ORADATA\TESTDB\MYTS2.DBF
    input datafile file number=00004 name=C:\APP\ORACLE\ORADATA\TESTDB\USERS01.DBF
    channel ORA_DISK_1: starting piece 1 at 03-NOV-10
    channel ORA_DISK_1: finished piece 1 at 03-NOV-10
    piece handle=C:\APP\ORACLE\FLASH_RECOVERY_AREA\PRIM_DB\BACKUPSET\2010_11_03\O1_MF_NNNDF_TAG20101103T154701_6F2LXQ5C_.BKP tag=TAG20101103T154701 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:01:35
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    including current control file in backup set
    including current SPFILE in backup set
    channel ORA_DISK_1: starting piece 1 at 03-NOV-10
    channel ORA_DISK_1: finished piece 1 at 03-NOV-10
    piece handle=C:\APP\ORACLE\FLASH_RECOVERY_AREA\PRIM_DB\BACKUPSET\2010_11_03\O1_MF_NCSNF_TAG20101103T154701_6F2M0PJ3_.BKP tag=TAG20101103T154701 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    Finished backup at 03-NOV-10
    Recovery Manager complete.
    SQL> select current_scn from v$database;
    CURRENT_SCN
        1466019
    SQL> drop table myt1_3 purge;
    Table dropped.So, we dropped table MYT1_3 and now trying incomplete recovery.
    SQL> shutdown abort;
    ORACLE instance shut down.
    SQL> startup mount;
    ORACLE instance started.
    Total System Global Area  431038464 bytes
    Fixed Size                  1375088 bytes
    Variable Size             322962576 bytes
    Database Buffers          100663296 bytes
    Redo Buffers                6037504 bytes
    Database mounted. C:\Documents and Settings\Administrator>rman target /
    Recovery Manager: Release 11.2.0.1.0 - Production on Wed Nov 3 15:51:51 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: TESTDB (DBID=2517263760, not open)
    RMAN> run
    2> {
    3> set until scn 1466019;
    4> restore database;
    5> recover database;
    6> sql 'alter database open resetlogs';
    7> }
    executing command: SET until clause
    Starting restore at 03-NOV-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=20 device type=DISK
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00001 to C:\APP\ORACLE\ORADATA\TESTDB\SYS
    TEM01.DBF
    channel ORA_DISK_1: restoring datafile 00002 to C:\APP\ORACLE\ORADATA\TESTDB\SYSAUX01.DBF
    channel ORA_DISK_1: restoring datafile 00003 to C:\APP\ORACLE\ORADATA\TESTDB\UNDOTBS01.DBF
    channel ORA_DISK_1: restoring datafile 00004 to C:\APP\ORACLE\ORADATA\TESTDB\USERS01.DBF
    channel ORA_DISK_1: restoring datafile 00005 to C:\APP\ORACLE\ORADATA\TESTDB\EXAMPLE01.DBF
    channel ORA_DISK_1: restoring datafile 00006 to C:\APP\ORACLE\ORADATA\TESTDB\MYTS1.DBF
    channel ORA_DISK_1: restoring datafile 00007 to C:\APP\ORACLE\ORADATA\TESTDB\MYTS2.DBF
    channel ORA_DISK_1: reading from backup piece C:\APP\ORACLE\FLASH_RECOVERY_AREA\
    PRIM_DB\BACKUPSET\2010_11_03\O1_MF_NNNDF_TAG20101103T154701_6F2LXQ5C_.BKP
    channel ORA_DISK_1: piece handle=C:\APP\ORACLE\FLASH_RECOVERY_AREA\PRIM_DB\BACKUPSET\2010_11_03\O1_MF_NNNDF_TAG20101103T154701_6F2LXQ5C_.BKP tag=TAG20101103T154701
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:45
    Finished restore at 03-NOV-10
    Starting recover at 03-NOV-10
    using channel ORA_DISK_1
    starting media recovery
    media recovery complete, elapsed time: 00:00:03
    Finished recover at 03-NOV-10
    sql statement: alter database open resetlogs
    RMAN>Now, check tables:
    SQL> select count(*) from myt1;
      COUNT(*)
         10000
    SQL> select count(*) from myt2;
       COUNT(*)
         10000
    SQL> select count(*) from myt1_3;
      COUNT(*)
         10000
    SQL> select count(*) from myt2_1;
      COUNT(*)
         10000So, it does not matter what is the status of any tablespace: in backup mode or not. Incomplete recovery uses archivelogs + redologs.

  • Backup policy on Grid, using RMAN and Recovery Catalog.

    Hello Gurus,
    I'm trying to move ahead the new features of Oracle 10g in my company. So I've already created Grid Control and will deploy Agents/Targets during the next week. I also want to switch the backup process from the archaic exp/imp to RMAN with the Recovery Catalog.
    My question is such: could anybody suggest the best book or text with solutions and descriptions of backup policy, using the Grid, RMAN and Catalog? What I want to do is to create eventually the powerful and centralized storage of every database in a company and do all daily routine from there. But as long as I'm only in the very beginning I want to gain some knowledge before the bad experience, like crashed recovery catalog and no backups for all databases :-)))
    Definitely I'll keep existing imp/exp and hotbackup for a long time. I'm not going to substitute all our backup strategy with one catalog. I just want to understand what will be the best practice in the backup perspective.
    And at all, I wonder if you please could give me very brief answer to this question: Let's say I have a huge monster with 5 disks by 500Gb RAD0+1. Is it a bad idea to store all of them in one physical machine before they will tape to backup or it could make sense? For me it sounds a bit scary, but probably if all made with the brain it's not a bad idea?
    Please, send me to some valuable and good source (like Tom Kyte or Don Burleson) Unfortunately, I didn't find anything regard the backups itself. Only pretty much general thought.
    Thanks a lot in advance.
    M.

    great!
    thanks a lot!
    this is definitely valuable info and I'll read right away. but as far as understand they suggest to use Data Guard, Standby and RAC which are the best ways to prevent your environment from crash. But in reality (I mean in my company) nobody is going to move to RAC at this point and I'm not sure, that they will have a chance to do in the next year. they just aren't up to it.
    what I'm looking for is probably some tips and hints about backups in more or less big environment, but not as big as Oracle itself :-) unfortunately, i'm the only DBA in my surrounding. i mean, i have no friends or mentors DBAs that could seat with me in a pub and pass theirs knowledge from generation to generation :-)))
    but anyway, I'll devote this week-end to this link.
    thanks a lot!

  • NOLOGGING with CTAS and RMAN's Incremental backup

    DB Version: 10.2.0.4
    OS : AIX
    We use RMAN for our backup scheduled via cron.
    Retention Policy : REDUNDANCY 1
    Type             : Incremental On 31st of every month, in most of our schemas, we recreate lots of tables using CTAS.
    Because of the size , CREATE TABLE statements take a long time. Since we run on Standard edition, we can't use PARALLELISM.
    NOLOGGING is the only option to improve the performance. But we are worried about the redo not being generated for these tables and the potential loss of data in case of a crash.
    Currently we take a LEVEL0 backup every wednesday and Sunday nights and LEVEL1 backup on the rest of the days.
    I know that everything will be backed up on LEVEL0. But, what if 31st falls on a day where only LEVEL1 backup occurs. We'll only be safe until the next LEVEL0 comes along.
    Any workarounds for this?

    When you write "we need" you make an assumption not supported by the facts.
    The fact is that you need to refresh the data ... you do not need to recreate the table.
    This is just one better solution:
    http://www.morganslibrary.org/reference/materialized_views.html
    there are others too. But not knowing your version number, and you still have not really stated the business case, I can not advise which would be the best. But it is safe to say there is no way on earth I would do what you are doing based on what you've posted. For example why at the end of each day can't you copy that day's rows to a predefined table spreading the load out over all 30 days and then, at month's end truncate the current table and rename it then rename the already loaded staging table. The swap could be done in a few seconds with essentially no overhead.

  • 10g rman database and archivelogs backup with multipled archlog destination

    I would like to use the 10g database and archivelogs backup statetement
    backup database plus archivelog;
    I would like to restrict the location of the archivelogs backed out as I am multiplexing the
    archivelogs
    I did not find a LIKE statement and the backup database plus archivelog
    Did i miss something
    patrick boulay

    I meant backup
    I just want to restrict rman form backing up the two location using the 'one shot' 10g syntax
    I used to backup using two steps
    1) datafile
    2) archlogs with a LIKE expression to tell Rman where to find the archlogs
    1+2 with autobackup of control+spfile
    the 'backup database plus archivelog ' syntax does accept a 'LIKE' expression
    patrick

  • Doubt between RMAN and User Managed Backup

    Friends,
    OS: RHEL AS 3.0
    DB: 9iR2
    Currently we are taking user managed backup.
    rman is in testing(learning) process.
    Is it possible to take rman backup and user managed backup of a database one after another?
    what i mean is.....suppose, if we configure rman for auto backup at 9pm daily. can i take user managed backup before 8pm or after 10pm?
    Am i have to take any precaution's?
    suppose, rman is failed can i restore the db with user managed backup?
    thanks

    Yes, it is possible to perform both user managed backups and RMAN backups.
    It is a waste of resources, but it is possible.
    You would need to make sure both backups do not overlap each other.
    Whether you can restore your database with user managed backup depends completely on the quality of the user managed backup, and whether you have proper (and tested) restore procedures in place.
    Sybrand Bakker
    Senior Oracle DBA

  • RMAN OBULETE and Expired Backup

    HI Experts
    i need a query which can tell me about my expired backups and Obsolete backups . my recovery window is of 14 days
    My database version is 10g(10.2.0.4) on AIX 6.1
    regards,

    AMIABU wrote:
    HI Experts
    i need a query which can tell me about my expired backups and Obsolete backups . my recovery window is of 14 days
    My database version is 10g(10.2.0.4) on AIX 6.1
    regards,Use command:
    Rman > crosscheck backup;
    Rman > crosscheck archivelog all;
    Rman > list backup;
    Rman > list archive logall;
    Expired Backup: List Expired
    Then use report obsolete command it show the backup that you dont need it and after that use Delete obsolete command
    It will delete the backup that you dont need it.
    The term obsolete does not mean the same as expired. In short obsolete means "not needed " whereas expired means "not found."
    reference: http://download.oracle.com/docs/cd/B14117_01/server.101/b10734/rcmconc3.htm
    http://www.geekinterview.com/question_details/66392

  • Interface between RMAN and BACKUP EXEC

    Hi,
    is it possible to Interface RMAN and BACKUP EXEC ?
    I'm looking for some documentations. Many thanks.

    Check this Re: Help with tape backup.

  • RMAN LIST backup and maintain backup.

    Hi Experts,
    Currently we have some changes on the rman retention policy from 168days to 90days.
    RMAN Retention policy is:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS;
    And RMAN Scripts monthly backup is:
    run
    allocate channel t1 type 'sbt_tape' parms
    'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo_monthly.opt)';
    backup as compressed backupset database tag ${SID}_MONTHLY keep until time 'sysdate+168';
    release channel t1;
    I believe I still have the old backup after I changed the 'sysdate+168' to 'sysdate+90'; on my scripts
    How do I manage to delete this ?
    Using, List backup and list backup summary will prompt me very long line and window,
    How do I create the CONFIGURE settings I can remove the allocate channel... on my scripts ?
    Cheers,
    Raff

    Hi mseberg,
    I have executed as your advised below, but somehow it doesnt get the files.
    Is there any way to check what is the oldest backup that available ?
    RMAN> DELETE noprompt BACKUP COMPLETED BEFORE 'SYSDATE-90';
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=100 device type=DISK
    allocated channel: ORA_SBT_TAPE_1
    channel ORA_SBT_TAPE_1: SID=138 device type=SBT_TAPE
    channel ORA_SBT_TAPE_1: Data Protection for Oracle: version 5.5.1.0
    specification does not match any backup in the repository
    RMAN> DELETE EXPIRED BACKUP;
    using channel ORA_DISK_1
    using channel ORA_SBT_TAPE_1
    specification does not match any backup in the repository
    RMAN> DELETE FORCE NOPROMPT BACKUP COMPLETED BEFORE 'SYSDATE-90';
    using channel ORA_DISK_1
    using channel ORA_SBT_TAPE_1
    specification does not match any backup in the repository

  • Implementing RAC database backup through RMAN and grid control.

    Hi...
    plz... can any one give me good document (metalink documents id or else) to implement RAC database backup through RMAN. and also grid document...

    user8943492 wrote:
    Hi...
    plz... can any one give me good document (metalink documents id or else) to implement RAC database backup through RMAN. and also grid document...Read below links
    http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/backup.htm#i443637
    http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/rmanops.htm#i474611
    http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/toc.htm

  • Difference betwen RMAN,COLD and HOT backup

    Hi Experts,
    I have faces some interview question .
    what is difference between COLD and HOT backup ?
    what is difference between RMAN, COLD and HOT backup?

    You mean the following,
    Mark the beginning of the online tablespace backup.
    SQL> ALTER TABLESPACE users BEGIN BACKUP;
    Back up the online datafiles of the online tablespace with operating system commands. For UNIX:
    % cp /oracle/oradata/trgt/users01.dbf /d2/users01_'date "+%m_%d_%y"'.dbf
    After backing up the datafiles of the online tablespace, run the SQL statement ALTER TABLESPACE with the END BACKUP option.
    SQL> ALTER TABLESPACE users END BACKUP;
    Please visit here for more details:
    Making User-Managed Backups of Online Read/Write Tablespaces
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/osbackup004.htm#sthref1489
    Adith

  • OSB Unused block compression and Undo backup compression

    Dear all.
    I know that osb backup software is faster than other vendor software especially oracle database backup area.
    There are two special method (Unused block compression and Undo backup compression)
    But, normally in case of comparable product using same RMAN API(Veritas/Legato etc...), they only backup used block and skip unused block, right?
    I'm confused, what is different from used block only backup and unused block compression.
    Please explain detail about unused block compression and Undo backup compression.
    Sorry about my poor knowledge.
    Thanks.

    This is explained in detail in the OSB technical white paper:
    http://www.oracle.com/technetwork/products/secure-backup/learnmore/osb-103-twp-166804.pdf
    Let me know if you have any questions
    Donna

Maybe you are looking for