Rman backup to a remote location

I want to take the rman backup of production database to a remote server.
Means, source and destination servers are located at two different location.
OS: RHEL 4
In metalink, i got the doc id: 292726.1
Could anyone please tell me the detailed steps of "Backup to Remote DISK" heading of meantioned doc or provide me some other useful links ?
Edited by: NKJ on Dec 3, 2008 10:07 AM

You can backup to a remote location assuming you have the remote location appropriately mapped.
However, you may want to check this 10gR2 "database backup" to nfs mounted dir results in ORA-27054 NFS error regarding NFS and RMAN.

Similar Messages

  • RMAN backup to 3 different locations

    Hi,
    I'm trying to backup my database to 3 different locations. If one location is unavailiable backup fails. Is there a possibility to make backup to other 2 locations when one is unavailiable? For example second location from following code is unavailiable. Here is my code:
    RUN
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/backup/location1/%d_DB_%u_%s_%p', '/backup/location2/%d_DB_%u_%s_%p', '/backup/location3/%d_DB_%u_%s_%p';
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 3;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 3;
    BACKUP DATABASE PLUS ARCHIVELOG SKIP INACCESSIBLE;
    }

    Hello again;
    I was able to find an example of your other question :
    If you specify a nonexistent directory, RMAN displays output such as the following:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/29/2001
                14:36:04
    ORA-19504: failed to create file "/nosuchdisk/0cd2momi_1_1"
    ORA-27040: skgfrcre: create error, unable to create file
    SVR4 Error: 2: No such file or directory
    Source
    Spreading a Backup Across Multiple Disk Drives: Example
    Database Backup and Recovery Advanced User's Guide
    So it really looks like it errors, ORA-19504 appears to be the key.
    Unable to find any Oracle note regarding skip. Interesting question.
    Best Regards
    mseberg

  • To take RMAN backup at multiple disk locations

    Hi,
    Can we configure RMAN to take backup of DB at more than one disk locations with CONFIGURE command.
    Thanx.
    Ashutosh.

    See Re: Setting backup on two different location

  • Centralized rman backup in one location

    Hi,
    I want to centralize rman backup for all my databaseserver in one location.
    I already dedicate one server for this backup and create a catalog in this server but if i start the backup the backup file is not stored on the server that reside the catalog but in the database server. What should I do to store all my backup in this backup server.
    Thanks

    dbakely wrote:
    RMAN> show all;
    starting full resync of recovery catalog
    full resync complete
    RMAN configuration parameters for database with db_unique_name TESTDB are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    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 '/opt/oracle/11.2.0/orah1/dbs/snapcf_testdb.f'; # default
    Yes, catalog is just a metadata but I want to store rman backup in a remote database server.
    Is there rman server to be installed to do this?
    ThanksPls, your RMAN script also.
    Look:
    Server1: Where you execute your backup script
    Server2: Where your catalog database resides.
    Now, if you want your backups to be stored in Server2, you have to mount location at Server1 which points location at Server2. This is could be NFS o ssh based sharing and etc.

  • Time Machine in a remote location

    Hi
    I have no idea if this even possibly, but here goes.
    I have a Timemachine set up on a NAS connected to my Apple base station. That's all working well (at least since 10.5.5). However, I'm just a little concerned that should my house be broken into, I'd lose it all and so I'd like to set up a backup in a remote location.
    I can use a service like Amazon's S3 but the beauty of timemachine is that I don't have to think about it.
    So, is this possible? Can I set up a timemachine backup to a remote location? Could I do both? ie local and remote?

    Jonathan Phillips1 wrote:
    Hi
    I have no idea if this even possibly, but here goes.
    I have a Timemachine set up on a NAS connected to my Apple base station. That's all working well (at least since 10.5.5). However, I'm just a little concerned that should my house be broken into, I'd lose it all and so I'd like to set up a backup in a remote location.
    I can use a service like Amazon's S3 but the beauty of timemachine is that I don't have to think about it.
    So, is this possible? Can I set up a timemachine backup to a remote location?
    no. that's not possible. If you want to store backups remotely use a different backup solution. Try CCCloner. It can do it.

  • Can rman backups be used to restore to a different server

    We are using R12 with 10gr2 database
    If i take Rman backups, can they be used to restore on some other test server for cloning and bringing that test server upto date like the production.
    I am confues and dont know and This is the only reason i dont use rman for backups, instead take cold backups manually every night as they are used every week to clone some other server for testing purpose
    Please advice
    Thanks

    Hi..
    1. Copy the pfile to the new server.
    2. startup nomount the database using the pfile.
    3. Open a new RMAN session and connect to this database
    4. Restore the controlfile, this will bring the database in mount stage
    5. Once step 4 is completed, restore and recover the database.
    NOTE:-- These are the steps for restoring the database when the RMAN backup pieces are copied to the same location as they are on the main server.If you copy the rman backup to some different location, then you will have to use the CATALOG BACKUPPIECE 'location' command before restoring the database.
    Go through [http://download.oracle.com/docs/cd/B10500_01/server.920/a96566/rcmdupdb.htm]
    HTH
    Anand
    Edited by: Anand... on Dec 23, 2008 8:13 PM Added link

  • Cannot make rman backup - ORA-19501

    Hello,
    database and grid infrastuture 11.2.0.1 in Solaris X86
    I am trying to make an rman backup of 2 databases located in ASM but when I try it I have the following error:
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 09/08/2011 15:38:04
    ORA-19501: read error on file "+DG/prd.dbf", block number 28544 (block size=8192)
    ORA-15081: failed to submit an I/O operation to a disk
    ORA-15081: failed to submit an I/O operation to a disk
    The alertlog of the database, when I run the rman has the following errors:
    ORA-27063: number of bytes read/written is incorrect
    WARNING: IO Failed. group:2 disk(number.incarnation):0.0xf0f2117f disk_path:/dev/rdsk/c5t60060480000290104585533031374538d0s6
    AU:7063 disk_offset(bytes):7406092288 io_size:1048576 operation:Read type:asynchronous
    result:I/O error process_id:14808
    WARNING: failed to read mirror side 1 of virtual extent 139 logical extent 0 of file 273 in group [2.4251116087] from disk DG001 allocation unit 7063 reason error; if possible,will try another mirror side
    ORA-15080: synchronous I/O operation to a disk failed
    WARNING: failed to write mirror side 1 of virtual extent 139 logical extent 0 of file 273 in group 2 on disk 0 allocation unit 7063
    My suspicious was problems with ASM but I have no errors in ASM. All disks are OK and the databases are working fine.
    I runned dbverify against the database datafiles and no problems at all.
    The problems seems like the Bug 9068033: RMAN BACKUP FAILED INTERMITTENT ORA-19501 ORA-2706, or bug 8510426 but I can't see any solution in metalink and this bug probably aplies to 10g and not 11g.
    Can you please help me out?
    Thank you.

    The errors look like problems in the I/O system, I don't think there's block corruption from Oracle's point of view. Nevertheless you may check which object owns block 28544 in datafile +DG/prd.dbf.
    select file_id from dba_data_files
    where file_name = '+DG/prd.dbf';
    SELECT SEGMENT_NAME, SEGMENT_TYPE
    FROM DBA_EXTENTS
    WHERE FILE_ID = <file_id from above>
    AND 28544 BETWEEN block_id AND block_id + blocks;
    It may be the block belongs to nothing, but there's still a physical defect. I remember a problem where RMAN complained about a bad block, but no issues in the database business. The reason no object owned this block, so the database did never access it.
    Werner

  • RMAN backup to SAN takes 13 hours

    Hi All,
    I have configured my RMAN to run through Recovery Catalog, and take daily full backup (limitation of Standard Edition) to a shared location on Test Server (\\testdb), which takes around 35 minutes to complete successfully.
    The same full database backup takes 13 hours to complete on shared location to SAN storage mounted on blade server (\\blade5). To investigate further I opened an SR with Oracle Support and ran a series of test to take backup of a single tablespace (using target controlfile) on following 3 locations:
    1. Local Hard disk of Production Server
    2. Shared location on Test Server
    3. Shared location to SAN storage mounted on blade server
    Following were the results of the test:
    1. The backup tablespace size is 1.36 GB with one datafile.
    2. The backup piece size in all 3 test cases is 1.1 GB each.
    3. RMAN Backup Time at 3 location:
    3a. Local Backup Duration (D:\backup): 04:55 minutes
    3b. Shared Backup Duration (\\testdbl): 02:25 minutes
    3c. Shared SAN Duration (\\blade5): 26:25 minutes
    Based on the above finding Oracle Support concluded that Oracle RMAN is perfectly fine and It is at the SAN that the problem resides, whereas the IT Admins state the problem is at the RMAN side.
    My query is, how do we determine that Oracle RMAN is underperforming due to issues with SAN or blade server or network?
    Regard,
    Z.K.

    ebrian wrote:
    When the backup is running to the SAN, you may want to see what RMAN may be waiting for from V$SESSION/V$SESSION_WAIT. In addition, you may want to enable tracing during the backup to the SAN and see if anything stands out from the trace file:
    rman target / log rman.log trace rman.trc debug
    As per your suggestion, I carried out the test again with tracing enabled.
    1 Tablespace [with 1 datafile] size 1.36 GB used for RMAN backup.
    Backup piece size: 1.1 GB
    Please find below output of V$SESSION/V$SESSION_WAIT for all 3 cases:
    *1. LOCAL DISK*
    --v$session
    SADDR     SID     SERIAL#     AUDSID     PADDR     USER#     USERNAME     COMMAND     OWNERID     TADDR     LOCKWAIT     STATUS     SERVER     SCHEMA#     SCHEMANAME     OSUSER     PROCESS     MACHINE     TERMINAL     PROGRAM     TYPE     SQL_ADDRESS     SQL_HASH_VALUE     PREV_SQL_ADDR     PREV_HASH_VALUE     MODULE     MODULE_HASH     ACTION     ACTION_HASH     CLIENT_INFO     FIXED_TABLE_SEQUENCE     ROW_WAIT_OBJ#     ROW_WAIT_FILE#     ROW_WAIT_BLOCK#     ROW_WAIT_ROW#     LOGON_TIME     LAST_CALL_ET     PDML_ENABLED     FAILOVER_TYPE     FAILOVER_METHOD     FAILED_OVER     RESOURCE_CONSUMER_GROUP     PDML_STATUS     PDDL_STATUS     PQ_STATUS     CURRENT_QUEUE_DURATION     CLIENT_IDENTIFIER
    5428E7D8     30     14290     0     5425FD54     0     SYS     0     2147483644               INACTIVE     DEDICATED     0     SYS     ISCO\zafferk     6200:5792     ISCO\DBSERVER     DBSERVER     RMAN.EXE     USER     00     0     0D779F90     888448358     RMAN.EXE     0     0000001 FINISHED     2940145100          2466540     -1     0     0     0     3/9/2009 10:31:32 AM     6     NO     NONE     NONE     NO     SYS_GROUP     DISABLED     ENABLED     ENABLED     0     
    542B01C8     87     3021     0     54263FBC     0     SYS     0     2147483644               INACTIVE     DEDICATED     0     SYS     ISCO\zafferk     6200:5792     ISCO\DBSERVER     DBSERVER     RMAN.EXE     USER     00     0     0AA8F068     1819975476     RMAN.EXE     0          0          2466515     -1     0     0     0     3/9/2009 10:31:51 AM     12     NO     NONE     NONE     NO     SYS_GROUP     DISABLED     ENABLED     ENABLED     0     
    542C84B8     128     3620     0     542643A4     0     SYS     0     2147483644               INACTIVE     DEDICATED     0     SYS     ISCO\zafferk     6200:5792     ISCO\DBSERVER     DBSERVER     RMAN.EXE     USER     05B36878     1141676395     05B36878     1141676395     backup full datafile: ORA_DISK_1     3173805813     0000014 FINISHED     4058944949     rman channel=ORA_DISK_1     2466514     -1     0     0     0     3/9/2009 10:32:13 AM     12     NO     NONE     NONE     NO     SYS_GROUP     DISABLED     ENABLED     ENABLED     0     
    --v$session_wait
    SID     SEQ#     EVENT     P1TEXT     P1     P1RAW     P2TEXT     P2     P2RAW     P3TEXT     P3     P3RAW     WAIT_TIME     SECONDS_IN_WAIT     STATE
    128     751     async disk IO     count     1     00000001     intr     32     00000020     timeout     2147483647     7FFFFFFF     -1     0     WAITED KNOWN TIME
    30     655     SQL*Net message from client     driver id     1111838976     42455100     #bytes     1     00000001          0     00     0     264     WAITING
    87     135     SQL*Net message from client     driver id     1111838976     42455100     #bytes     1     00000001          0     00     0     9     WAITING*2. TESTDB*
    --v$session
    SADDR     SID     SERIAL#     AUDSID     PADDR     USER#     USERNAME     COMMAND     OWNERID     TADDR     LOCKWAIT     STATUS     SERVER     SCHEMA#     SCHEMANAME     OSUSER     PROCESS     MACHINE     TERMINAL     PROGRAM     TYPE     SQL_ADDRESS     SQL_HASH_VALUE     PREV_SQL_ADDR     PREV_HASH_VALUE     MODULE     MODULE_HASH     ACTION     ACTION_HASH     CLIENT_INFO     FIXED_TABLE_SEQUENCE     ROW_WAIT_OBJ#     ROW_WAIT_FILE#     ROW_WAIT_BLOCK#     ROW_WAIT_ROW#     LOGON_TIME     LAST_CALL_ET     PDML_ENABLED     FAILOVER_TYPE     FAILOVER_METHOD     FAILED_OVER     RESOURCE_CONSUMER_GROUP     PDML_STATUS     PDDL_STATUS     PQ_STATUS     CURRENT_QUEUE_DURATION     CLIENT_IDENTIFIER
    54290D98     34     11745     0     542643A4     0     SYS     0     2147483644               ACTIVE     DEDICATED     0     SYS     ISCO\zafferk     5156:5620     ISCO\DBSERVER     DBSERVER     RMAN.EXE     USER     05B36878     1141676395     00     0     backup full datafile: ORA_DISK_1     3173805813     0000012 STARTED     2679454996     rman channel=ORA_DISK_1     2467508     -1     0     0     0     3/9/2009 10:50:26 AM     12     NO     NONE     NONE     NO     SYS_GROUP     DISABLED     ENABLED     ENABLED     0     
    54294FA8     41     13232     0     54263FBC     0     SYS     0     2147483644               INACTIVE     DEDICATED     0     SYS     ISCO\zafferk     5156:5620     ISCO\DBSERVER     DBSERVER     RMAN.EXE     USER     00     0     0AA8F068     1819975476     RMAN.EXE     0          0          2467521     -1     0     0     0     3/9/2009 10:50:03 AM     3     NO     NONE     NONE     NO     SYS_GROUP     DISABLED     ENABLED     ENABLED     0     
    5429D3C8     55     4581     0     5425FD54     0     SYS     0     2147483644               INACTIVE     DEDICATED     0     SYS     ISCO\zafferk     5156:5620     ISCO\DBSERVER     DBSERVER     RMAN.EXE     USER     00     0     58565384     2746682842     RMAN.EXE     0     0000001 FINISHED     2940145100          2467505     -1     0     0     0     3/9/2009 10:48:48 AM     15     NO     NONE     NONE     NO     SYS_GROUP     DISABLED     ENABLED     ENABLED     0     
    --v$session_wait
    SID     SEQ#     EVENT     P1TEXT     P1     P1RAW     P2TEXT     P2     P2RAW     P3TEXT     P3     P3RAW     WAIT_TIME     SECONDS_IN_WAIT     STATE
    34     788     async disk IO     count     1     00000001     intr     32     00000020     timeout     2147483647     7FFFFFFF     -1     0     WAITED KNOWN TIME
    41     95     SQL*Net message from client     driver id     1111838976     42455100     #bytes     1     00000001          0     00     0     3     WAITING
    55     655     SQL*Net message from client     driver id     1111838976     42455100     #bytes     1     00000001          0     00     0     132     WAITING*3. SAN blade5*
    --v$session
    SADDR     SID     SERIAL#     AUDSID     PADDR     USER#     USERNAME     COMMAND     OWNERID     TADDR     LOCKWAIT     STATUS     SERVER     SCHEMA#     SCHEMANAME     OSUSER     PROCESS     MACHINE     TERMINAL     PROGRAM     TYPE     SQL_ADDRESS     SQL_HASH_VALUE     PREV_SQL_ADDR     PREV_HASH_VALUE     MODULE     MODULE_HASH     ACTION     ACTION_HASH     CLIENT_INFO     FIXED_TABLE_SEQUENCE     ROW_WAIT_OBJ#     ROW_WAIT_FILE#     ROW_WAIT_BLOCK#     ROW_WAIT_ROW#     LOGON_TIME     LAST_CALL_ET     PDML_ENABLED     FAILOVER_TYPE     FAILOVER_METHOD     FAILED_OVER     RESOURCE_CONSUMER_GROUP     PDML_STATUS     PDDL_STATUS     PQ_STATUS     CURRENT_QUEUE_DURATION     CLIENT_IDENTIFIER
    54294FA8     41     13257     0     5425FD54     0     SYS     0     2147483644               INACTIVE     DEDICATED     0     SYS     ISCO\zafferk     5804:5620     ISCO\DBSERVER     DBSERVER     RMAN.EXE     USER     00     0     58565384     2746682842     RMAN.EXE     0     0000001 FINISHED     2940145100          2468381     -1     0     0     0     3/9/2009 10:55:08 AM     169     NO     NONE     NONE     NO     SYS_GROUP     DISABLED     ENABLED     ENABLED     0     
    5429D3C8     55     4725     0     542643A4     0     SYS     0     2147483644               ACTIVE     DEDICATED     0     SYS     ISCO\zafferk     5804:5620     ISCO\DBSERVER     DBSERVER     RMAN.EXE     USER     05B36878     1141676395     00     0     backup full datafile: ORA_DISK_1     3173805813     0000012 STARTED     2679454996     rman channel=ORA_DISK_1     2468384     -1     0     0     0     3/9/2009 10:56:16 AM     166     NO     NONE     NONE     NO     SYS_GROUP     DISABLED     ENABLED     ENABLED     0     
    542C2FC8     119     14058     0     54263FBC     0     SYS     0     2147483644               INACTIVE     DEDICATED     0     SYS     ISCO\zafferk     5804:5620     ISCO\DBSERVER     DBSERVER     RMAN.EXE     USER     00     0     0AA8F068     1819975476     RMAN.EXE     0          0          2468834     -1     0     0     0     3/9/2009 10:55:52 AM     8     NO     NONE     NONE     NO     SYS_GROUP     DISABLED     ENABLED     ENABLED     0     
    --v$session_wait
    SID     SEQ#     EVENT     P1TEXT     P1     P1RAW     P2TEXT     P2     P2RAW     P3TEXT     P3     P3RAW     WAIT_TIME     SECONDS_IN_WAIT     STATE
    55     833     async disk IO     count     0     00     intr     32     00000020     timeout     2147483647     7FFFFFFF     -1     4     WAITED KNOWN TIME
    41     656     SQL*Net message from client     driver id     1111838976     42455100     #bytes     1     00000001          0     00     0     1354     WAITING
    119     495     SQL*Net message from client     driver id     1111838976     42455100     #bytes     1     00000001          0     00     0     10     WAITINGIf you'd like, I can post trace file output of backup to \\blade5.
    Regards,
    Z.K.

  • RMAN backup locations

    Hi,
    I have the same query for a Oracle 9i and 10g server.
    I'm using this RMAN script:
    RUN {
    ALLOCATE CHANNEL disk1 DEVICE TYPE DISK FORMAT '/backups';
    BACKUP DATABASE PLUS ARCHIVELOG;
    RELEASE CHANNEL disk1;
    Once the backup is run, we use OS utilities to copy /backups to a remote server, so we have a remote copy.
    Is there any RMAN way to perform this task, preferably with some sort of validate functionality?

    Hi Hemant,
    I have found the first two options in the documentation, but had noted they weren't really acceptable. With a short backup window, and remote backups taking a long time, attempting to backup the live database remotely presented a performance issue while it was running.
    Backup backupset however, is exactly what I am looking for. Thank you for this.

  • RMAN backup file location

    hi gurus,
    my database backup file are located in one location and rman is looking for backup files in another location.
    backup files are large size so it's long time to move
    how can i tell to rman look for rman in perticular location
    please let me know
    thank you!

    899329 wrote:
    hi gurus,
    my database backup file are located in one location and rman is looking for backup files in another location.
    backup files are large size so it's long time to move
    how can i tell to rman look for rman in perticular location
    please let me know
    thank you!Instead of moving if you want to register those backups with your controlfile. (RMAN repository)
    then
    $rman target /
    RMAN> catalog start with 'location';
    It will search for backup pieces in that location, and it prompts you for confirmation with YES/NO.
    Give yes, so that all the files will be cataloged, Later you can able to view in list backup.
    HTH.

  • RMAN backup into multiple locations

    Hi All,
    Our database size is 1.4 TB. I am planning to schedule RMAN full backu. But i do not have mount point of size 1.4 TB. We have mount point /rmanbkp1 of size 1200GB and /rmanbkp2 of size 200GB. How can i distribute RMAN backup to these two filesystems.
    Can i take tablespace level backups..?
    Please suggest.
    Thanks
    Sandeep Vadlamudi

    Hello;
    First of all 1200GB, might be enough since you probably are not using all the blocks in the 1.4 TB and will compress you will also lose less.
    Can i take tablespace level backups..?
    Yes but the value is limited. You cannot for example recover a dropped tablespace.
    Test a backup first and get an idea of how much space you really need.
    Also once you have a backup how do you free space for the next backup?
    You could use the FORMAT command to backup the database to one location and the Archive to the other. 200 GB is not much space.
    RMAN backup into more than one location :
    http://www.oracle-class.com/?p=2043
    Best Regards
    mseberg

  • Choice a remote drive for RMAN backup

    I want to use my AIX (OS 5.3L) as a remote server for RMAN backup, under the 10g R2. The two most likely drives that still has lots space are hdisk1 and hdisk3. However, the hdisk1 is in rootvg with my test Oracle 10g appl on. Although the hdisk3 is in appvg and but it is the data storage for oracle of local machine. Both drives are quite busy based on the memory monitor and iostat. so How to make a choice for which drive is more proper as a remote drive?

    As i play more with the NFS on AIX, i noticed more about the user/group attributes of the files and directory. Mainly, they are different on either side, even more strangely that the new file created on the server side has different user/group attribute , not as oracle/oinstall of original (client side) It worries me whether there will be problem when RMAN does the recovery later.
    Secondly, the NFS only allows to write into one level of the directory, which is assigned NSF. As I know, the whole RMAN backup creates backupset files at several levels down from my flash_recovery_area.
    Message was edited by:
    user508054

  • 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

  • RMAN backup at Remote server.

    Hi All,
    RUN {
    BACKUP
    INCREMENTAL LEVEL=0
    FORMAT '/oracle/backup/last/%d_DBNAME_T%T'
    DATABASE;
    This will backup the database and will place the backup set at the location /oracle/backup/last.
    But my requirement is to backup the full database and place backup set at location /oracle/backup/remote_full_backup on the remote server say(Backup server).
    what kind of changes i have to make in the existing backup script in order to achieve this task.
    DB Version:10.2.0.1
    OS:LINUX.
    Thanks.

    This guide is for Solaris, but it works also with linux:
    http://docs.sun.com/app/docs/doc/817-5093/fsmount-69423?a=view
    Regards,
    Enric Moya

  • RMAN backup to remote disk in Windows

    Hi,
    I'm running Oracle 9.2.0.1 with Windows Server 2003 in both Server A and Server B. My prime DB is stored in Server A meanwhile my RMAN Catalog is in Server B. I’m running RMAN to do backup of the DB in Server A which is running out of space. So, I have decided to store my backupsets to Server B since I do have few hundred Gs there. Overall, I will push the backup script from RMAN Catalog in Server B and will store the backupsets back to Server B.
    My problem is whenever I run the script, no matter either from Server A or Server B, I’m getting the following error. Attached together is the RMAN configuration parameters.
    Error:
    RMAN> backup database;
    Starting backup at 20-AUG-09
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=13 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=9 devtype=DISK
    allocated channel: ORA_DISK_3
    channel ORA_DISK_3: sid=14 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00012 name=F:\ORADATA\DRDB\DATA\DATA01.DBF
    channel ORA_DISK_1: starting piece 1 at 20-AUG-09
    channel ORA_DISK_2: starting full datafile backupset
    channel ORA_DISK_2: specifying datafile(s) in backupset
    input datafile fno=00002 name=F:\ORADATA\DRDB\DATA\DATA07.DBF
    channel ORA_DISK_2: starting piece 1 at 20-AUG-09
    channel ORA_DISK_3: starting full datafile backupset
    channel ORA_DISK_3: specifying datafile(s) in backupset
    input datafile fno=00006 name=E:\ORADATA\DRDB\INDEX\INDX01.DBF
    channel ORA_DISK_3: starting piece 1 at 20-AUG-09
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/20/2009 17:06:
    56
    ORA-19504: failed to create file "\\ServerB\f$\drdb\backupset\BackupDRDB_DB_39k
    n665g_105_1"
    ORA-27040: skgfrcre: create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 5) Access is denied.
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 10;
    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 '\\ServerB\f$\d
    rdb\controlfile\Backup%d_CTL_%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 3;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '\\ServerB\f$\drdb\backupset\Backup
    %d_DB_%u_%s_%p';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '\\ServerB\f$\drdb\controlfile\SNCFDRDB.
    CTL';
    My Login ID exists in Administrator and ORA_DBA group in both Server A and Server B. I can manually run the path '\\ServerB\f$\drdb\backupset\’ from Server A and able to create/modify/delete a file inside this folder. But I don’t understand why getting the ‘Access denied’ error? Anyway, is this a correct way to do backup into remote disk? I’m quite new to Oracle and just attended RMAN course with OU. I have Google-ed this problem but none can assist me. Please do help me or share your knowledge to resolve this problem.
    Thanks & regards,
    Nesan

    Hi Andre,
    Yes you're correct, it's because of the Oracle service which run under Local System Account. I have went to it's properties and changed the logon details to my own Login ID which is Administrator for both Server A and B. Now my remote backup is working great...
    But does this changes will affect other apps/jobs/results in Oracle?
    Guys,
    If you have any better idea to solve this issue please drop into this thread or let me know if you find anything wrong on my solution.
    Thanks a lot for Andre.... You have solved my 2 weeks problem.
    Regards,
    Nesan

Maybe you are looking for

  • Excise rates are not updated

    Hi friends When i am creating ARE3 document, in item details Duty rates tabe- excise rates are showing 0, whereas Duty values are coming, I have checked in table j_1iexcdtl - duty rates are not updated and duty values are updated How to update the ta

  • Contacts on Ipod but not on computer- what will Synchronizie do?

    Hello, awhile back my hardrive died but I had my music and contacts on my IPod. I transferred the music to my new computer no problem- but the Contact folder the process created is empty (it just has a sample Contact in it). ************ QUESTION ***

  • How to get XML file located in SAP directory for SAP XI

    In my system, there is a function to create IDOC and store as a xml file in directory of SAP for example u201C/inf/ERQ/XML/u2019 .I want to use this XML file as a input for SAP XI to map and generate output as an IDOC. However, I donu2019t know how t

  • Forgot admin. password

    My grandfather bought me my computer for college and set it up for me...only he set me up as the admin. and then didn't tell me the password and he forgot it...is there anything that can be done so that I can reset my password?

  • Jsp page for mobile in drop down

    How to get the drop down list in the jsp page.for mobile applications and how to connect tha field in that drop down to backend we r using abstactpage to connect backend.