Does RMAN backups are OS independent.

Can I use RMAN backup of windows based oracle to construct solaris based oracle db.
Thanks
Naveen

Can I use RMAN backup of windows based oracle to construct solaris based oracle db.As Justin has already said, by default NO. To use rman for closs platform migration you will have to check the ENDIAN format of the both the platforms since, the principal restriction on cross-platform transportable database is that the source and destination platform must share the same endian format.
An example of Cross-Platform Migration Using Rman ( Windows 32-bit to Linux 32-bit ) is on metalink.You can check it out
Doc ID: Note:414878.1
You can also refer to Doc ID: Note:413586.1
Regards,
Anand

Similar Messages

  • RMAN backups are slow with TSM

    Hi,
    I encountered a problem using RMAN with TSM to backup a database. It seems that the RMAN channel doesn't use the entire bandwidth to the TSM (or whatever) and is idle most of the time. This makes the database backup really slow.
    As a comparison, we backup also filesystem and SQL Server, they both use very few channels and each channel backup about X5 more data per second than Oracle. For example, SQL Server uses 5 channels to the TSM, and we get a total of around 100MB/s. When we configure Oracle to backup using 5 channels we get about 20MB/s and we see that the SQL Server is writing to the TSM all the time while Oracle is idle a large portion of the time.
    Any ideas? Known configuration issues?
    I hope I'm clear about the problem.
    Thanks,
    Liron

    Hi,
    Thanks for everybody for your responses, I'll try to sum the answers here:
    1. Yes, we backup the filesystem, and everything works fine. The problem is only with RMAN backups
    2. Resources are not an issue, it happens on strong and weak servers (and several O/S as well)
    3. Database versions are not the issue, it happens on 10.2 as well as 11.2
    My feeling is that this has something to do with the integration, either oracle setting or TSM setting, but I can't be sure until I solve this.
    For those of you who backup with TSM, did you notice that filesystem / SQL Servers are being backed up faster? Did you check the Oracle wait events and TSM status while you run the backup?
    Thanks
    BTW Girish, great comment, I wish I had all the answers... :)

  • Where does RMAN backup go?

    Hello, this is probably a very stupid question :), but..
    We are on Oracle 10.2.0.3 and we have RMAN catalog set up on a different from the target database server. When I configure channel device type in a specific format, where would the actual backup set go - on the server where RMAN is located or on the server where the target database is located?
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/oradata/backups/coldbackup/ora_df%t_s%s_s%p';
    I have set this to the directory of the target database...
    Also, if I didnt specify a channel, where would the backup be created by default?
    ok, nevermind, it went to the target database server..
    Message was edited by:
    rysalka

    Details from Apple here:
    http://support.apple.com/kb/HT1766

  • How to find RMAN backups are successful

    Hi,
    I am using RMAN for 10g databases. How can i ensure that the backups am taking thru RMAN are successful? is there any command.

    select
    SESSION_KEY, INPUT_TYPE, STATUS,
    to_char(START_TIME,'mm/dd/yy hh24:mi') start_time,
    to_char(END_TIME,'mm/dd/yy hh24:mi') end_time,
    round((end_time-start_time)*1440,2) "Minutes"
    from V$RMAN_BACKUP_JOB_DETAILS
    order by session_key desc;
    Regards
    Asif Kabir

  • RMAN - Backups are failing *URGENT*

    Hi,
    I have a 2 10g DB (CM and ODSPROD) on HP-UX B.11.23 and both are on the same box and I have configured different script for individual DB on that BOX
    till yesterday the backups were working fine but today it errored as follows:
    run
    allocate channel c1 type 'SBT_TAPE';
    send 'NB_ORA_POLICY=ODSPROD1_RMAN,NB_ORA_SERV=QUEBACKUP';
    backup database format 'backup_of_%d_%s_%D_%M_%Y' plus archivelog format 'arch_of_%d_%s_%D_%M_%Y';
    restore validate database;
    ++++++++++++++++++++++++++++++
    run
    allocate channel c1 type 'SBT_TAPE';
    send 'NB_ORA_POLICY=ODSPROD1_RMAN,NB_ORA_SERV=QUEBACKUP';
    backup database format 'backup_of_%d_%s_%D_%M_%Y' plus archivelog format 'arch_of_%d_%s_%D_%M_%Y';
    restore validate database;
    released channel: c1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup plus archivelog command at 04/21/2009 22:24:17
    ORA-19513: failed to identify sequential file
    ORA-27206: requested file not found in media management catalog
    released channel: c1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup plus archivelog command at 04/21/2009 22:52:14
    ORA-19513: failed to identify sequential file
    ORA-27206: requested file not found in media management catalog
    Let me know if you require any info in this regards.

    as others have said this is a netbackup media manager error. To be honest though the most likely cause is a bad tape. I still prefer if you've got the space, and I'd hazard a guess that you have since you are backing up the database and archivelogs all in one go by the looks of it, to backup to disk and then let the tape backup pickup the backupsets
    Niall

  • Does rman backup an init.ora file?

    i read where there is a command to back up an spfile, but didn't see anything about how to backup an init.ora. is this not possible in rman -- do you have to back it up manually? or did i just miss something?
    thanks.

    As the others have indicated, there is NO specific RMAN command to back up the init file. However, as was mentioned, you can simply copy the file from the O/S or to ensure that the init file has the same parameter/values as the spfile, you can issue the following command while in RMAN:
    sql "create pfile=''d:\oracle_backup\initORCL9.ora'' from spfile";

  • RMAN backups : versions of database

    I have been trying to restore an 11.1.0.7 backup to a 11.2 database. I've been having a few problems with this - it complaians about the contents of the undo tablespace. Am I capable of recovering from this situation ?
    what are the general rules about restoring backupsets from one version of oracle into another ? I've not been able to find much documentation.
    johnnied

    Hi,
    I thought that an upgrade might be necessary.Yes you have to do an upgrade if you go from 11.1.0.7 to 11.2.
    in short:
    restore
    recover
    Than start the upgrade.
    However I thought/was hoping that rman backups might have been backward compatibleYour backups are forward compatible only you have to upgrade the database.
    ( I think correctly ? that rman backups are platform independent)No this is not true (which makes me think the error you get is caused because you restored to a different OS platform?)
    You have to use the convert command in rman if you want to restore to a different OS platform.
    Please follow the link.
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta018.htm#i88628
    Regards,
    Tycho

  • RMAN backup consistency

    Hi
    Does RMAN backup ensure the consistency of the database sequences when doing a hot backup? My concern is that my database uses a lot of sequence as identifier and during hot backup, the sequence will not be in sync as people are still accessing to the database. Does RMAN ensure consistency during the backup? Thanks!

    You don't need to worry about sequences not being in sync with the backup. The backup will be consistent as at an SCN (as seen in the backup) and point in time so the backup will contain what the sequences look like as at that point in time. What occurs after then in the database would be contained in the archive logs for recovery.
    When you may get inconsistencies with sequences is when you have a CACHE set on the sequence. When a sequence is selected the sequence value is in the shared pool but say you have an outage causing the shared pool to be wiped (from memory) and therefore lose the held value. Therefore you may get values in a table where it appears a sequence was skipped.

  • How to find total size of RMAN backup files?

    Hi there
    env: Oracle 10gR2, RHEL 64bit
    My client has a production database where rman backups are taken: Level-0 backup every Sunday and Level-1 Monday thru Saturday.
    I have very limited access to this production database because it is being managed by third party and they won't provide me my required info (not sure why). I do not have access to their rman repository. To connect to the database I have to login to an intermediate server and then login to the database server. I have no access to Enterprise Manager. So in short, my access is limited. I want to gather the information on total size of rman backup files - both for a Level-0 and Level-1 backups separately. I understand that this info can be retrieved from rman repository. Are there any data dictionary views/tables where I may get this info?
    Best regards

    Hi,
    Have you searched in  forum check this:https://forums.oracle.com/thread/1097939
    HTH

  • RMAN Backup Clone

    Hi All,
    Oracle 10gR2. Usual RMAN backups are taken to tapes using HP Data Protector.
    Want to create a RMAN secondary backup (daily full backups) on the same SAN storage.
    So that we can restore very fast.
    What options do I have to take the backups.

    Hi,
    With backup as copy feature;
    in a case of failure, you can benefit the following example cases:
    RMAN> SWITCH DATABASE TO COPY;
    RMAN> sql 'alter tablespace users offline';
    RMAN> switch datafile 4 to copy;
    RMAN> recover datafile 4;
    RMAN> sql 'alter tablespace users online';
    What i understood is you have a production database which you backup to tape with HP data protector now.
    And i offer you forget direct backup to tape and, backup it to disk (FRA) first , then from FRA to tape.
    But you mention about primary database in your second post, do ypu backup from standby or something else?

  • How to ensure the rman backup is successful?

    Hi,
    we have scheduled rman backup jobs.
    1. But how do we ensure all the rman backups are successful?
    2. if the rman writes directly to tape, how do we ensure all tape backups are successful?
    thanks
    andrew

    But what is incremental merge, couldn't find in the 10g manual?check it out on http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmquick.htm#BRADV89354
    do you use image backup in real production environment?Of course. We have a standard to to use image copies that way.
    what do you suggest to do with rman normal way of backup or go for image backup?Depends on your specific situation. Like anything else, I prefer to provide some rationale on the recommendation.
    Image Copies with Incremental Merge
    Pros:
    (1) one one full backup taken ever; no need to take another full backup
    (2) the restore time is the same, regardless of the day of the week the db failed
    (3) every day the incremental merge's success means the backup was good - an automatic validation
    (4) it allows you to quickly switch to copy, rather than restore
    Cons:
    (1) Space requirement is more (since it's a bit to bit copy)
    (2) can't do a point in time recovery from the disk alone
    (3) can't go to the tape directly; must be a disk based backup.
    Backupsets with Incremental Backup
    Pros:
    (1) space requirement is lower (since only never-used blocks are not copied)
    (2) point in time recovery is possible
    (3) direct backup to tape possible (no need for disk backup)
    Cons:
    (1) restore time varies depending on the day of the week the db failed
    (2) you have to take a full backup regularly, perhaps once a week
    (3) no validation unless you use validate backupset (takes resources)
    So, as you can see, there are pros and cons to each approach. You have to decide for yourself which one weighs more (or less) to come to a conclusion.
    Hope this helps.
    Arup Nanda

  • RMan backup stores backupsets into $ORACLE_HOME

    Rman backups are currently storing backupsets into the $ORACLE_Home
    WHy would that be.???????
    how can i check the default dsik device????

    ok herewith is the out as requested.
    oracle $ rman
    Recovery Manager: Release 11.2.0.2.0 - Production on Thu Mar 10 11:55:17 2011
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    RMAN> connect target
    connected to target database: MAC (DBID=710471977)
    RMAN> connect catalog rman/sun011gR2@sun0
    connected to recovery catalog database
    RMAN> show all
    2> ;
    RMAN configuration parameters for database with db_unique_name MAC_D are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 8 BACKUP TYPE TO COMPRESSED 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 '/u1/oracle/product/11.2.0/db_1/dbs/snapcf_MAC.f'; # default
    RMAN>
    {Code}
    Did not see any changes...or might have overlooked.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • RMAN backups running slow with Catalog , Running fine using control file.

    I am facing a weird scenario
    RMAN backups are running fine with Control file but are failing using Catalog
    There are other databases configured on the same catalog and they are running fine leaves us to suspect this is issue with Database.
    Can you please suggest what need to be checked in such scenario
    DB: 11.2.0.2
    OS: Aix 6.1
    Catalog : 11.2.0.2

    Hi,
    Basically its not only with backups, simple list incarnation also taking a lot of timeDo sql tracing on your catalog session and target db session while running the 'list incarnation' command for your problem dbs and a normal dbs.
    Regards,
    Tycho

  • RMAN Backups residing remotely

    Oracle Version: 11.2.0.3 x64
    OS: Win 2008 server x64
    Hi Experts.
    We need to replicate a database on one of our boxes, with very limited space on disk. The database size is roughly 200gb, free space on disk is 250gb, and the RMAN backups are roughly 80gb.
    The RMAN backup pieces have been cataloged with the following path:
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   'd:\rman\%d\bkup_%d_%U';So, if we attempt a restore/replication on the local server, RMAN would look for backups on the local D drive, under D:\rman\<db_name>\
    In the past we used to copy the RMAN backups on the local server where the replication is required, and perform the replication locally without any issues; however, with a very limited space that won't fit both the replicated instance and the RMAN copies, we're not quite sure how further proceed!?
    Can we instruct the RMAN replication session to look for backups in a remote server?
    We do keep 3 weeks of RMAN backups on disk, hence the 80GB RMAN backups size. As far as I remember a full backup has been performed last Sun. Can we only bring over Sun full backup (and any subsequent incremental backups)? or do we need to copy the whole thing across to the local server?
    Any ideas please?
    Thanks

    I've been trying the duplicate command with the "from active database" clause but we're getting some permissions errors that I'm not sure about:
    C:\Users\oracle>rman target sys/xxx@vssrp auxiliary sys/password@vssrl
    Recovery Manager: Release 11.2.0.3.0 - Production on Sat Sep 1 16:28:25 2012
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: vssrp (DBID=1391811405)
    connected to auxiliary database: vssrl (not mounted)
    RMAN> run {
    2>    allocate channel c1 type disk;
    3>    allocate auxiliary channel DUP type disk;
    4>    duplicate target database to vssrl from active database;
    5> }
    using target database control file instead of recovery catalog
    allocated channel: c1
    channel c1: SID=1252 device type=DISK
    allocated channel: DUP
    channel DUP: SID=673 device type=DISK
    Starting Duplicate Db at 01-SEP-12
    contents of Memory Script:
       sql clone "create spfile from memory";
    executing Memory Script
    sql statement: create spfile from memory
    contents of Memory Script:
       shutdown clone immediate;
       startup clone nomount;
    executing Memory Script
    Oracle instance shut down
    connected to auxiliary database (not started)
    Oracle instance started
    Total System Global Area    3140026368 bytes
    Fixed Size                     2259312 bytes
    Variable Size                788530832 bytes
    Database Buffers            2315255808 bytes
    Redo Buffers                  33980416 bytes
    allocated channel: DUP
    channel DUP: SID=578 device type=DISK
    contents of Memory Script:
       sql clone "alter system set  db_name =
    ''vssrp'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
       sql clone "alter system set  db_unique_name =
    ''vssrl'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
       shutdown clone immediate;
       startup clone force nomount
       backup as copy current controlfile auxiliary format  'C:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL01.CTL';
       restore clone controlfile to  'D:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL02.CTL' from
    'C:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL01.CTL';
       restore clone controlfile to  'D:\ORACLE\ORADATA\vssrl\CONTROL03.CTL' from
    'C:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL01.CTL';
       alter clone database mount;
    executing Memory Script
    sql statement: alter system set  db_name =  ''vssrp'' comment= ''Modified by RMAN duplicate'' scope=spfile
    sql statement: alter system set  db_unique_name =  ''vssrl'' comment= ''Modified by RMAN duplicate'' scope=spfile
    Oracle instance shut down
    Oracle instance started
    Total System Global Area    3140026368 bytes
    Fixed Size                     2259312 bytes
    Variable Size                788530832 bytes
    Database Buffers            2315255808 bytes
    Redo Buffers                  33980416 bytes
    allocated channel: DUP
    channel DUP: SID=578 device type=DISK
    Starting backup at 01-SEP-12
    channel c1: starting datafile copy
    copying current control file
    released channel: c1
    released channel: DUP
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/01/2012 16:29:14
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on c1 channel at 09/01/2012 16:29:14
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01031: insufficient privileges
    ORA-17629: Cannot connect to the remote database serverAs you can see from the above, we're logging in to both databases (target and aux) as sys; also the local OS oracle user is a member of administrators and can write files on to disks.
    Any idea please?
    Thanks

  • Restore RMAN Backup in Different Database on Same RAC

    We have 11gR2 2 node RAC on Linux. ASM and OMF is used for database. The database on it is backedup using RMAN.
    We want to test the RMAN backup by restoring it to a new database on same server.
    Can someone guide me to steps on how this can be achieved. I'm afraid this should not affect the actual database.
    Thanks a lot.

    Hi,
    Yes, this can be done without disturbing your source db. Need more information on your DB structure (datafile asm diskgroups), all you need to do is restore as single node and convert to rac, since you want to test rman restore, you can restore to single node to prove your RMAN backups are intact.
    Changes in init.ora
    ==============
    db_file_name_convert= ("source dir structure","target dir structure")
    log_file_name_convert=("source dir structure","target dir structure")
    cluster_database=false
    event="10298 trace name context forever, level 32"
    _no_recovery_through_resetlogs=TRUE
    Set new database sid (export ORACLE_SID=NEW_SID)
    sql>startup nomount;
    rman auxiliary /
    rman>duplicate database to "NEW_SID" backup location "Your RMAN Backup location";
    The above are very high level general steps, please do take other steps into consideration as per your environment.

Maybe you are looking for