Taking rman backup from a different server

HI Al,
Is it possible for us run the rman backup from a different server other than the server on which database exist .
For Ex :
Our database is on server X
But , I want to schedulde the archive backup from the server Y .
How can we do this and is it possible ...
Regds
Rahul Gupta

Yes, as long the RMAN executable is compatible to the target database, on metalink:
RMAN Compatibility Matrix
Doc ID: 73431.1
rman sys/<password>@<connect_string>
Werner

Similar Messages

  • RMAN backup from another DB server

    Hi all,
    I would like to know Can we take a rman backup from another DB server in oracle 9.2...
    i.e
    suppose that we have two server
    1. main server
    2. dup server
    I want to take a backup of main server throeugh dup server.....
    if it is poosible then what are all the things that i have to configure....
    pls suggest me.....

    getting an error,
    here hotest is the main db
    and testho is dup db
    F:\Documents and Settings\deepali>rman target rman/cat@hotest catalog rman/cat@testho
    Recovery Manager: Release 9.2.0.4.0 - Production
    Copyright (c) 1995, 2002, Oracle Corporation.  All rights reserved.
    connected to target database: HOTEST (DBID=982176707)
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04004: error from recovery catalog database: ORA-01045: user RMAN lacks CRE
    ATE SESSION privilege; logon denied
    F:\Documents and Settings\deepali>sqlplus /nolog
    SQL*Plus: Release 9.2.0.4.0 - Production on Mon Apr 6 12:17:13 2009
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    SQL> conn sys/deepali as sysdba
    Connected.
    SQL>  GRANT RECOVERY_CATALOG_OWNER TO rman;
    Grant succeeded.
    SQL> GRANT CONNECT, RESOURCE TO rman;
    Grant succeeded.
    SQL> exit
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    F:\Documents and Settings\deepali>rman target rman/cat@hotest catalog rman/cat@t
    estho
    Recovery Manager: Release 9.2.0.4.0 - Production
    Copyright (c) 1995, 2002, Oracle Corporation.  All rights reserved.
    connected to target database: HOTEST (DBID=982176707)
    connected to recovery catalog database
    recovery catalog is not installed
    RMAN> register database;
    recovery catalog is not installed
    recovery catalog is not installed
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of register command at 04/06/2009 12:18:09
    RMAN-06429: RCVCAT database is not compatible with this version of RMAN
    RMAN> select * from rc_database;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01005: syntax error: found "identifier": expecting one of: "allocate, alter
    , backup, beginline, blockrecover, catalog, change, connect, copy, create, cross
    check, configure, duplicate, debug, delete, drop, exit, endinline, host, {, libr
    ary, list, mount, open, print, quit, recover, register, release, replace, report
    , renormalize, reset, restore, resync, rman, run, rpctest, set, setlimit, sql, s
    pool, startup, shutdown, send, show, test, upgrade, validate"
    RMAN-01008: the bad identifier was: select
    RMAN-01007: at line 1 column 1 file: standard input
    RMAN>pls suggest me whether i am following the right path or not...

  • Restoring RMAN backup on a different server

    Hi oracle gurus
    i have following scenario
    i have a compressed backup set of a database
    i want to restore that rman backup on to a different server.
    both the server have same version of oracle.and both the server are of 32 bit.
    please reply if any more info is required.

    RESTORE AND RECOVERY PROCEDURE OF PRODUCTION DATABASE BACKUP ON TEST SERVERS
    As part of disaster recovery exercise or to test the validity of a RMAN backup, a full restore and recovery of databases can be performed on scratch or test servers utilising the production RMAN backups which have been restored from the tape backups on these test or scratch servers.
    This note will illustrate the above procedure by detailing the steps required to restore the backup of a production database (prod1) on a test server linux01 .
    The following assumptions are made in this note:
    The RMAN backups have been restored from tape backups to the same backup location on the test server as the production server where the backup was originally taken
    The identical directory structure as is present on production has been created on the test server. This will apply to not only the location of the database files (data, control files, redo log files), but also to the bdump,cdump, udump and adump locations.
    Controlfile autobackup has been enabled. This is important.
    Overview
    Restore the spfile from the autobackup
    Restore the controlfile from the autobackup
    Restore the data files
    Recover by applying archived redo log files
    Open the database with resetlogs
    Restore the SPFILE
    [oracle@linux01 prod1]$ rman target /
    connected to target database (not started)
    RMAN> set dbid=4266928631
    executing command: SET DBID
    RMAN> startup force nomount;
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/u01/app/oracle/product/10.2.0/dbs/initprod1.ora'
    starting Oracle instance without parameter file for retrival of spfile
    Oracle instance started
    Total System Global Area 159383552 bytes
    Fixed Size 2039056 bytes
    Variable Size 67109616 bytes
    Database Buffers 83886080 bytes
    Redo Buffers 6348800 bytes
    RMAN> run
    2> {SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u02/backup/prod1/%F';
    3> restore spfile from autobackup;
    4> }
    RMAN> shutdown immediate;
    Restore the Control File
    In this case, the instance is now being started with the restored spfile. We can create a pfile as well from this spfile is so required.
    RMAN> startup nomount
    connected to target database (not started)
    Oracle instance started
    RMAN> set dbid=4266928631
    executing command: SET DBID
    RMAN> run
    2> {SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u02/backup/prod1/%F';
    3> restore controlfile from autobackup;
    4> }
    RMAN> alter database mount;
    database mounted
    released channel: ORA_DISK_1
    Restore the database
    RMAN> restore database;
    Recover the database
    The recovery will fail at a point where it cannot restore any more archived redo log files.
    In this case the last archived log file which has been backed up is sequence 613.
    This information can be obtained by issuing a LIST BACKUP OF ARCHIVELOG ALL command.
    So RMAN will fail when it tries to apply sequence 614 ….
    RMAN> recover database
    [oracle@linux01 PROD1]$ rman target /
    connected to target database: PROD1 (DBID=4266928631, not open)
    RMAN> sql 'alter database open resetlogs';
    RMAN>
    reference: http://gavinsoorma.com/recovery-scenarios/

  • I am getting below error while taking RMAN backup.

    Friends,
    I am getting below error while taking RMAN backup.
    The issue is related with a lock while trying to backup the controlfile.
    The lock is more likely caused by the autobackup controlfile process started just before RMAN process was also trying the backup controlfile as shown in the following alert.log excerpt.
    Starting Control File and SPFILE Autobackup at 2009-04-07 09:24:58
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_DISK_1 channel at 04/07/2009 09:25:03
    ORA-00230: operation disallowed: snapshot control file enqueue unavailable
    Is there anyway to solve this issue?Thanks in advance.

    Hi,
    SQL> SELECT s.sid, username AS "User", program, module, action, logon_time "Logon", l.*
    FROM v$session s, v$enqueue_lock l
    WHERE l.sid = s.sid and l.type = 'CF' AND l.id1 = 0 and l.id2 = 2; 2 3
    no rows selected
    Oracle version : 10.2.0.3
    I am getting this error once in a month not everyday.
    Starting Control File and SPFILE Autobackup at 2009-04-07 09:24:58
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_DISK_1 channel at 04/07/2009 09:25:03
    ORA-00230: operation disallowed: snapshot control file enqueue unavailable
    Please suggest me based on this..Thanks in advance..

  • Trying to use FTP to get data from a different server

    Hi Friends,
        I have to use FTP to get data from a different server and upload it on SAP server. Now my problem is when I m trying to do ftp through command line it brings the file but with no data.
       Through ABAP program nothing is happening.
    Here's my code--
      V_PASSWORD = 'test@123'.
      V_PWD_LEN = STRLEN( V_PASSWORD ).
      CALL FUNCTION 'HTTP_SCRAMBLE'
        EXPORTING
          SOURCE      = V_PASSWORD
          SOURCELEN   = V_PWD_LEN
          KEY         = CS_KEY_500098
        IMPORTING
          DESTINATION = V_PASSWORD.
      CALL FUNCTION 'FTP_CONNECT'
        EXPORTING
          USER            = 'test'
          PASSWORD        = V_PASSWORD
          HOST            = '176.0.1.6'
          RFC_DESTINATION = 'SAPFTPA'
        IMPORTING
          HANDLE          = MI_HANDLE
        EXCEPTIONS
          NOT_CONNECTED   = 1
          OTHERS          = 2.
      CHECK SY-SUBRC = 0.
      cmd = 'lcd d:\ftp'. .
      PERFORM FTP_COMMAND USING CMD.
      CMD = 'asc'.
      PERFORM FTP_COMMAND USING CMD.
      CONCATENATE 'dir' 'ftpt*' INTO CMD SEPARATED BY SPACE.
      PERFORM FTP_COMMAND USING CMD.
      cmd = 'ls'.
    concatenate 'ls' INTO CMD SEPARATED BY SPACE.
      PERFORM FTP_COMMAND USING CMD.
      cmd = 'mget trial.txt'.
    CONCATENATE 'mget' 'trial.txt' INTO CMD SEPARATED BY SPACE.
      CALL FUNCTION 'FTP_COMMAND'
        EXPORTING
          HANDLE        = MI_HANDLE
          COMMAND       = CMD
        TABLES
          DATA          = MTAB_DATA1
        EXCEPTIONS
          TCPIP_ERROR   = 1
          COMMAND_ERROR = 2
          DATA_ERROR    = 3
          OTHERS        = 4.
      IF SY-SUBRC = 0.
        LOOP AT MTAB_DATA1.
          WRITE: / MTAB_DATA1.
        ENDLOOP.
      ELSE.
        CONCATENATE 'Error in FTP Command while executing' CMD INTO ERROR SEPARATED BY SPACE.
        WRITE: / ERROR.
      ENDIF.

    Hi
    try this.....in one of my reqt, i done this successfully....
    FORM FTPCON.
    FTP-------------------------------------------------------*
      CLEAR DSTLEN.
      SET EXTENDED CHECK OFF.
      DSTLEN = STRLEN( S_PWD ).     -
    >  (S_PWD (password) is a selection screen field )                  
      CALL FUNCTION 'HTTP_SCRAMBLE'
        EXPORTING
          SOURCE      = S_PWD
          SOURCELEN   = DSTLEN
          KEY         = KEY
        IMPORTING
          DESTINATION = S_PWD.
      CALL FUNCTION 'FTP_CONNECT'
        EXPORTING
          USER            = P_USER                   -
    > Username
          PASSWORD        = S_PWD             -
    > password
          HOST            = P_HOST                  -
    > Host
          RFC_DESTINATION = P_DEST         -
    > Destination
        IMPORTING
          HANDLE          = HDL
        EXCEPTIONS
          NOT_CONNECTED   = 1
          OTHERS          = 2.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'FTP_COMMAND'
        EXPORTING
          HANDLE        = HDL
          COMMAND       = 'set passive on'
        TABLES
          DATA          = RESULT
        EXCEPTIONS
          TCPIP_ERROR   = 1
          COMMAND_ERROR = 2
          DATA_ERROR    = 3.
      CALL FUNCTION 'FTP_R3_TO_SERVER'
        EXPORTING
          HANDLE         = HDL
          FNAME          = G_FCNAME
          CHARACTER_MODE = 'X'
        TABLES
          TEXT           = T_FILE1
        EXCEPTIONS
          TCPIP_ERROR    = 1
          COMMAND_ERROR  = 2
          DATA_ERROR     = 3
          OTHERS         = 4.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'FTP_R3_TO_SERVER'
        EXPORTING
          HANDLE         = HDL
          FNAME          = G_FCNAME1
          CHARACTER_MODE = 'X'
        TABLES
          TEXT           = T_FILE2
        EXCEPTIONS
          TCPIP_ERROR    = 1
          COMMAND_ERROR  = 2
          DATA_ERROR     = 3
          OTHERS         = 4.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'FTP_DISCONNECT'
        EXPORTING
          HANDLE = HDL.
      CALL FUNCTION 'RFC_CONNECTION_CLOSE'
          EXPORTING
            DESTINATION          = P_DEST
          EXCEPTIONS
            DESTINATION_NOT_OPEN = 1
            OTHERS               = 2.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    ENDFORM.                    " FTPCON
    Hope it helps.....

  • Steps to restore RMAN backups from tape to disk

    Hi All,
    using Netbackup Veritas Volume
    DB:10.2.0.3.0
    OS:AIX 64 bit
    Could nayone please share the steps to - restore RMAN backups from tape to disk.
    An early reply would be appreciated!!
    Thanks for your time!
    Regards,

    Hi,
    I went through as per your action plan it is giving below error I found a solution on meta doc id 559190.1 but i am not able to understant how to start observiced as it is mentioned in the doc id.
    allocated channel: t1
    channel t1: sid=2386 devtype=SBT_TAPE
    channel t1: Data Protection for Oracle: version 5.4.1.0
    Starting restore at 09-MAY-10
    channel t1: looking for autobackup on day: 20100509
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 05/09/2010 11:57:01
    ORA-27191: sbtinfo2 returned error
    Additional information: 2
    RMAN>
    Thanks,

  • Accessing an object from a different server

    Hi,
    I am making a program that will access an object from a different server.
    I have a program that when I run calls a jsp page running on Server A which in turn should request an object A from Server B.
    I am relatively new to Java and jsp. What would my best course of action be.
    Thanks in advance,
    Brian

    Or RMI?OK, sounds good, I will look up some RMi on the site.
    Thanks, will prob have more questions for you later.

  • Taking data from two different server in a single table

    Hi All,
    can u plz tell me i want take a data from a two different server in a single table
    Thanks,
    Bell.

    Again, you have written the same sentence. I have 2 servers Server1 and Server2 and one table called my_table (You or God knows where this table is).
    Now tell us what you want to do ?
    Sidhu
    http://amardeepsidhu.blogspot.com

  • RMAN backup restoring to new server help!

    I'm using Oracle 8.1.7. The production database was copied (datafiles, controlfile etc) to a NEW server that I'm trying to set up as a development DB. I take full database backups using RMAN from the production server, and I want to restore them on the development server. I think I somehow have to specify the filename/location of the backup file but I can't seem to figure out how to do it.
    I am not using a recovery catalog.
    Any help is appreciated.

    If you restore the controlfile backup to the development server RMAN
    will "read" the expected location of the backupsets from there.
    In 8i you cannot use the CATALOG command so you have to copy all
    the backupsets to the same path on the development server as on the
    production server.
    Once you have your init.ora and controlfiles in place (and created the
    expected target directory structure for the database and redolog files),
    you can use STARTUP MOUNT and thene RESTORE from RMAN.
    I believe that you should be able to rename files in 8i RMAN as well.
    If not, you'll have to stick to restoring to the same location.
    The key thing is that the controlfile records the "location" of the RMAN backupsets
    and the "location" where datafiles are to be restored to.

  • RMAN Backup from windows to Linux

    Hi,
    I am having Windows 2003 server Oracle 10.2
    and I have RHEL5 and Oracle 10.2
    I have taken a RMAN Oracle Database Backup from windows..
    I have installed oracle software on RHEL5 and now i need to restore this backup to the Linux
    it is possible to restore it? if possible can any one let me know the process?
    Regards,
    Vijayaraghavan K

    I have another doubt
    I took RMAN full DB Backup - it comes around 2.5 G (performed on time 9.00 A.M morning)
    When i perform differential incremental backup it comes around 2.6 G (performed on time 9.45 A.M )
    Why it is coming like this.. The backup should happen only for the changed blocks alone?? i.e it should come around 10 Mb or 20 Mb?? Why is like this? or my understanding of differential backup is wrong?
    I issued the below commands for Full DB Backup and Incremental Backup...
    FULL DB backup at 9.00 A.M
    RMAN> BACKUP INCREMENTAL LEVEL 0 DATABASE;
    Differentail Backup a 9.45 A.M
    RMAN> BACKUP INCREMENTAL LEVEL 1 DATABASE;
    Regards,
    Vijayaraghavan K

  • RMAN backup restore on new server with CATALOG START WITH

    Hello Experts,
    CATALOG START WITH
    is this required RMAN in catalog mode ?
    reference of post
    Disastor Recovery with RMAN : Restore backup on new separate Server
    Edited by: 873142 on Jul 18, 2011 9:27 PM

    If you use a recovery catalog and want to duplicate database in a fresh server.
    1. connect with the target database.
    2. connect with the recovery catalog.
    3. connect with the auxiliary database.
    4. Run the duplicate command.
    Before running the duplicate command copy the backup piece to your fresh server from the target server. Both mount point should be same.
    Regards
    Asif Kabir
    -- mark your helpful post as correct/helpful.

  • RMAN backup from remote pc !

    Dear Friends ,
    In my database Linux server I have no enough space to take RMAN backup since my database size around 90 GB .
    So in this moment I want to take the rman backup form remote machine(From windows or Linux), where all the datafile backup of my Linux database server also goes to the remote machine . is it possible to do ?
    Or is there any way to take RMAN backup(datafile,controlfile,spfile backup from server to client) from remote machine without increasing the HDD space of the Local server ?
    Waiting for your kind reply ... ...

    In my database Linux server I have no enough space to take RMAN backup since my database size around 90 GB .
    So in this moment I want to take the rman backup form remote machine(From windows or Linux), where all the datafile backup of my Linux database server also goes to the remote machine . is it possible to do ?
    Or is there any way to take RMAN backup(datafile,controlfile,spfile backup from server to client) from remote machine without increasing the HDD space of the Local server ?You can't make RMAN backup remotely.
    Use third party tools like data-protector or use Oracle secure backup to make backups other than local server.

  • Time machine backup from 10.6 server to Lion

    Hi
    I am running a Mac mini Server with SL Server, but I do not use the server features, it's pretty much a regular workstation. Now I want to upgrade to Lion (workstation) by formatting the hard drive and do a clean install. My question is if it is possible to restore my user data from the Time Machine backup done in SL Server during the setup of Lion? Are those os'es backups compatible or do I have to manually backup my home directory and user data and add everything after finishing the Lion install?
    Thanks in advance
    /Niclas

    Thanks for your reply.
    I guess that on 10.6 as far as TM is concerned the server version is exactly the same as the client version, except that we don't have the benefit of Migration Assistant to do the inherit for us.
    I am using a USB disc for TM.
    I can see that under Backup.backupdb I have a folder named after the old server, which contains the backups.
    I did try simply renaming that to the new server name, just in case the solution might be that simple.  But I get "operation not permitted".  It's not a permissions problem, and doing chflags nouchg doesn't help.  I guess it could be the schg flag, but I'm reluctant to try too hard in case I lose the old backups.
    Soooooo I think I am out of options and the only thing I can do is as you say and start again.

  • Restore RMAN backup from tape

    I have to restore the RMAN full backup from tape to new host to a previous date say March 1st. My target database RMAN retention period is 28 days, today is 11th May.
    Is it possible to restore the obsolete database from tape backup to new host as of May 1st. If not possible, I would like to restore the available backup say as 15th April from tape to new host.
    Can you please provide me the steps to restore the tape old backup to new host.
    Thanks,
    Mahi

    Can't read documentation? You also seem to be unable to mark questions as answered
    Mahi      
         Newbie
    Handle:      Mahi
    Status Level:      Newbie
    Registered:      Nov 24, 2010
    Total Posts:      24
    Total Questions:      15 (13 unresolved)
    Sybrand Bakker
    Senior Oracle DBA

  • Restoring RMAN backup from tape beyond retention policy ??

    Hello Friends,
    I just stuck in some basic finding. Need your help to resolve the questions.
    How we can use RMAN backup to restore oracle database when the RMAN backup pushed to tape already and being a OLD backup ( before retention policy date).
    Just to elaborate a more..  Say my retention policy is 3 days. I want to restore from a old backup  like 30 days old.
    So surely the requesting backup is behind retention date and has been pushed to tape.
    Please suggest.
    Thanks in advance.
    Regards
    Sinha.

    dba.arnab wrote:
    Hello Friends,
    I just stuck in some basic finding. Need your help to resolve the questions.
    How we can use RMAN backup to restore oracle database when the RMAN backup pushed to tape already and being a OLD backup ( before retention policy date).
    Just to elaborate a more..  Say my retention policy is 3 days. I want to restore from a old backup  like 30 days old.
    So surely the requesting backup is behind retention date and has been pushed to tape.
    Please suggest.
    Thanks in advance.
    Regards
    Sinha.
    Assuming the actual backup files still exist (the only thing actually deleted is the record of them in the catalog), you can make those files available and use the rman 'catalog' command to re-catalog them.

Maybe you are looking for

  • How to find the outbound idoc function module?(Urgent)

    Dear All, How to identify the outbound function module if there is process code assigned to message type. For partner profile the mesasge type is assigned and idoc type .This is the only information maintained . Now my question is how to identify the

  • How to pull e-mail, password recovery phrase and password recovery answer f

    Hi all, I am very new to HR ABAP and have some basic doubts in ABAP HR. I need to pull login which is like an e-mail id, password recovery phrase and Password Recovery Answer. Can some one guide me from where or from which table or which info type sh

  • Fixed ip address NAS not being found

    I have a mysterious network problem. I have a buffalo linkstation as NAS which is connected on to a switch (US robotics) which is connected to the network via an airport extreme which is set up as a remote base station on a WDS link from an airport e

  • Block hiding

    Hi, Based on the selection how to hide blocks in the report  level.. Regards, G

  • IMac beachballs on startup for upwards of an hour

    My iMac takes ages to become operational, and for sometimes over an hour, it beachballs or simply freezes. However, if I leave it on, the problem seems to go away. it's been doing it for for a while on and off. I thought it might be an OSX issue, so