RMAN Oracle 9i - restore

Gurus
I want to restore a complete RMAN backup on my stage server (same layout, same binaries) from the NFS location.
The method I follow is:
- launch full backup from source on NFS drive accessible to both servers
- startup nomount at target
- restore controlfile from 'location'
- restore database
However the issue is that I did not mention include current controlfile in the backup I took (it's 9i, 9208) and when I list backup it shows all old backups (which go to tape normally) and not the one that I took on NFS. I haven't setup tape and recovery catalog on stage as I donot want to restore from tape but from NFS drive only...
The error it shows is:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 03/23/2011 10:00:51
RMAN-06026: some targets not found - aborting restore
RMAN-06100: no channel to restore a backup or copy of datafile 50
RMAN-06100: no channel to restore a backup or copy of datafile 49
RMAN-06100: no channel to restore a backup or copy of datafile 48
RMAN-06100: no channel to restore a backup or copy of datafile 47
RMAN-06100: no channel to restore a backup or copy of datafile 46
etc
Can you tell me how do I catalog this backup in the controlfile it is restoring..?.. I see that 9i has some restriction in diong that :(
Also, can I copy the current controlfile (from source) which has info abt this backup and restore to a point in time?
ThanksMuch
L0 DBA

I was able to identify the backup using a current controlfile but the pience name is registered as:
BS Key Type LV Size Device Type Elapsed Time Completion Time
49460 Full 2G DISK 00:22:09 15-MAR-11
BP Key: 49460 Status: AVAILABLE Tag: TAG20110315T165404
Piece Name: /apps/ddbackup/oraexport/DBNAME/FULL_SAVEGRP_DBNAME_ntm7a0dg/
List of Datafiles in backup set 49460
File LV Type Ckp SCN Ckp Time Name
44 Full 1723976356787 15-MAR-11 /oradata/DBNAME/data001/oralink/rkpidx03_03
47 Full 1723976356787 15-MAR-11 /oradata/DBNAME/data001/oralink/rkpdat01_06
The backup was taken using:
backup full filesperset 20
format '/apps/ddbackup/oraexport/DBNAME/FULL_SAVEGRP_%d_%u/'
(database);
BUt the restore says:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 03/23/2011 11:38:27
ORA-19505: failed to identify file "/apps/ddbackup/oraexport/DBNAME/FULL_SAVEGRP_DBNAME_ntm7a0dg/"
ORA-27037: unable to obtain file status
SVR4 Error: 20: Not a directory
Additional information: 3
Although al files are present at this location:
(oracle:DBNAME)/apps/ddbackup/LCM/scripts/DBNAME: ls -l /apps/ddbackup/oraexport/DBNAME
total 707098624
-rw-r----- 1 oracle dba 4571136 Mar 23 11:01 ctrlDBNAME.ctl
-rw-r----- 1 oracle dba 46823784448 Mar 15 21:11 FULL_SAVEGRP_DBNAME_nmm7a0de
-rw-r----- 1 oracle dba 66170978304 Mar 15 23:00 FULL_SAVEGRP_DBNAME_nnm7a0de
-rw-r----- 1 oracle dba 70473613312 Mar 15 23:23 FULL_SAVEGRP_DBNAME_nom7a0df
-rw-r----- 1 oracle dba 31187255296 Mar 15 19:51 FULL_SAVEGRP_DBNAME_npm7a0df
-rw-r----- 1 oracle dba 49790435328 Mar 15 21:32 FULL_SAVEGRP_DBNAME_nqm7a0df
-rw-r----- 1 oracle dba 53254422528 Mar 15 21:50 FULL_SAVEGRP_DBNAME_nrm7a0df
-rw-r----- 1 oracle dba 41653403648 Mar 15 20:47 FULL_SAVEGRP_DBNAME_nsm7a0df
-rw-r----- 1 oracle dba 2676031488 Mar 15 17:16 FULL_SAVEGRP_DBNAME_ntm7a0dg
Any clues?

Similar Messages

  • RMAN backup and restore for Disaster Recovery

    Hi Guys,
    I am very new to Oracle and have a question about RMAN backup and restore feature. I am simulating a disaster recovery scenario by having two VMs running oracle 11g, say hosta and hostb, hosta is sort of production db and the other a disaster recovery db (one that will be made primary when disaster occurs). My goal is to backup production db using RMAN and restore it on the other machine. For some reason when I restore the db on hostb, the command restores the previous backup but not the most recent one e.g. I took a backup yesterday (09/20) and applied it to the hostb that worked fine, but when I try to apply a fresh backup from today (09/21) it always picks up the old backup. Here's a dump of the screen:
    Starting restore at 21-SEP-11
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00001 to /oracle/app/dev/oradata/forums/s
    ystem01.dbf
    channel ORA_DISK_1: restoring datafile 00002 to /oracle/app/dev/oradata/forums/s
    ysaux01.dbf
    channel ORA_DISK_1: restoring datafile 00003 to /oracle/app/dev/oradata/forums/u
    ndotbs01.dbf
    channel ORA_DISK_1: restoring datafile 00004 to /oracle/app/dev/oradata/forums/u
    sers01.dbf
    channel ORA_DISK_1: reading from backup piece /oracle/app/dev/flash_recovery_are
    a/FORUMS/backupset/o1_mf_nnnd0_TAG20110920T040950_77jx3zk7_.bkp
    channel ORA_DISK_1: piece handle=/oracle/app/dev/flash_recovery_area/FORUMS/back
    upset/o1_mf_nnnd0_TAG20110920T040950_77jx3zk7_.bkp tag=TAG20110920T040950
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:05
    Finished restore at 21-SEP-11
    Notice that it reads the backup piece from this location /oracle/app/dev/flash_recovery_are
    a/FORUMS/backupset/
    whereas my latest backups are stored at a different location.
    I am executing following steps at the RMAN prompt on hosta and hostb:
    hosta (production site)
    backup as compressed backupset database plus archivelog
    backup current controlfile format'/oracle/oracle_bkup/ctl_%U'
    backup spfile
    hostb (Disaster site)
    set dbid=13732232063
    startup force nomount
    restore spfile to '/oracle/app/dev/product/11.2.0/dbhome_1/dbs/spfileforums.ora' from '/export/home/dev/restore_db/backupset/2011_09_21/o1_mf_nnsnf_TAG20110921T114945_77ndg9ys_.bkp'
    shutdown immediate
    /* create a init<db_name>.ora file with SPFILE= /oracle/app/dev/product/11.2.0/dbhome_1/dbs/spfileforums.ora */
    startup force pfile='/export/home/dev/restore_db/initforums.ora' nomount
    restore controlfile from '/export/home/dev/restore_db/backupset/2011_09_21/ctl_1hmn3mic_1_1'
    /* restart rman here */
    quit
    alter database mount;
    catalog start with '/export/home/dev/restore_db/backupset/2011_09_21' noprompt;
    /* call the next two commands on run */
    restore database;
    recover database;
    alter database open resetlogs
    quit
    Any help will be greatly appreciated.
    Thanks,
    Rajesh

    Thanks guys, I really appreciate all your help here. I redid everything all over again to get all the information you guys wanted. Since I noticed that more eyes are looking into this I am going to reiterate my steps one more time followed by specific answers to questions. My first backup on Host B is located under ..../restore_db/backupset whereas the subsequent one is under .../restore_db/backupset/backupset2.
    I take backup on Host A using:
    rman target /
    backup as compressed backupset database plus archivelog;
    backup spfile;
    quit;
    I restore the backup on Host B using:
    set dbid=13732232063;
    startup force nomount;
    restore spfile to '/oracle/app/dev/product/11.2.0/dbhome_1/dbs/spfileforums.ora' from '/export/home/dev/restore_db/backupset/o1_mf_nnsnf_TAG20110928T171830_787gbpxh_.bkp'
    shutdown immediate;
    startup force nomount;
    restore controlfile from '/export/home/dev/restore_db/backupset/o1_mf_ncsnf_TAG20110928T171638_787gbkxn_.bkp'
    quit;
    /* restart rman here */
    alter database mount;
    catalog start with '/export/home/dev/restore_db/backupset' noprompt;
    restore database;
    recover database;
    alter database open resetlogs;
    quit;
    I take another backup on Host A using (notice no spfile backup this time):
    backup as compressed backupset database plus archivelog;
    quit;
    I restore the database on Host B using:
    alter database mount;
    catalog start with '/export/home/dev/restore_db/backupset/backupset2' noprompt;
    recover database;
    alter database open;
    quit;
    Output of List Backup of database (I have done this after I recovered the second time, also note that it is referring to backupset2 which is were my second backup is stored)
    RMAN> list backup of database;
    using target database control file instead of recovery catalog
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    89 Full 261.87M DISK 00:01:37 28-SEP-11
    BP Key: 91 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171638
    Piece Name: /export/home/dev/restore_db/backupset/o1_mf_nnndf_TAG2011092
    8T171638_787g77rx_.bkp
    List of Datafiles in backup set 89
    File LV Type Ckp SCN Ckp Time Name
    1 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/system01.dbf
    2 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/sysaux01.dbf
    3 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/undotbs01.dbf
    4 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/users01.dbf
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    97 Full 259.16M DISK 00:00:00 28-SEP-11
    BP Key: 100 Status: AVAILABLE Compressed: YES Tag: TAG20110928T18352
    7
    Piece Name: /export/home/dev/restore_db/backupset/backupset2/o1_mf_nnndf
    TAG20110928T183527787lv0nb_.bkp
    List of Datafiles in backup set 97
    File LV Type Ckp SCN Ckp Time Name
    1 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/system01.dbf
    2 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/sysaux01.dbf
    3 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/undotbs01.dbf
    4 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/users01.dbf
    Output of list backup (done after restoring the control file)
    RMAN> list backup;
    BS Key Size Device Type Elapsed Time Completion Time
    87 89.20M DISK 00:00:26 28-SEP-11
    BP Key: 87 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171526
    Piece Name: /oracle/app/dev/flash_recovery_area/FORUMS/backupset/2011_09
    _28/o1_mf_annnn_TAG20110928T171526_787g50bm_.bkp
    List of Archived Logs in backup set 87
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 34 1302253 20-SEP-11 1306439 20-SEP-11
    1 35 1306439 20-SEP-11 1307647 20-SEP-11
    1 36 1307647 20-SEP-11 1307701 20-SEP-11
    1 37 1307701 20-SEP-11 1311393 20-SEP-11
    1 38 1311393 20-SEP-11 1311511 20-SEP-11
    1 39 1311511 20-SEP-11 1332479 20-SEP-11
    1 40 1332479 20-SEP-11 1344418 20-SEP-11
    1 41 1344418 20-SEP-11 1350409 20-SEP-11
    1 42 1350409 20-SEP-11 1350449 20-SEP-11
    1 43 1350449 20-SEP-11 1350854 21-SEP-11
    1 44 1350854 21-SEP-11 1350895 21-SEP-11
    1 45 1350895 21-SEP-11 1353114 21-SEP-11
    1 46 1353114 21-SEP-11 1353254 21-SEP-11
    1 47 1353254 21-SEP-11 1353865 21-SEP-11
    1 48 1353865 21-SEP-11 1353988 21-SEP-11
    1 49 1353988 21-SEP-11 1375403 21-SEP-11
    1 50 1375403 21-SEP-11 1376149 21-SEP-11
    1 51 1376149 21-SEP-11 1376206 21-SEP-11
    1 52 1376206 21-SEP-11 1376246 21-SEP-11
    1 53 1376246 21-SEP-11 1379990 21-SEP-11
    1 54 1379990 21-SEP-11 1380229 21-SEP-11
    1 55 1380229 21-SEP-11 1380266 21-SEP-11
    1 56 1380266 21-SEP-11 1380528 21-SEP-11
    1 57 1380528 21-SEP-11 1380724 21-SEP-11
    1 58 1380724 21-SEP-11 1380861 21-SEP-11
    1 59 1380861 21-SEP-11 1381033 21-SEP-11
    1 60 1381033 21-SEP-11 1381077 21-SEP-11
    1 61 1381077 21-SEP-11 1402243 22-SEP-11
    1 62 1402243 22-SEP-11 1423341 22-SEP-11
    1 63 1423341 22-SEP-11 1435456 22-SEP-11
    1 64 1435456 22-SEP-11 1454415 23-SEP-11
    1 65 1454415 23-SEP-11 1490903 23-SEP-11
    1 66 1490903 23-SEP-11 1491266 23-SEP-11
    1 67 1491266 23-SEP-11 1491347 23-SEP-11
    1 68 1491347 23-SEP-11 1492761 23-SEP-11
    1 69 1492761 23-SEP-11 1492891 23-SEP-11
    1 70 1492891 23-SEP-11 1493678 23-SEP-11
    1 71 1493678 23-SEP-11 1493704 23-SEP-11
    1 72 1493704 23-SEP-11 1494741 23-SEP-11
    1 73 1494741 23-SEP-11 1494790 23-SEP-11
    1 74 1494790 23-SEP-11 1510154 23-SEP-11
    1 75 1510154 23-SEP-11 1514286 23-SEP-11
    1 76 1514286 23-SEP-11 1531967 24-SEP-11
    1 77 1531967 24-SEP-11 1543266 24-SEP-11
    1 78 1543266 24-SEP-11 1558427 24-SEP-11
    1 79 1558427 24-SEP-11 1566924 24-SEP-11
    1 80 1566924 24-SEP-11 1578292 24-SEP-11
    1 81 1578292 24-SEP-11 1596894 25-SEP-11
    BS Key Size Device Type Elapsed Time Completion Time
    88 84.03M DISK 00:00:30 28-SEP-11
    BP Key: 88 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171526
    Piece Name: /oracle/app/dev/flash_recovery_area/FORUMS/backupset/2011_09
    _28/o1_mf_annnn_TAG20110928T171526_787g63s9_.bkp
    List of Archived Logs in backup set 88
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 82 1596894 25-SEP-11 1609028 25-SEP-11
    1 83 1609028 25-SEP-11 1622303 25-SEP-11
    1 84 1622303 25-SEP-11 1626430 25-SEP-11
    1 85 1626430 25-SEP-11 1634486 25-SEP-11
    1 86 1634486 25-SEP-11 1648398 25-SEP-11
    1 87 1648398 25-SEP-11 1669259 26-SEP-11
    1 88 1669259 26-SEP-11 1686820 26-SEP-11
    1 89 1686820 26-SEP-11 1686959 26-SEP-11
    1 90 1686959 26-SEP-11 1689168 26-SEP-11
    1 91 1689168 26-SEP-11 1704759 26-SEP-11
    1 92 1704759 26-SEP-11 1719597 27-SEP-11
    1 93 1719597 27-SEP-11 1740407 27-SEP-11
    1 94 1740407 27-SEP-11 1750125 27-SEP-11
    1 95 1750125 27-SEP-11 1765592 27-SEP-11
    1 96 1765592 27-SEP-11 1781498 28-SEP-11
    1 97 1781498 28-SEP-11 1802311 28-SEP-11
    1 98 1802311 28-SEP-11 1811009 28-SEP-11
    1 99 1811009 28-SEP-11 1813811 28-SEP-11
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    89 Full 261.87M DISK 00:01:37 28-SEP-11
    BP Key: 89 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171638
    Piece Name: /oracle/app/dev/flash_recovery_area/FORUMS/backupset/2011_09
    _28/o1_mf_nnndf_TAG20110928T171638_787g77rx_.bkp
    List of Datafiles in backup set 89
    File LV Type Ckp SCN Ckp Time Name
    1 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/system01.dbf
    2 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/sysaux01.dbf
    3 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/undotbs01.dbf
    4 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/users01.dbf

  • How to do oracle  backup,restore,recovery using php?

    Is there anyone know how to do oracle backup,restore and recovery using php? any tips... is there any ways to do that?

    Are you referring to performing RMAN backup operations via the OSB web tool? RMAN operations are managed, not via the web tool, but through RMAN command line or Oracle Enterprise Manager (EM)
    Donna

  • RMAN hangs during restore using TSM

    Hi all,
    I need an advice. My database version is 11.2.0.2.0. TSM Client version is 5.5.2
    I'm testing a restore using Tivoli Storage Manager. I'm trying to restore a specific tablespace using RMAN
    RMAN> connect target /
    connected to target database (not started)
    RMAN> run {
    2> startup mount;
    3> allocate channel t1 device type sbt_tape parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
    4> restore tablespace 'ECRIXAR';
    5> recover tablespace 'ECXIAR';
    6> alter datbase open;
    7> }
    RMAN-06196: Oracle instance started
    RMAN-06199: database mounted
    Total System Global Area 2137886720 bytes
    Fixed Size 2221336 bytes
    Variable Size 1308625640 bytes
    Database Buffers 822083584 bytes
    Redo Buffers 4956160 bytes
    RMAN-06009: using target database control file instead of recovery catalog
    RMAN-08030: allocated channel: t1
    RMAN-08500: channel t1: SID=63 device type=SBT_TAPE
    RMAN-08526: channel t1: Data Protection for Oracle: version 5.5.2.0
    RMAN-03090: Starting restore at 07-MAR-11
    RMAN-08016: channel t1: starting datafile backup set restore
    RMAN-08089: channel t1: specifying datafile(s) to restore from backup set
    RMAN-08610: channel t1: restoring datafile 00014 to /dbspace/oradata/CMSDB/ecrixar01.dbf
    RMAN-08003: channel t1: reading from backup piece CMSDB_25_20110304.bkp
    And on this place RMAN just hangs and nothing happens further...
    I tried to search some information and tried to write some trace files during restore like this...
    oracle@hostname:/> rman target / trace /home/oracle/log/rman.trc debug
    connected to target database (not started)
    RMAN> run {
    2> startup mount;
    3> allocate channel t1 device type sbt_tape parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)' trace=2;
    4> restore tablespace 'ECRIXAR';
    5> recover tablespace 'ECXIAR';
    6> alter datbase open;
    7> }
    But I cannot find any errors in trace files...
    What else can i do to check what's happenig?

    But I cannot find any errors in trace files...This indicates the problem is not on the RMAN, but on the TSM side. So you have to check the TSM logs, you also can switch on tracing:
    http://publib.boulder.ibm.com/tividd/td/DPON/SH26-4112-02/en_US/HTML/anou0009.htm
    And on this place RMAN just hangs and nothing happens further...How long do you wait?
    Werner

  • RMAN full database restoration

    Hi All,
    I'm doing a test of rman backup. I took full backup of my database (controle file, datafiles and archivelog file). I dropped my database from dbca GUI.
    Can i restore my full backup from RMAN in this case. I mean i want to restore my full backup, wht should i do. Should i create new database in the same name of my old database and recover from rman like in export utility or not. What is the issue. Note that i didn't backed up redolofile, password file and parameter file and they are already removed when i dropped the database from DBCA.
    If any one have an idea in this case. Note that i took also export full backup if no issue from RMAN i'll restore it from export backup.
    Thanks for your help
    regards
    raitsarevo

    And tell us OS and database version (RMAN 8i is not the same as RMAN 9i,10g,11g,...).
    Dropping the database through DBCA is not the same as losing it through media failure, that means RMAN can't do the whole work. It does not recreate oratab entries (Unix/Linux) or services (Windows). Delete through DBCA will also remove entries from the sqlnet configuration files, RMAN is not aware of this.
    Werner

  • System Copy/ Oracle Backup/Restore as part of migrating from 32 to 64-bit

    Source system (I386): R3E47 Ext Set 2.00 SAP_BASIS 620 Kernel 640 Windows 2000, Oracle 10.2.0.4, non-unicode
    Target system (x86-64/AMD64): R3E47 Ext Set 2.00 SAP_BASIS 620 Kernel 640 Windows 2000 Oracle 10.2.0.4, non-unicode
    Am using method System Copy/ Oracle Backup/Restore to migrate from 32 to 64 bit (HOM System Copy).
    Actions on source system:
    a) Upgrade from 9.2.0.7 to Oracle 10.2.0.4
    b) Used ora_br_copy.bat to generate CONTROL.SQL and init<sid>.ora
    c) Switched logfiles
    d) Performed offline backup
    Actions on target system:
    a) Installed Oracle 10.2.0.1 and patched it to 10.2.0.4
    b) Used CD 51033746 "6.20/6.40 based products Installation Master (Edition May 2008)" to install the CI
    c) Started installation of the DB instance selecting System Copy/ Oracle Backup/Restore (same <SID> for source and target systems)
    Relevant input parameters used:
    Database schema: SAPR3
    Database character set: US7ASCII
    d) When SAPINST stopped to allow for restoring of datafiles, logs and init<sid.ora>:
    - copied datafiles and logs to the usual place
    - copied CONTROL.SQL (edited to include utilrp.sql and utlrp.sql for the migration from 32 to 64) to the DB-instance intallation . directory.
    - copied generated init<SID>.ora to the <ORACLE_HOME>\database
    e) Resumed SAPINST.
    David Byrne in a previous post suggested: "check your oracle alert file in case there are errors there you may need to update the word size for the 64bit install. Errors like this in the oracle alert file would suggest that.,
    ORA-12012
    ORA-06544: PL/SQL: internal error, arguments: [ORA-06544: PL/SQL: internal error, arguments: 56319], [, ], [, ], [, ], [
    ORA-06553"
    Well, I am getting ORA-06553: PLS-801: internal error [56319] but then my edited CONTROL.SQL (which is mainly a CREATE CONTROLFILE as it would be obtained with a ...BACKUP CONTROLFILE TO TRACE) includes at the end this:
    shutdown immediate
    startup upgrade
    spool utlirp.log
    @?/rdbms/admin/utlirp.sql
    spool off
    Shutdown immediate
    Startup
    Spool utlrp.log
    @?/rdbms/admin/utlrp.sql
    Spool off
    exit
    which is supposed to do just that... (I think)
    Help, anyone?

    > Trying to cheer me up, are you?
    No
    > It is NOT free that reorganization! Quite expensive, actually, paid for in time! But you're right... the database needed a reorg anyway :-\
    True, not "free" - it takes time but the data will be nicely aligned then
    > And why would I have to reconfigure all those 10.2 features? Everything's either in the database or init<sid>.ora, ain't it? And my database is a pretty 10.2.0.4 with all those nice features already activated...
    No - not really auotmatically if you upgraded from 9.2 And "init<SID>.ora" is past, you nowadays use "spfile" If, of course, e. g. Automatic Undo was activated in 9.2 then it's there of course in 10.2 too.
    > One sticky point... I haven't really read the r3load procedure yet and I will before I import, but... I would say I don't have to do anything about the 32->64 bit, right? I mean, it should behave properly while reloading on 64-bit...
    The exported content is about 10 % of the size of the system, it's database and OS independent so yes, you can import it nicely on 32bit. Another tip: make sure you don't just use the default configurations for R3load, it will take a HUGE amount of time. Use the package splitter (builtin-in in sapinst) so you get a much higher parallelism when importing.
    Markus

  • System copy using oracle backup/restore - sapinst does not restart after re

    I am performing a system copy of a BW3.5 system, using the system copy procedures and Oracle backup/restore. on the target node, I have installed the CI. I have run sapinst to install the database up to the point when it tells me to install the Oracle Server software, then restore the backup, and choose 'OK' in the dialog box. As I did not want to leave this dialog open, I chose 'cancel'. I have now installed Oracle, and restored the database, but when I try restarting sapinst I get the following error, and sapinst quits:
    FKD-00049  XML - Parser error: error: invalid symbol '' in literal 'SAPSYSTEM_DB
    indind_ind_ind_ind_0_SAPSYSTEM_ind_ind_ind_ind_ind_0_SAPComponent_ind_ind_ind_
    ind_ind_0_SAPComponent_Accounts_ind_ind_ind_ind_ind_0_SAPCompon' in line 1, 1
    in file
    ERROR      2007-08-20 15:06:13 [iaxxcsihlp.hpp:208]
               main()
    FCO-00031  An error occurred during the installation of component Problem: error
    in persistency subsystem.. Press the log view button to get extended error info
    rmation or press OK to terminate the installation.
    Has anybody ever experienced this before, or have any clues as to what the problem is? This is a production system, and it is supposed to be available by the end of the week....

    Hi Angie,
    You should always mention OS details while drafting message.
    First, CHeck you must selected same SID as earlier while installation or Oracle and DB.
    Secondly, you can skip this phase in SAPInst, bit technical for you.
    Alternatively,
    Recommendations
    - Set parameters as per SAP Note 356370
    - Change the swap mode from 'intermediate' to 'deferred' as described in
      SAP Note 97179.
    - Add /usr/sbin to the path of the user <sapsid>adm in the file
    .cshrc, .login, .profile in the user's home directory. Enter the
    following command(s) at the end of .cshrc, .login, .profile:
      a) If using a csh, enter:
           set path=(/usr/sbin $path)
      b) If using a sh, enter:
           path=/usr/sbin:$path
           export path
    Br,
    Amit Lal
    Reward suitable pts.

  • RMAN can backup/restore diferent versions of Oracle DataBases regardless OS

    Hi,
    I am evaluating Recovery Manager to backup and restore Oracle databases.
    I have to backup/restore diferents versions of Oracle database, these databases are running in diferents operating systems (AIX, LINUX, Windows)
    For example:
    Oracle DataBase 9 in AIX 5.3 system
    Oracle DataBase 10 in Lunix system
    Oracle DataBase 9 in Windows system
    I want to have a single RMAN server in order to backup/restore all my Oracle DataBases, is it possible?
    A single RMAN server can backup/restore diferent versions of Oracle DataBases regardless the operating system?
    If the answer is yes, do I need to have an specif operting system in my RMAN server? (AIX, Linux, Windows, etc.)
    Thanks for your help;

    Hi,
    Your question:
    I want to have a single RMAN server in order to backup/restore all my Oracle DataBases, is it possible?
    Sounds more like a machine.
    If you would have asked:
    I want to have a single RMAN recovery catalog in order to backup/restore all my Oracle DataBases, is it possible?
    I would have confirmed as like the other two.
    Be aware the catalog version needs to be equal or higher as the highest database version.
    Regards,
    Tycho

  • Rman hangs during restoration with no errors

    Hi,
    Platform:solaris 10
    oracle version:oracle 10g
    I am restoring the backup from tape using RMAN.
    iWe have production instances in /data1 to /data11; it is connected to TAPE through fibre cable with the speed of 256MBS/sec.
    Our restoration is /aux_data01 to /aux_data11 in the same server.( fairport80)
    But our restoration takes very long time. To restore 900 GB is has taken 42 hrs.
    a) During the validation it has not give any error.
    b) During restoration also it has not give any error (till to time)
    Last update in the restoration log was today morning at 2:00 am. There after the restoration was in stale. It seems that it does not processing. Please assist me.
    We are restoring the database as of 16-oct-2007.
    As of 16-oct-2007 the database size was 1,763GB. It has restored 1742GB, There after no progress at all. (From 2am today)
    Validate.
    During validate it has not given any error
    Restoration.
    During the restoration has not thrown any error at all. But no progress after 24-oct-2007 2:00 am onwards.
    All data files were restored, but control files are not restored.
    Conclusion
    Last time in 30Hrs we hit an error. but now after 84 hrs it is stale.
    Can anyone help in this please
    With Regards
    Boo

    hi,
    can we have a look at your restore command?
    regards
    Alan

  • Oracle backup & restore problem

    Hi Team,
    I am new to the RMAN, I want to test Backup & restore operation
    I have database called Test , I am creating new table in the database called Test_table through SQL *coPlus create mmand.
    Now After this I am taking backup the of all cotrolfile , datafile & snapshot file.
    once again I am opening this database in SQL *plus & deleted the table (Test_table).
    Now if restore back the database with backup set taken before deleting table. It is not showing me the Test_table.
    What is the problem? Plz help..

    Hi,
    Thanks for replay,
    Using Windows XP & ORACLE 9i
    I am doing following steps.
    Created one table ( Test_table ) in database my Test database.
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Administrator>rman
    Recovery Manager: Release 9.2.0.1.0 - Production
    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
    RMAN> connect target system/sreedhar@Test;
    connected to target database: Test (DBID=1558624384)
    RMAN> show all;
    using target database controlfile instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    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 'C:\Testing\CTL_
    %F';
    configuration for DISK channel 2 is ignored
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT 'C:\Testing\DBF_%U';
    CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT 'C:\RmanBack\std_%U';
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'C:\Testing\CHA_Dev_%U_%S_%P';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'C:\TESTING\SNCFTest.ORA';
    RMAN> backup database;
    Starting backup at 06-OCT-06
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=9 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=C:\ORACLE\ORADATA\Test\SYSTEM01.DBF
    input datafile fno=00002 name=C:\ORACLE\ORADATA\Test\UNDOTBS01.DBF
    input datafile fno=00005 name=C:\ORACLE\ORADATA\Test\EXAMPLE01.DBF
    input datafile fno=00010 name=C:\ORACLE\ORADATA\Test\XDB01.DBF
    input datafile fno=00006 name=C:\ORACLE\ORADATA\Test\INDX01.DBF
    input datafile fno=00009 name=C:\ORACLE\ORADATA\Test\USERS01.DBF
    input datafile fno=00003 name=C:\ORACLE\ORADATA\Test\CWMLITE01.DBF
    input datafile fno=00004 name=C:\ORACLE\ORADATA\Test\DRSYS01.DBF
    input datafile fno=00007 name=C:\ORACLE\ORADATA\Test\ODM01.DBF
    input datafile fno=00008 name=C:\ORACLE\ORADATA\Test\TOOLS01.DBF
    channel ORA_DISK_1: starting piece 1 at 06-OCT-06
    channel ORA_DISK_1: finished piece 1 at 06-OCT-06
    piece handle=C:\TESTING\DBF_0QHV5L4T_1_1 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:01:05
    Finished backup at 06-OCT-06
    Starting Control File and SPFILE Autobackup at 06-OCT-06
    piece handle=C:\TESTING\CTL_C-1558624384-20061006-01 comment=NONE
    Finished Control File and SPFILE Autobackup at 06-OCT-06
    RMAN> exit
    Recovery Manager complete.
    After this backup I am deleting this Test_table table using SQL *PLUS Drop table  clause.
    Also deleted the all .DBF files from Test folder. and I am restoring now the old backup set which has the information regarding the Test_table.
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Administrator>rman
    Recovery Manager: Release 9.2.0.1.0 - Production
    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
    RMAN> connect target system/sreedhar@Test;
    connected to target database (not started)
    RMAN> startup mount;
    Oracle instance started
    database mounted
    Total System Global Area 252779340 bytes
    Fixed Size 453452 bytes
    Variable Size 125829120 bytes
    Database Buffers 125829120 bytes
    Redo Buffers 667648 bytes
    RMAN> show all;
    using target database controlfile instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    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 'C:\Testing\CTL_
    %F';
    configuration for DISK channel 2 is ignored
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT 'C:\Testing\DBF_%U';
    CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT 'C:\RmanBack\std_%U';
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'C:\Testing\CHA_Dev_%U_%S_%P';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'C:\TESTING\SNCFTest.ORA';
    RMAN> restore database;
    Starting restore at 06-OCT-06
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=11 devtype=DISK
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to C:\ORACLE\ORADATA\Test\SYSTEM01.DBF
    restoring datafile 00002 to C:\ORACLE\ORADATA\Test\UNDOTBS01.DBF
    restoring datafile 00003 to C:\ORACLE\ORADATA\Test\CWMLITE01.DBF
    restoring datafile 00004 to C:\ORACLE\ORADATA\Test\DRSYS01.DBF
    restoring datafile 00005 to C:\ORACLE\ORADATA\Test\EXAMPLE01.DBF
    restoring datafile 00006 to C:\ORACLE\ORADATA\Test\INDX01.DBF
    restoring datafile 00007 to C:\ORACLE\ORADATA\Test\ODM01.DBF
    restoring datafile 00008 to C:\ORACLE\ORADATA\Test\TOOLS01.DBF
    restoring datafile 00009 to C:\ORACLE\ORADATA\Test\USERS01.DBF
    restoring datafile 00010 to C:\ORACLE\ORADATA\Test\XDB01.DBF
    channel ORA_DISK_1: restored backup piece 1
    piece handle=C:\TESTING\DBF_0QHV5L4T_1_1 tag=TAG20061006T122500 params=NULL
    channel ORA_DISK_1: restore complete
    Finished restore at 06-OCT-06
    RMAN> recover database;
    Starting recover at 06-OCT-06
    using channel ORA_DISK_1
    starting media recovery
    media recovery complete
    Finished recover at 06-OCT-06
    RMAN> exit
    Recovery Manager complete.
    When i check table Test_table in SQL *Plus using command DESC Test_table; it is showing me error object Test_table does not exist

  • How to do oracle backups/Restore

    hi,
    can any one send me the steps for taking database back ups and restoring it.
    thanks.

    Hi,
    Very simple.........
    Just open the Oracle documentation.
    Go to the Backup and Recovery module.
    Start going through backup methods.
    So on Serious note...
    First of all tell whether you want backup and recovery as User managed or Recovery Manager(RMAN).
    They both have their respective steps.
    For more information go through this:-
    http://www.oracle.com/technology/deploy/availability/htdocs/BR_Overview.htm
    and other oracle docs.
    Regards.

  • RMAN error when restoring controlfile from tape

    Hi,
    We have a Production database with instance name PROD.
    We use Symantec Netbackup software to backup this database to tape library.
    We want to test some recovery scenarios on a test server. So we want to restore the production backups from Tape to this test server.
    We did the following:
    Cloned the ORACLE Home to the Test Server.
    Changed the db_name parameter to PROD and also set ORACLE_SID to PROD.
    then we connected to RMAN and ran the following command to restore the control files:
    RMAN> run {
    set dbid 4155532403
    set controlfile autobackup format for device type 'sbt_type' to '%F';
    set until time "to_date('16/12/2012:10:13:37','dd/mm/yyyy:hh24:mi:ss')";
    allocate channel t1 device type 'sbt_tape';
    SEND 'NB_ORA_SERV=riysvbkp-001,NB_ORA_CLIENT=lh-erp';
    restore controlfile to '/testerp/dbexec/tmp/cf1.ctl' from autobackup;
    executing command: SET DBID
    database name is "PROD" and DBID is 4155532403
    executing command: SET CONTROLFILE AUTOBACKUP FORMAT
    executing command: SET until clause
    allocated channel: t1
    channel t1: SID=171 device type=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 7.1 (2011082510)
    sent command to channel: t1
    Starting restore at 17-DEC-12
    channel t1: looking for AUTOBACKUP on day: 20121216
    channel t1: AUTOBACKUP found: c-4155532403-20121216-01
    channel t1: restoring control file from AUTOBACKUP c-4155532403-20121216-01
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 12/17/2012 08:34:41
    ORA-19870: error while restoring backup piece c-4155532403-20121216-01
    ORA-19507: failed to retrieve sequential file, handle="c-4155532403-20121216-01", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
    Failed to process backup file <c-4155532403-20121216-01>
    Here you can see that AUTOBACKUP is found but RMAN is unable to process the backup piece.
    I am not able to see any errors in the log files. Please advise.
    Thanks,
    Muneer.

    Thanks.
    The earlier error is gone and now I am getting the following error:
    channel t1: looking for AUTOBACKUP on day: 20121216
    channel t1: AUTOBACKUP found: c-4155532403-20121216-01
    channel t1: restoring control file from AUTOBACKUP c-4155532403-20121216-01
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 12/17/2012 14:34:25
    ORA-19870: error while restoring backup piece c-4155532403-20121216-01
    ORA-19507: failed to retrieve sequential file, handle="c-4155532403-20121216-01", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
    Backup file <c-4155532403-20121216-01> not found in NetBackup catalog

  • Crosscheck backup in RMAN - Oracle 9i

    Hi,
    I have scheduled RMAN backup in oracle 9i and it completed successfully.
    After backup, if i list backup, its status is available.
    #list backup by file;
    Then i ran a crosscheck to crosccheck the backup files and backup sets.
    #crosscheck backup;
    Again, if i list the backup (l#ist backup), the status of latest backup which executed successfully today becomes "EXPIRED".
    Could someone please guide me on the same. Its not possible to recover the database through RMAN if the backup is expired.
    Will crosscheck command in oracle 9i, change the status of backup to expired??
    Kindly suggest!
    Thanks,
    Vidhya

    Vidhya.V wrote:
    Hi,
    I will zip the backup copies for reclaiming more space. So, since files are not present there is it displaying as expired.
    Once I unzip the files and try for a crosscheck, will it work??I've never tested trying to "unexpire" a backup piece once it is marked as 'expired', but it sounds reasonable. It would be easy enough for you test for yourself. If that is going to be your strategy, then you need to make sure you never do a 'delete expired'. That command will cause rman to remove the entries of the 'expired' backups from its repository. Then if you tried to 'unexpire' by restoring your backups and re-running 'crosscheck', the entries in the repository are no longer there to BE crosschecked. And since you are running the very obsolete 9i, you can't recatalog them. And since that strategy means never issuing a 'delete expired', your control file will continue to grow ad infinitum because you will NEVER be able to clean up old entries.
    SO, while you can probably make your strategy work, it is very weak on several counts:
    1) you are running a totally unsupported version of oracle. Is your OS and hardware equally old and unsupported, or does your organization believe that only the rdbms software is "expendable"? I would not want to be around when your database goes belly-up, putting your company's survival on the line, and Oracle support says "xin loi".
    2) your strategy is based on trying to save disk space, but disk is astoundingly cheap. Just how big are your backups and what is your business requirement for retention/recovery?

  • Oracle Disaster Restore Service for you

    We can provide the Disaster REstore experts Service for you.
    We can restore the following status Oracle:
    1. Only have RMAN Backup
    2. Only have datafile (anything ,datafile etc.)
    3. Only have all datafiles
    Oracle Verstions:8/8i/9i/10g/11g
    MSN:[email protected]
    深圳公司提供專家Oracle災難恢復服務。
    如果貴公司Oracle數據庫損壞,我們會協助貴公司恢復數據。
    恢復範圍:
    1> 有RMAN備份
    2> 有數據文件冷備份(包含所有數據文件)
    3> 僅僅剩下一個數據文件(如DATA01.dbf)
    Message was edited by:
    user630796

    Well I guess it has been already mentioned couple of times here on this forum.Please don't use this forum as a medium of self promotion or business promotion.I suggest set up a good website and we will find you.
    And if you ask me, I shallbe interested if you can tell me what you can do which DUL or DUDE are missing?I am not giving links for it.
    Just a thought, why would we be interested in "restoring" a disaster?
    Aman....

  • RMAN full DB restore on New Host

    Hi There,
    My RMAN full backup script is like this:
    RMAN> CONNECT TARGET *
    CONNECT CATALOG *
    run {
    allocate channel 'dev_0' type 'sbt_tape'
      parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=db1,OB2BARLIST=Off-site,OB2BARHOSTNAME=db1.blah.tr)';
    backup incremental level 0
      format 'Off-site<db1_%s:%t:%p>.dbf'
      cumulative
      database;
    backup
      format 'Off-site<db1_%s:%t:%p>.dbf'
      archivelog all;
    backup
      format 'Off-site<db1_%s:%t:%p>.dbf'
      current controlfile;
    EXITCan you help writing a full restore/recover script...
    Thanks
    Edited by: user642423 on Jan 24, 2009 11:11 PM

    I want to restore to a New Host and the above script will not work for me...
    Doing this procedure "http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmrecov.htm#i1007814" I get an error like this:
    PS: I've set "maxdays 30" but again same "no autobackup found or specified handle is not a valid copy or piece" error...
    channel dev_0: looking for autobackup on day: 20090125
    channel dev_0: looking for autobackup on day: 20090124
    channel dev_0: looking for autobackup on day: 20090123
    channel dev_0: looking for autobackup on day: 20090122
    channel dev_0: looking for autobackup on day: 20090121
    channel dev_0: looking for autobackup on day: 20090120
    channel dev_0: looking for autobackup on day: 20090119
    channel dev_0: no autobackup in 7 days found
    released channel: dev_0
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 01/25/2009 00:27:00
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece

Maybe you are looking for