Rman and Netbackup

Does anyone know how to associate a Netbackup Class with an Rman backup? We run multiple databases on each machine and want to backup each database to a particular class. Right now we have to use a generic backup class that Netbackup automatically picks up. The problem is that we want different retetion times for different databases and we can not currently do that with just one Netbackup class. Any ideas???

Hi ..
very easy ... just use Netbackup's scheduler to launch each backup, having one class per each database you want to backup.
Also, you can set at the RMAN script some information using "params=xxxx" when allocating channels. In that params you can set the name of the class that you want to use.
Regards,
Jose Ramon

Similar Messages

  • RMAN and NETBACKUP 7

    Hi.
    running: oracle 9.2.0.1,windows.
    hi i have netbackup running rman on the database using a template. The problem is that it is using the system user. See below:
    INF - Begin progress logging for process: (3816.4360)
    INF - Using policy DB_Oracle_Online_Oracle2K to perform a server directed Oracle Stream Based backup.
    INF - Starting Oracle Recovery Manager.
    INF - Using: "e:\app\oracle\product\9.2.0.1.0\bin\rman.exe"
    INF - Connection info: target 'system/*****@PROD' nocatalog
    Thus we get the error: ORA-01031: insufficient privileges
    I'm new to netbackup and i'm not sure how to change the user in the template from 'system' to 'sys'...
    Now i know that to run rman one must have sysdba privileges. Thus the error.
    My question is, is it a bad practice to grant the system user the "sysdba" privilege??
    thanks
    kL

    Hi,
    INF - Connection info: target 'system/*****@PROD' nocatalog
    Thus we get the error: ORA-01031: insufficient privileges
    I'm new to netbackup and i'm not sure how to change the user in the template from 'system' to 'sys'...
    Now i know that to run rman one must have sysdba privileges. Thus the error.
    My question is, is it a bad practice to grant the system user the "sysdba" privilege??It's mandatory grant "sysdba" privilege to user which run backup. I recommend you create a specific user to run backup and grant "create session" and "sysdba".
    SYSDBA is administrative privilege required to perform high-level administrative operations such as creating, starting up, shutting down, backing up, or recovering the database. The SYSDBA system privilege is for fully empowered database administrators and the SYSOPER system privilege allows a user to perform basic operational tasks, but without the ability to look at user data.
    Types of Database Connections
    Target database - RMAN connects you to the target database with the SYSDBA privilege. If you do not have this privilege, then the connection fails.
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmcnctg.htm
    Regards,
    Levi Pereira
    Edited by: Levi Pereira on Apr 28, 2011 10:04 PM

  • RMAN with Netbackup - ALL Tape backups expired

    Hello,
    I am currently experiencing some issues between Netbackup and RMAN.
    A bounce of the Netbackup server seems to have marked all our tape backups managed by RMAN as 'Expired'. This means RMAN can no longer locate any of the tape backups.
    We have checked the rentention periods and the physical backups on the tapes and they seem to be ok. Therefore it would suggest a link problem between Netbackup and RMAN. We have tried bouncing the Netbackup servers again but this has not resolved the situation.
    However sometimes the tape backups become available and but then become expired again.
    I have also tried backing up to Tape since the bounce and the backup is successful, however 24 hours later it becomes expired despite Retention policy set to 4 weeks on both RMAN and Netbackup.
    Please help!
    Thank you

    Hey;
    I tried the delete obsolete; command initially. Admittedly, I didn't report that - so here's the output:
    RMAN> delete obsolete;
    using target database control file instead of recovery catalog
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to recovery window of 3 days
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=137 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=132 devtype=DISK
    Deleting the following obsolete backups and copies:
    Type Key Completion Time Filename/Handle
    Backup Set 6 10-SEP-09
    Backup Piece 6 10-SEP-09 c-1369681761-20090910-00
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 07/24/2010 21:36:58
    RMAN-06091: no channel allocated for maintenance (of an appropriate type)
    As for the changing default device type: someone had mentioned that the default device type was disk so I changed it to tape, tried the command, failed, then switched it back.
    Just to reiterate: I don't have a tape drive on this box; never did. I'm not sure how two tape backups could have gotten there in the first place.
    The oracle version is:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    and the OS version is:
    $ uname -r; cat /etc/redhat-release
    2.6.18-128.el5xen
    Red Hat Enterprise Linux Server release 5.3 (Tikanga)
    If push comes to shove, I can leave those two backups. There were a rather large number of them that I did successfully make go away. It just seems odd that I can't make these guys go away.
    Thanks for the help; I appreciate it.
    Doug

  • RMAN and BRTolls

    Hi,
    shall i use RMAN and BRtools for backup on SQL Database?if not what are the backup tools for SQL.
    rgds
    Rajender.J

    Vinay,
    RMAN is recmd tool for oracle Databases.
    SAP provides the tools BRBACKUP, BRARCHIVE, BRRESTORE, BRRECOVER, BRSPACE, BRCONNECT, and BRTOOLS to manage and protect the data in your Oracle database.
    If u r talking about SQL Server better u can go for any third party tolls like netbackup or Veritas for Production DB.
    Let me know what exaclty u want to do
    Regards
    Vinod

  • Oracle RMAN and SAP Databases

    Hi all,
    Am mainly an Oracle DBA and had just recently return to supporting SAP customers after a 4 year absence of supporting non-SAP customers.
    Anyway, I have some question on using Oracle RMAN with SAP databases. Backup softwares are Netbackup and Data Protector.
    I managed to get the backup working, that is, there is no issues, Oracle RMAN backup using SAP's brarchive and brbackup works alright. My question is about using an Oracle RMAN catalog. I've read thru several SAP documentation and cannot find one where I can use a RMAN catalog.
    Reading from
    http://help.sap.com/saphelp_nw04/helpdata/en/d1/43d7cab9a04a409cc46876e36762c2/content.htm
    Does that mean I cannot use a RMAN catalog? Had anyone managed to use a RMAN catalog to do the RMAN backup?
    *Another question I have is, do I need Netbackup and Data Protector if I want to run RMAN backup to disk via brarchive and brbackup? Does backint requires a SBT library to use RMAN? What I mean is, I want to use RMAN but doing backup to disk instead of to tape which means I don't need the tape library installed, will backint know that this is the case and will not look for the tape library?
    Any advise or feedback on this will be very much appreciated. Thanks in advance.
    Extracts from http://help.sap.com/saphelp_nw04/helpdata/en/d1/43d7cab9a04a409cc46876e36762c2/content.htm are as below:
    The Oracle Recovery Manager (RMAN) is an Oracle backup program. You can use it as a command line interface (CLI) or as a graphical user interface (GUI) in the Oracle Enterprise Manager (OEM). We support RMAN with the SAP backup tools BRBACKUP and BRARCHIVE.
    RMAN uses the System Backup to Tape (SBT) interface to back up to tape devices. We implement SBT using the SAP backup library. External backup tools can implement this interface as a dynamic link library (DLL).
    Integration
    By integrating RMAN into BRBACKUP, you can add security and flexibility to important functions in existing backup strategies and tools:
    · The recovery catalog is not used. The backup information is stored in the control file. After the backup, the control file is also backed up. In a restore, the control file is restored first, followed by the data files.
    · The integration of RMAN into BRBACKUP also guarantees integration into the SAP Structure linkComputing Center Management System (CCMS).
    · BRBACKUP tape management functions as previously (that is, as when using the SAP backup library).
    · You can still use the BACKINT interface with external tools.
    · All previous SAP backup strategies are supported while using RMAN. Nevertheless, RMAN is not supported for standby database backups and split-mirror backups.
    · The following components are delivered with the standard Oracle8 installation:
    ¡ RMAN with the Oracle SBT interface
    ¡ Backup library and backup tool Networker from Legato
    ¡ Legatou2019s BACKINT interface implementation (as of Oracle 8.0.5)
    The SAP installation also delivers the SAP backup library with BRBACKUP and BRARCHIVE.
    Edited by: newbie01.sap on Jun 11, 2010 10:50 AM

    Hi,
    This question has been answered by Stefan Koehler. Not sure why the thread is not updated by his response. I am hoping to give him the max points actually.
    It was a very good response which is as below:
    Subject: Re: Oracle RMAN and SAP Databases
    Message: Hello,
    > Does that mean I cannot use a RMAN catalog? Had anyone managed to use a RMAN catalog to do the RMAN backup?
    Correct - if you are using the BR*Tools and RMAN you are not able to use a RMAN catalog with it.
    You can do manual catalog syncs, but the BR*Tools are not supporting a catalog database.
    >Does backint requires a SBT library to use RMAN?
    Check this documentation (Point "RMAN Backups Without Backup Library"): http://help.sap.com/saphelp_nw04/helpdata/en/3f/9d800e1aec11d2b42c00609419997a/content.htm
    > Any advise or feedback on this will be very much appreciated.
    We are also using RMAN for taking backup of all our oracle database (SAP and non-SAP), but without any BR*Tools.
    That is also possible - check sapnote #105047 (Part "50. Recovery Manager (RMAN)").
    As you mentioned, that you are a fulltime DBA you should have enough knowledge to use RMAN without BR*Tools.
    Regards
    Stefan

  • Simple Problems of oracle 8i using Rman and so.................

    I am Shan here. I am DBA student for oracle 8i. I have a problem with a backup and recoverys article which is Rman. If you can not help for this then please tell me a contact of that person who can help me. If u can then it is on..
    1- I create a user RMAN. I grant him a quota on rman and on rman_temp tablespace; grant him a dba, sysdba, recovery_catalog_owner role. Then I connect it to target. Then I create catalog, then register database then type a command of list (LIST COPY OF DATABASE and LIST BACKUP OF DATABSE) it shows me nothing. ok.
    Then I take a whole backup of a database with the command
    Run {
    Allocate channel c1 type disk;
    Backup
    Format d:\backup\whole_%d_%s_%p.bak
    (Database) ;}
    This command shows me allocating channel and then processing backup Then this commend ended successfully. And it shows me files physically of my desire path. Then I query a command of LIST for showing me my backup details (LIST BACKUP OF DATABSE). But it shows me nothing. No details about my backup. But the file is still physically there at my given path.
    This is the same story with copy command it physically create a file there but do not show it with LIST COPY OF DATABASE command.
    It is not a story of a single Computer I changed it and do the same stuff with the others but the result is same. But I got desire results on one Computer but next day I got another problem with this Computer. I type a command of list backup it shows me the results. It has two backup pieces. I tried to delete them with change command by allocating channel for delete type disk. And then change backupset 605(backup set no) delete;. It shows me that he deleted that file form path but when I query of list backup it show me the same results which it show me before delete. Then I tried to delete second set which is still there I would not allow me to delete that set and give a error that catalog does not have the information about that file but list command show me both pieces. I do manual resync catalog command but no difference on results.
    Then I take another whole backup at another place, and query to get its information but list command does not show the results. It shows me the old results. Then I take a backup of a single data file and query but the result is same.
    I also tried to delete that copy data file by change command but it says that recovery catalog do not have the information about that file.
    2- If we allocate more then one channels for backup on a same drive what will be the behavior of those channels.
    Will them not working parallel. And tell me that it is true that channels will work parallel when they are writhing information on different drives (different drive means that two different hard drives physically).
    Syntax of all commands is writen,I tallied it by book.<<<<<<<<<<<<<<<<3- What is O stands for in crosscheck command? A stands for available U Stands for Unavailable and O Stands for? In a status column.
    4- Please tell me a single command to delete all tables of a user. (Single command..)
    We are using ORACLE 8i (8.1.7.0.0) Version for practice.
    Give its solution by mail
    [email protected]

    I have briefly used sql*ldr in linux and yes, it does support exit codes

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

  • RMAN and Point IN time recovery

    1. We have a table with bad data.
    2. We know that data was entered via the GUI exactly one week ago.
    3. I have an RMAN database full back-up that was taken the same day but before the table was screwed.
    4. the database in archivelog mode.
    5. we will be happy to restore the database in the condition before the change occured
    5. when I restore database via RMAN, and do:
    recover UNTIL TIME '16-MAR-2005';
    Oracle restore bad data, and if I put time or scn I get a message that the database incarnation is wrong!
    Is there any other way to do it?
    TIA

    Thanks Laurent! I was able to restore it only until Mar. 17?
    1. RMAN> reset database to incarnation 2;
    2. RMAN> restore database until time "timestamp '2005-03-15 00:00:00.00'";
    RMAN-03002: failure of recover command at 03/29/2005 19:44:11
    RMAN-06555: datafile 1 must be restored from backup created before 15-MAR-05
    3. My backup was created on Mar. 16, :
    RMAN> restore database until time "timestamp '2005-03-17 00:00:00.00'";
    RMAN-03002: failure of restore command at 03/29/2005 19:46:55
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    4. RMAN>Restore database; OK
    5. RMAN>Recover database; internal error!
    RMAN-03002: failure of recover command at 03/29/2005 20:08:02
    ORA-00283: recovery session canceled due to errors
    RMAN-11003: failure during parse/execution of SQL statement: alter database reco
    ver logfile 'G:\ORACLE\ORA10G\FLASH_RECOVERY_DATA\ORCLSRMA\CONTROLFILE\2005_03_2
    3\O1_MF_1_14_14442T9B_.ARC'
    ORA-00283: recovery session canceled due to errors
    ORA-00600: internal error code, arguments: [3021], [1], [15], [2], [0], [419057]
    , [0], [416789]
    6. RMAN> recover database until time "timestamp '2005-03-17 00:00:00.00'"; OK
    7.RMAN> recover database until time "timestamp '2005-03-17 00:00:00.00'"; OK
    8. RMAN> alter database open resetlogs; OK
    9. RMAN> list incarnation;
    List of Database Incarnations
    DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
    1 1 ORCLSRMA 2671268838 PARENT 1 09-MAR-04
    2 2 ORCLSRMA 2671268838 PARENT 318842 01-MAR-05
    3 3 ORCLSRMA 2671268838 ORPHAN 380529 25-MAR-05
    5 5 ORCLSRMA 2671268838 CURRENT 409286 29-MAR-05
    4 4 ORCLSRMA 2671268838 ORPHAN 416789 25-MAR-05

  • RMAN and Datapump Question

    Hello,
    Database : 11gR2
    I was recently provieded an access to a new database, because users are complaining of poor perfromance.
    During my monitoring of this database, and using statspack report (because we don't have licensed diagnostics pack), I have seen both RMAN and Datapump processes running together during peak hours. So I asked the DBA responsible of this server, why she's scheduling RMAN and datapump together?!! She replied that she knows nothing about these datapump processes and that could be RMAN who is using (“ Module: Data Pump Worker”) !
    This answer was surprising me since in the Oracle documentation, I never read that before! Is it correct that RMAN utility can use Data Pump Workers??!
    This is here answer : "I think these “ Module: Data Pump Worker” are run by rman during backup."
    Thank you and sorry for this stupid question!
    Edited by: 899767 on 26-ago-2011 0:47

    RMAN and DATAPUMP are two different utility provided by oracle to take backup
    Oracle Backup are divided into two parts: ---
    a) Physical Backup: -- These are the copies of physical database files and we can take it by using RMAN utilities provided by Oracle.
    b) Logical Backup: -- These contain logical data (for example tables and stored procedures) extracted with Oracle Datapump Utility and stored in a binary file
    Refer to this thread it will help
    https://forums.oracle.com/forums/thread.jspa?threadID=1133819
    And
    http://myoracleservice.com/?q=node/38

  • Expert secrets for using RMAN and Data Pump by kamran agayev and Aman Sharm

    Hi ,
    Is this book available in INDIA:
    Expert secrets for using RMAN and Data Pump by kamran agayev and Aman Sharma
    How can i get this book in India.
    Thanks,
    Alok
    Edited by: user12141893 on 6 Apr, 2012 11:25 AM
    I tried to buy this book online from rampant's official site but shipping cost was more than cost of book.
    Book is not available on Flipkart and Amazon also

    Helios,
    OP can send a mail to me too :-) .
    OP,
    We are in talks with the publisher. In India, the book would be by another partner publisher and details of it I shall be updating when would be available. Thanks for the interest in our book.
    Aman....
    PS: This is a technical forum and is not meant for such topics. Please discuss by communicating with Kamran and me over email personally. Let's keep the forum for the very purpose it is meant for-technical discussions.

  • Rman and bcv bkp

    hi,
    I want to find out if rman and bcv bkp both triggered together will it lead to any problem.

    hi Natarajan,
    this is the portal content management forum. for your database question please use the database forums:
    http://forums.oracle.com/forums/index.jsp?cat=18
    thanks,
    christian

  • Rman and optimizer run parallel

    we have 300GB size database and we have to run RMAN full backup which normally takes 6 to 7 hrs to complete and after RMAN completion we need to run the schema level optimizer to collect the statistics for whole database; We need at least 12 hrs complete these two process. OS – Linux with 32 GB ram and 8 CPU.
    What the impact of we run both RMAN and schema optimizer parallel.
    Is there any way to reduce the process time. Please suggest me. Thanks.
    Edited by: lm**** on Jan 28, 2011 10:11 AM

    Hi
    If you took backup of indexes and temporary tables in your full backup then instead of that you can create new tablespace and move all those indexes and temp.tables and take backup without indexes and temp.tables.
    and create one script of those indexes and temp.tables and keep it with you, because temptables are either session preserve or commit preserve so no need to tack backup of those data. it may be reduce you backup time....
    Thanks and Regards,
    Viren Patel.

  • RMAN and brtools

    Hi,
    shall i use RMAN and BRtools for backup on SQL Database?if not what are the backup tools for SQL.

    Hello,
    the tools will not work in a SQL Server environment as they were developed for the Oracle databases.
    You can use the transaction DB13 or the Enterprise Manager / Development Studio (2005) to schedule a backup. It is recommended to use the transaction DB13.
    Best regards
      Clas

  • Rman and duplicate database.

    Hi,
    I have some problems with rman and duplicate a database.
    Im trying to duplicate a database on a anoter server than the target, and I have run the command SQL>startup force nomount, on the auxiliary system.
    But I don't know what commands to use i rman.
    Have backup-files on disk at the same server as the auxiliary system is on.
    Any tips and tricks?!
    Thanks in advanced,
    Micke.

    I had the same question a while ago. The location of the files you'll need to restore from are specified in the controlfile. The location referenced in the controlfile will be the location where they were put but RMAN on your "source" server. So for instance, if RMAN drops the backup set in /opt/oracle/dbs/tmp, then your controlfile will point to /opt/oracle/dbs/tmp. (yours probably won't be here, it's just an example). Your controlfile WILL however have to go in the dbs directory, wherever that is.
    What worked for me in the past was placing the backup files on the destination server in /home/oracle/backup_<date> and recreating the file structure based on that of the source server (even if it's just empty dirs) and symlink the last level of the tree to the folder where the files reside.
    For example:
    ln -s /home/oracle/backup_03272008 /opt/oracle/dbs/tmp
    I think there's a more efficient way to do this, but this worked for me.

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

Maybe you are looking for