DBAsupport.com Forums - Powered by vBulletin
Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Duplicate database on different host

  1. #11
    Join Date
    Mar 2010
    Posts
    7
    Hi,
    What you say would work if /u01(backup file system) is also mounted on the new host.
    But, i can't do that, the backup has been copied over to /u02.
    How will rman know that the backup is on /u02 and perfrom resoter and recovery into the new host.

    regards
    anandkl

  2. #12
    Join Date
    Oct 2008
    Posts
    69
    Quote Originally Posted by anandakl View Post
    Hi,
    What you say would work if /u01(backup file system) is also mounted on the new host.
    But, i can't do that, the backup has been copied over to /u02.
    How will rman know that the backup is on /u02 and perfrom resoter and recovery into the new host.

    regards
    anandkl
    Will rman not copy the backup from serverA (backup location /u01) and restore to serverB (where you want the duplicate)?
    We use netbackup and so our rman backups are stored on tape.
    All we need to do on the auxiliary server is
    rman target sys/password@live auxiliary / catalog rman/rman@rman-live
    then
    run {
    allocate auxiliary channel ch00 type ‘SBT_TAPE’;
    set until time ‘2010-03-25 08:00:00’;
    duplicate target database to PHILBASE nofilenamecheck;
    release channel ch00;
    }
    (or something like that)

    rman will take the backup from tape and put on serverB whereever we have specified in pfile/spfile
    db_file_name_convert=(/${SOURCE_SID}/,/${TARGET_SID}/)
    log_file_name_convert=(/${SOURCE_SID}/,/${TARGET_SID}/)

    not sure how this worls server-server rather than tape-server.

  3. #13
    Join Date
    Mar 2010
    Posts
    7
    If /u01(containing rman backup) is also accessable from new host, then rman will restored the database on the new host.

    But i cannot get to mount /u01 on the new host, hence i have copied the backup to /u02 and this information needs to be there in rman repository.
    I wanted to know on, if i need in which rman repository should i register this. Is it on the target host or auxillary host.

    regards
    anandkl

  4. #14
    Join Date
    Nov 2000
    Location
    Pittsburgh, PA
    Posts
    4,166
    You don't need to connect to the repository to do this,
    you can do it manually by pointing to the back up you want.

    Code:
    RUN {
      ALLOCATE CHANNEL C1 DEVICE TYPE 
        DISK format '/u02/rman/mydb/bck_20100323';
      RESTORE DATABASE;
      RECOVER DATABASE;
    }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width