Error database backup restore.

Hello

I simply duplicate my PRODUCTION database to the TEST database (11.2.0.1 both) on windows 7.

I just create a backup of the PRODUCTION:
RMAN> backup full database format ='C:\Users\my_user\miBBDD\flash_recovery_are
a\TEST\database_%U';
and backup controlfile:
RMAN> backup current controlfile format='C:\Users\my_user\miBBDD\flash_recover
y_area\TEST\CONTROL_FILE_%U';
now I am trying to restore this backup in TEST with this script:
RMAN
CONNECT TARGET /
STARTUP NOMOUNT;
SET DBID 486238190;  #DBID of TEST database
RUN
{
  ALLOCATE CHANNEL c1 DEVICE TYPE disk format 'C:\Users\my_user\miBBDD\flash_recovery_area\TEST\DATABASE_07NHV7KD_1_1';
  RESTORE CONTROLFILE FROM 'C:\Users\my_user\miBBDD\flash_recovery_area\TEST\CONTROL_FILE_09NHV8MI_1_1'; 
  ALTER DATABASE MOUNT;
  SET NEWNAME FOR DATAFILE 'C:\USERS\my_user\MIBBDD\ORADATA\PRODUCTION\SYSTEM01.DBF' TO 'C:\USERS\my_user\MIBBDD\ORADATA\TEST\SYSTEM01.DBF'; 
  SET NEWNAME FOR DATAFILE 'C:\USERS\my_user\MIBBDD\ORADATA\PRODUCTION\SYSAUX01.DBF' TO 'C:\USERS\my_user\MIBBDD\ORADATA\TEST\SYSAUX01.DBF'; 
  SET NEWNAME FOR DATAFILE 'C:\USERS\my_user\MIBBDD\ORADATA\PRODUCTION\UNDOTBS01.DBF' TO 'C:\USERS\my_user\MIBBDD\ORADATA\TEST\UNDOTBS01.DBF'; 
  SET NEWNAME FOR DATAFILE 'C:\USERS\my_user\MIBBDD\ORADATA\PRODUCTION\USERS01.DBF' TO 'C:\USERS\my_user\MIBBDD\ORADATA\TEST\USERS01.DBF'; 
  SET NEWNAME FOR DATAFILE 'C:\USERS\my_user\MIBBDD\ORADATA\PRODUCTION\EXAMPLE01.DBF' TO 'C:\USERS\my_user\MIBBDD\ORADATA\TEST\EXAMPLE01.DBF'; 
  SET NEWNAME FOR TEMPFILE 'C:\USERS\my_user\MIBBDD\ORADATA\PRODUCTION\TEMP01.DBF' TO 'C:\USERS\my_user\MIBBDD\ORADATA\TEST\TEMP01.DBF';
  SET NEWNAME FOR TEMPFILE 'C:\USERS\my_user\MIBBDD\ORADATA\PRODUCTION\TEMP02.DBF' TO 'C:\USERS\my_user\MIBBDD\ORADATA\TEST\TEMP02.DBF';
  RESTORE DATABASE;
  RECOVER DATABASE;
  release channel c1;
}
ALTER DATABASE OPEN RESETLOGS; 
but I have a similar error when I tried to reproduce two databases (post->double error databases
fallo de la recuperaci¾n del medio fÝsico
canal liberado: c1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: fallo del comando recover en 08/06/2012 11:53:06
ORA-00283: recovery session canceled due to errors
RMAN-11003: fallo al analizar/ejecutar la sentencia SQL: alter database recover
if needed
 start until cancel using backup controlfile
ORA-00283: recovery session canceled due to errors
ORA-01110: data file 1: 'C:\USERS\my_user\MIBBDD\ORADATA\PRODUCTION\SYSTEM01.D
BF'
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: 'C:\USERS\my_user\MIBBDD\ORADATA\PRODUCTION\SYSTEM01.D
BF'
Controlfile was restored correctly. what I am doing wrong?

OK;

Not sure if it is the solution you're looking for or not. In a nutshell what I did was setup on the remote control must be a bit like the source database and did the restore using its ORACLE_SID. In addition to the DBID and control files, restore at the same place, it seems good. Here are my steps:

H2. Step 1
On the source database, a table is created and added some data

CREATE TABLE DEL_ME_LATER (
   NAME          VARCHAR2(30),
   ENTER_DATE     DATE  DEFAULT SYSDATE
);

INSERT INTO DEL_ME_LATER ( NAME) VALUES ( 'ME_101');
COMMIT;

SELECT * FROM DEL_ME_LATER;

NAME                           ENTER_DATE
------------------------------ -------------------------
ME_101                         08-AUG-12 

H2. Step 2
Source database is using backup:

$ORACLE_HOME/bin/rman target / nocatalog  << EOF

run {
allocate channel d1 type disk;
backup format '/u03/oradata/RCATALOG_rman/df_t%t_s%s_p%p' database;
sql 'alter system archive log current';
backup format '/u03/oradata/RCATALOG_rman/al_t%t_s%s_p%p' archivelog all;
backup current controlfile format '/u03/oradata/RCATALOG_rman/sb_t%t_s%s_p%p';
release channel d1;
}

This creates these files

al_t790761999_s84_p1
df_t790761919_s79_p1
df_t790761976_s80_p1
df_t790761991_s81_p1
df_t790761995_s82_p1

H2. Step 3
The source database ID is obtained

select DBID from v$DATABASE

DBID
----------------------
3754763357   

H2. Step 4
Create the folder structure on the remote server

mkdir -p /u01/oradata/RECLONE/
mkdir -p /u01/app/oracle/oradata/RECLONE/
mkdir -p /u01/app/oracle/admin/RECLONE/pfile
mkdir -p /u01/app/oracle/admin/RECLONE/adump
mkdir -p /u01/app/oracle/admin/RECLONE/dpdump
mkdir -p /u02/oradata/RECLONE/
mkdir -p /u03/oradata/RECLONE_rman
mkdir -p /u01/oradata/RCATALOG/
mkdir -p /u01/app/oracle/oradata/RCATALOG/
mkdir -p /u01/app/oracle/admin/RCATALOG/pfile
mkdir -p /u01/app/oracle/admin/RCATALOG/adump
mkdir -p /u01/app/oracle/admin/RCATALOG/dpdump
mkdir -p /u02/oradata/RCATALOG/
mkdir -p /u03/oradata/RCATALOG_rman

Note: After several tests I found the simple thing was to use RMAN restore without changing the ORACLE_SID so I created dual folders on the remote system as shown above.

H2. Step 5
SCP backup on the remote server

scp /u03/oradata/RCATALOG_rman/al_t790761999_s84_p1 192.168.0.20:/u03/oradata/RCATALOG_rman
scp /u03/oradata/RCATALOG_rman/df_t790761919_s79_p1 192.168.0.20:/u03/oradata/RCATALOG_rman
scp /u03/oradata/RCATALOG_rman/df_t790761976_s80_p1 192.168.0.20:/u03/oradata/RCATALOG_rman
scp /u03/oradata/RCATALOG_rman/df_t790761991_s81_p1 192.168.0.20:/u03/oradata/RCATALOG_rman
scp /u03/oradata/RCATALOG_rman/df_t790761995_s82_p1 192.168.0.20:/u03/oradata/RCATALOG_rman
scp /u03/oradata/RCATALOG_rman/df_t790761996_s83_p1 192.168.0.20:/u03/oradata/RCATALOG_rman
scp /u03/oradata/RCATALOG_rman/sb_t790762003_s85_p1 192.168.0.20:/u03/oradata/RCATALOG_rman

H2. Step 6
Report control scheme allows to get information about files

Report of database schema for database with db_unique_name RCATALOG

List of Permanent Datafiles
===========================
File Size(MB) Tablespace           RB segs Datafile Name
---- -------- -------------------- ------- ------------------------
1    1000     SYSTEM               ***     /u01/app/oracle/oradata/RCATALOG/system01.dbf
2    700      SYSAUX               ***     /u01/app/oracle/oradata/RCATALOG/sysaux01.dbf
3    195      UNDOTBS1             ***     /u01/app/oracle/oradata/RCATALOG/undotbs01.dbf
4    5        USERS                ***     /u01/app/oracle/oradata/RCATALOG/users01.dbf
5    200      RMANCAT              ***     /u02/oradata/RCATALOG/rman02.dbf
6    200      THINGS               ***     /u02/oradata/RCATALOG/things01.dbf
7    250      OTNDATA              ***     /u02/oradata/RCATALOG/otn01.dbf
8    20       APP_INDEX            ***     /u01/oradata/RCATALOG/app_idx01.dbf
9    450      APP_DATA             ***     /u01/oradata/RCATALOG/app_dat01.dbf
10   100      AUDIT_AUX            ***     /u01/app/oracle/oradata/RCATALOG/audit_aux01.dbf

List of Temporary Files
=======================
File Size(MB) Tablespace           Maxsize(MB) Tempfile Name
---- -------- -------------------- ----------- --------------------
1    67       TEMP                 32767       /u01/app/oracle/oradata/RCATALOG/temp01.dbf

H2. Step 7

Skipped after testing - was create INIT file

H2. Step 8
Move the spfile and rcatalog password file and archive current (today until backup) on the new server.

/u01/app/oracle/oradata/RCATALOG/archive/ARC0000000111_0717990814.0001
/u01/app/oracle/oradata/RCATALOG/archive/ARC0000000112_0717990814.0001

/u01/app/oracle/product/11.2.0.2/dbs/orapwRCATALOG
/u01/app/oracle/product/11.2.0.2/dbs/spfileRCATALOG.ora

H2. Step 9
Listener and tnsname changes on the remote server. None.

Not used on remote for copy

H2. Step 10
I used a Linux script to restore

restore_test.sh

echo "Starting RMAN..."
$ORACLE_HOME/bin/rman  << EOF

CONNECT TARGET /
STARTUP NOMOUNT;
SET DBID 3754763357;  #DBID of PROD database

RUN
 {
   ALLOCATE CHANNEL c1 DEVICE TYPE disk format '/u03/oradata/RCATALOG_rman';
   RESTORE CONTROLFILE FROM '/u03/oradata/RCATALOG_rman/sb_t790762003_s85_p1';
   ALTER DATABASE MOUNT;
   SET NEWNAME FOR DATAFILE 1 TO '/u01/app/oracle/oradata/RECLONE/system01.dbf';
   SET NEWNAME FOR DATAFILE 2 TO ' /u01/app/oracle/oradata/RCATALOG/sysaux01.dbf';
   SET NEWNAME FOR DATAFILE 3 TO '/u01/app/oracle/oradata/RECLONE/undotbs01.dbf';
   SET NEWNAME FOR DATAFILE 4 TO '/u01/app/oracle/oradata/RECLONE/users01.dbf';
   SET NEWNAME FOR DATAFILE 5 TO '/u02/oradata/RECLONE/rman02.dbf';
   SET NEWNAME FOR DATAFILE 6 TO '/u02/oradata/RECLONE/things01.dbf';
   SET NEWNAME FOR DATAFILE 7 TO '/u02/oradata/RECLONE/otn01.dbf';
   SET NEWNAME FOR DATAFILE 8 TO '/u01/oradata/RECLONE/app_idx01.dbf';
   SET NEWNAME FOR DATAFILE 9 TO '/u01/oradata/RECLONE/app_dat01.dbf';
   SET NEWNAME FOR DATAFILE 10 TO '/u01/app/oracle/oradata/RECLONE/audit_aux01.dbf';
  SET NEWNAME FOR TEMPFILE 1 TO '/u01/app/oracle/oradata/RECLONE/temp01.dbf';
   RESTORE DATABASE;
   SWITCH DATAFILE ALL;
   RECOVER DATABASE;
   release channel c1;
 }
ALTER DATABASE OPEN RESETLOGS; 

exit
EOF

H2. Summary

Barks a little

unable to find archived log
archived log thread=1 sequence=113
released channel: c1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 08/08/2012 19:04:40
RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 113 and starting SCN of 1948130

RMAN>
database opened

But no log 113 exists.

H2. Test

Connected.
SQL> SELECT * FROM DEL_ME_LATER;

NAME                           ENTER_DAT
------------------------------ ---------
ME_101                         08-AUG-12

SQL>

H2. Final script

echo "Starting RMAN..."
$ORACLE_HOME/bin/rman  << EOF

CONNECT TARGET /
STARTUP NOMOUNT;
SET DBID 3754763357;  #DBID of PROD database

RUN
 {
   ALLOCATE CHANNEL c1 DEVICE TYPE disk format '/u03/oradata/RCATALOG_rman';
   RESTORE CONTROLFILE FROM '/u03/oradata/RCATALOG_rman/sb_t790762003_s85_p1';
   ALTER DATABASE MOUNT;
   SET NEWNAME FOR DATAFILE 1 TO '/u01/app/oracle/oradata/RECLONE/system01.dbf';
   SET NEWNAME FOR DATAFILE 2 TO '/u01/app/oracle/oradata/RECLONE/sysaux01.dbf';
   SET NEWNAME FOR DATAFILE 3 TO '/u01/app/oracle/oradata/RECLONE/undotbs01.dbf';
   SET NEWNAME FOR DATAFILE 4 TO '/u01/app/oracle/oradata/RECLONE/users01.dbf';
   SET NEWNAME FOR DATAFILE 5 TO '/u02/oradata/RECLONE/rman02.dbf';
   SET NEWNAME FOR DATAFILE 6 TO '/u02/oradata/RECLONE/things01.dbf';
   SET NEWNAME FOR DATAFILE 7 TO '/u02/oradata/RECLONE/otn01.dbf';
   SET NEWNAME FOR DATAFILE 8 TO '/u01/oradata/RECLONE/app_idx01.dbf';
   SET NEWNAME FOR DATAFILE 9 TO '/u01/oradata/RECLONE/app_dat01.dbf';
   SET NEWNAME FOR DATAFILE 10 TO '/u01/app/oracle/oradata/RECLONE/audit_aux01.dbf';
   SET NEWNAME FOR TEMPFILE '/u01/app/oracle/oradata/RCATALOG/temp01.dbf' TO '/u01/app/oracle/oradata/RECLONE/temp01.dbf';
   SQL "ALTER DATABASE RENAME FILE ''/u01/app/oracle/oradata/RCATALOG/redo01.log'' TO ''/u01/app/oracle/oradata/RECLONE/redo01.log'' ";
   SQL "ALTER DATABASE RENAME FILE ''/u01/app/oracle/oradata/RCATALOG/redo01A.log'' TO ''/u01/app/oracle/oradata/RECLONE/redo01A.log'' ";
   SQL "ALTER DATABASE RENAME FILE ''/u01/app/oracle/oradata/RCATALOG/redo02.log'' TO ''/u01/app/oracle/oradata/RECLONE/redo02.log'' ";
   SQL "ALTER DATABASE RENAME FILE ''/u01/app/oracle/oradata/RCATALOG/redo02A.log'' TO ''/u01/app/oracle/oradata/RECLONE/redo02A.log'' ";
   SQL "ALTER DATABASE RENAME FILE ''/u01/app/oracle/oradata/RCATALOG/redo03.log'' TO ''/u01/app/oracle/oradata/RECLONE/redo03.log'' ";
   SQL "ALTER DATABASE RENAME FILE ''/u01/app/oracle/oradata/RCATALOG/redo03A.log'' TO ''/u01/app/oracle/oradata/RECLONE/redo03A.log'' ";

   RESTORE DATABASE;
   SWITCH DATAFILE ALL;
   SWITCH TEMPFILE ALL;
   RECOVER DATABASE;
   release channel c1;
 }
ALTER DATABASE OPEN RESETLOGS; 

exit
EOF

Best regards

mseberg

Tags: Database

Similar Questions

  • Need help with Oracle Database Backup &amp; Restore Cold

    Environment:

    Oracle Version: 11.2.0.4

    Platform: AIX

    A few weeks ago, I had updated my Oracle 10.2.0.1 to 11.2.0.4 database. The customer changed his mind and now I downgrade to 10.2.0.1. Unfortunately, the compatibility setting is set to 11.2.0.4. So I can't use the lower upgrade scripts.

    I had taken a cold backup of the database before the upgrade. Unfortunately, I missed save logs for recovery.

    Is there a way I can always downgrade / recovery 10.2.0.1 with cold back? or is it simply not possible without the backup of redo logs.

    Thanks in advance.

    rogers42

    I had taken a cold backup of the database before the upgrade. Unfortunately, I missed save logs for recovery.

    And what do YOU mean by "had taken a cold backup"?

    Because in addition to what John said, you also need the correct initialization file.

    Do you have a return of this init file which was taken at the same time as the backup?

    I had updated my Oracle 10.2.0.1 to 11.2.0.4 database.

    I suggest that you first reinstall the 10.2.0.1 version or Oracle before recovering your cold backup.

    You must use the EXACT name of the folder structure and file that have been used originally.

    See my response in this thread a few years ago:

    Re: Restore incompatible cold backup

    You will be able to simplify this process, some given that your backup is consistent, but the steps should help you to understand what to do.

    One of my answers in THIS thread has real details for each of the steps in the other thread

    https://community.oracle.com/message/10132328?

  • How to cancel the task obsolete in these latest vmware tasks? error in backup/restore data VMware to protect 5.5.6

    When I run the application for protection of virtual machine data vmware backup fails and the job is running.

    manually cancel the task but still appears in recent work.

    can I cancel and delete the task?

    Hello

    Simply restart the vmware VC mgmt service which will kill all running tasks.

    If you found this answer useful, please consider the use of relatively useful or Correct buttons assign points

  • Get the error ora-01113 opening database after restore

    Hi all

    We have a test database. I lost my entire database including DBFs, newspaper Archives, controlfiles, redo log files.
    But I have a hot copy of the lost database backup.
    I tried to recover the database using the backup copy

    I have restored my control files and all the dbfs and then when I tried to recover the database, I received the following message

    RMAN-00571: =.
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =
    RMAN-00571: =.
    RMAN-03002: failure of the command recover at 2005-04-01 14:14:43
    RMAN-06054: recovery of media asking unknown journal: thread 1 Yvert 32230460

    still I tried to open the database resetlogs, but I was following eror
    RMAN > alter database open resetlogs:

    ORA-01113: file 5 needs media recovery
    ORA-01110: data file 5: C:\DB11\ORADATA\DB11\system01.dbf

    I don't have the recovery logs and the archivelogs. Can someone help me how to open the database

    Thanks and greetings

    VINCENT

    First step: make sure that you have a safe backup of what you use at the moment.

    Because it is a test database and that you have a safe backup and you are certain that you do not have the available archived recovery logs to apply for restoration and (latter) canceling immediately doesn't allow however not the database open (maybe you might have been fortunate regarding the SNA/point in time consistency ), then:

    Use the allowresetlogs_corruption hidden parameter (pretty sure he is one, can come back and edit this later to confirm), take an export and import the data into a new version of the database.

    allowread_only_corruption is another, but the resetlogs should do the trick

    Published by: stevencallan on April 9, 2009 11:00

  • Help blackBerry Smartphones! Database backup error

    I can't back up my BB, I get the error code "Unable to save databases".  I've identified the problem as the "browser cache" database backup of databases individually in the advanced options.

    I deleted my browser cache and clean up the memory, but whenever I try to save my camera it gets so far and stops with the error message "cannot save data bases.

    Help please.

    Got a better solution that I found myself!

    If you CAN identify the problem database, and then follow the instructions in the first step of this link.  When you get to the part 4 of this, you must select the problem database and click clear.

    http://www.BlackBerry.com/BTSC/microsites/search.do?cmd=displayKC&docType=kc&externalId=KB10167&SLIC...

    Hey Presto!

    This way you don't have to wipe your entire device!

  • Backup/restore of errors Windows 8 feature is not available in a portable workstation environment

    I get the following error message when you try to disable the calendar jobs '

    Backup/restore of errors Windows 8 feature is not available in a portable workstation environment

    I'm on a desktop computer,

    Thank you James. This procedure has helped and I can see the option to backup again to 8/7 of window control center. What I did wrong in the first place was canceled the backup on an external disk, formatted the disc one plugged a new drive. Then, I was not able to click on the link "Backup." Its now fixed. Is some other problem with the problem of recognition of backup or drive window, try this procedure by Michael below.

    Follow these steps to remove the value of register Windows To Go:

    • Open regedit.exe
    • Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
    • Delete this value: PortableOperatingSystem

    You'll probably notice that the problem reappears when you connect a USB drive in the PC. Subsequent removal of this drive will cause the PC to crash. This occurs because the unique identifiers of the USB drive and the internal HARD disk are the same. To resolve this problem, the simplest method is to "clean" the disc. A cleaning will destroy all data on the disk, so backup first.

    1. Open diskpart.exe
    2. Type "list disk" to determine the number of disk to the USB drive.
    3. Type "select disk #", where # is the number of disk you determined.
    4. Type "own."
    5. Type "exit".

    Restart your PC. You can use diskmgmt.msc and diskpart.exe to repartition your drive USB to use it normally.

  • The database recovery/restore failed with unexpected error 509

    Hello

    The database recovery/restore failed with unexpected error 509

    In the Event Viewer, I had this error SEVERAL times every second.  He goes absolutely crazy.

    I don't know what to do with it.

    I'm with Windows 8 Pro running on a very stable computer with 8gig of ram, plenty of hard drive space.  Each single drivers updated Windows Update.  Everything is really clean except this error in Event Viewer

    Svchost SRUJet (1624): database recovery/restore failed with unexpected-509 error.

    Task category: registration/recovery

    Esentutl /p /r tried / everything but nothing wrong was found with those

    Thanks for any help.

    Exactly the same problem, nothing Microsoft recommended was the cause, scannow and DISM commands are returned without error.

    So I went to the event viewer and scrolled down to find, when these errors began to occur. So I found a few entries initially saying things like: an attempt to move the file 'C:\Users\xxxxx\AppData\Local\TileDataLayer\Database\EDB.log' to 'C:\Users\xxxxxxxx\AppData\Local\TileDataLayer\Database\EDB00008.log' failed indicating system 183 (0x000000b7) error: "cannot create a file when that file already exists.

    Then, I went to C:\Users\xxxxx\AppData\Local\TileDataLayer\Database\ and removed the files listed (e.g., EDB00008.log).

    Bingo, the errors will stop immediately.

  • Cold DB RMAN backup &amp; restore on the other server: best procedure?

    Hello

    A few days ago I did a cold backup of the GR 2 CARS DB 11 with the following commands:

    srvctl stop database d DBPOC

    RMAN target / < < EOF

    bootable media;

    run

    {

    assign the channel c1 type disc format ' / tmp/dump/coldBkp/%T_%d_DBID%I_s%s_p%p.bkp';

    backup of database TAG 'BKPCOLDDBPOCC' keep until 'sysdate + 1000';

    backup current controlfile TAG 'BKPCOLDDBPOC_CTL' keep until 'sysdate + 1000';

    backup spfile TAG 'BKPCOLDDBPOC_SPF' keep until 'sysdate + 1000';

    output channel c1;

    }

    SHUTDOWN IMMEDIATE;

    quit smoking;

    FO %

    srvctl start database-d DBPOC

    srvctl start service d DBPOC

    Then noticing that I need a copy of controlfile I also did:

    backup current controlfile copy format in ' / opt/dump/oracle/coldBkp/currentctlfile.ctl';

    He made a set of files in the file/tmp/dump/coldBkp system that I copied to another server, resembling:

    20130912_DBPOC_DBID23987234897_s371_p1.BKP... plus my currentctlfile.ctl.

    I copied everything on another machine in/tmp/rest, where the same structure of fs and ASM

    starts existed; then run the following commands to restore this DB on

    This new server:

    1 / set some env variables

    2 / cp initDBPOC.ora /opt/oracle/app/ora11g/product/11.2.0/db_1/dbs

    3 / sqlplus: Startup nomount pfile=/opt/oracle/app/ora11g/product/11.2.0/db_1/dbs/initDBPOC.ora

    4 / rman: restoring controlfile to ' / location/of/coldbackup/files/currentctlfile.ctl';

    5 / rman: sql 'alter database mount;

    6 / rman: catalogue start with "/ location/of/coldbackup/files";

    [Type here YES]

    7 / rman: restore the database;

    8 / sqlplus: recover database using backup controlfile until CANCEL;

    [immediately cancelled the first required archive log]

    9 / sqlplus: alter database open resetlogs;

    The procedure has worked.

    But I'm not happy with this, I thought I could have done with RMAN. However, I discovered

    e.g. a CONTROLFILE RECOVER with the HELP of BACKUP is not possible with RMAN etc etc.

    and I had to swith back to sqlplus, surprisingly.

    Am I missing orders RMAN should I used? Y at - it another way - more simple? -of

    perform this restore/recovery simple thanks to the RMAN utility only? Or is my error in backup

    the first place and I should have used other commands for backup?

    Thank you very much in advance for any advice you can give me...

    Kind regards

    Sébastien

    Hello

    You can use

    RMAN > RECOVER DATABASE;

    and for the time being, you can use

    Set until clause with TIME/SCN/restore point

    HTH

  • AFTER dbid chanaged rman backup restore

    Hi all:

    I'm on 10.2.0.3.

    I need to do a restore from a tape that contains my RMAN backup (in a different database). The backup is in 2 weeks and I use redundancy 1, so I have to re-catalogue my backup items.

    All this is perfect until now, but there's a complication. DBID was changed on this database AFTER the backup was made, so the catalog command is get rejected:

    RMAN > Catalogue backuppiece ' / db/backup/HMTRN/25 Jul 09/c-3431719427-20090723-00 ";"

    ORA-19870: error reading backup total/db/backup/HMTRN/25 Jul 09/c-3431719427-20090723-00
    ORA-19691: / db/backup/HMTRN/25 Jul 09/c-3431719427-20090723-00 is different data base: id = 3431719427, name = HMTRN.

    Someone has an idea?

    Reset original database in a privious incarnation would work?

    Dear I don't see any of them:

    RMAN > list incarnation of database;


    RMAN > list incarnation;


    RMAN > exir

    Thanks in advance!

    Before you start the backuppieces of cataloging, you must restore the controlfile that correspond to this backup (with the correct DBID). CATALOGUE update the controlfile as well.

    Then

    STARTUP NOMOUNT
    RESTORE CONTROLFILE FROM '... location ';
    ALTER DATABASE MOUNT
    CATALOGUE...

  • Source:-elxcna (adapter Emulax CNA) event ID:-129 error:-\Device\RaidPort1, restore the device, has been published.

    Hi all

    Source:-elxcna (adapter Emulax CNA)
    Event ID:-129
    Error:-\Device\RaidPort1, restore the device, has been published.
    Server:-Server Rack, Windows 2008 R2
    Installed application:-installed Backup tool and IBM tape library connected by Cisco nexus switch

    Summary:-each time the backup tool initiating any SCSI command etc. for library of tapes, just after a few minutes in the event log, server shows "restore the device, \Device\RaidPort1, has been issued." and the tape library configured in backup tool disconnected from the physical tape library.

    Up to now steps below was taken but no luck:
    1. test Unit Ready has been disabled in the registry
    2 adapter ANC, fresh of zoning has been replaced.
    3 firmware and driver from the adapter of the ANC has been updated.
    4. timeout was defined according to the guidelines of this document:- http://blogs.msdn.com/b/ntdebugging/archive/2011/05/06/understanding-storage-timeouts-and-event-129-errors.aspx

    Comment:-26 fev 12:00 Am, I put to tape library firmware update and then we got
    This 129 February 26 event id error 03:00.

    Need help? :)

    Hi SabarnaDeb,

    Thanks for posting your query in the Microsoft Community Forums.

    As the question is limited to Rack in Windows 2008 server, it is better suited for the IT Pro TechNet public. Please ask your question in the Forum on TechNet Support.

    http://social.technet.Microsoft.com/forums/en/category/WindowsServer

    I hope it helps. If you have any questions about Windows in the future, please let us know. We will be happy to help you.

  • How you can substitute a password on Money 2002 error after you restore from money more

    I've upgraded to Money Plus, so that I can convert the Quicken data and now want to restore Money 2002. I got more money and installed money 2002 and restored from a backup Money 2002 and am getting an error "the password entered is incorrect. How can I work around this error I can restore Money 2002? I use Windows XP

    Hello
     
    Your problem is related to Microsoft Money and would be better suited in the Microsoft Money forum. I would like you to post your question in the forum that supports your problem.
     
  • Backup/restore fails on Vista

    I would use a bigger for my Vista laptop, but corrupt disk Windows Mail Backup/restore, and services such as Windows Update do not work.

    What should I do?  Is this a form of copy protection?

    Thank you

    Markus

    Hello Huaraz,

    This thread is currently in the forum system repair and recovery in Windows Vista and I move it onperformance and Maintenance of Windows Vistaforum.

    I am committed to this forum because they have a better knowledge base for this scenario.

    Is this greater disk and the only one that have made us or are there other larger readers as well?

    In the affirmative. then, it might be something with the drive.

    We might want to run chkdsk on it:

    1. Press the Windows key and press R.
    2. Type CMD.
    3. Right click on CMD. EXE EXE in the search box, and then select run as administrator.
    4. At the command prompt, type the following command and press ENTER:

      CHKDSK : / f

      where = the drive letter for the plu player.

    5. Type EXIT and press ENTER.

    Let us know if it detects errors.

    Best regards

    Matthew_Ha

  • ACS 5.5 (3495) Backup / restore

    Problems with backup & restore on ACS 5.5 running on the platform 3495.

    Incremental backups are scheduled every day at 02:00.  Full backup will be held each week at 06:00.  Scrub data is scheduled for 04:00 (by the system - cannot change this value).

    Log Collector crashed a few times when a full backup is attempted (manual or automated).

    TAC a move us the database file in a repository and then clean the database.  After the own incremental backups running sometimes at 02:00 as expected, then at 06:00.  No idea why.

    The job of purging of data failed.  I don't think that it is running more.

    Failure of the incremental backup at 06:00 yesterday (21/01/15) because "another backup or restore was already underway".  Incremental backup was not supposed to operate at 06:00.  Apparently, this caused the system turn 'off' scheduled backups, so now the backups are not running at all.

    Everyone knows these issues?  Y at - it a known solution?

    I have a similar problem where scheduled backups suddenly stop working and I login to find the incremental backup is off and no one has turned it off.  5.5.0.46.7 and happened in older versions... you got an answer to this?

  • SPFile automatic backup restoration

    Hello

    I tried to restore a spfile from automatic backup - using the rman catalog.

    The database is down, I restarted forcefully startup nomount and set the database id.
    Autobackup controlfile and spfile are defined, too.

    When I published "spfile automatic backup restoration" the restored failed, because no valid backup piece has been found.

    The command restore spfile to autobackup db_recovery_file_dest = db_name "/ u03/data/DB01/flash" = "DB01"; did the trick.

    In my mind it's a bit strange. Yes, this is not the default value for flashback_area.  But I expect that the opportunity db_recovery_file_dest (under backuppath) are stored in the recovery catalog.

    This behavior is normal? or "user of a stupid mistake?

    Concerning

    Christian

    If you use the command in RMAN catalog below should work.

    RMAN target / catalog user/pass@rcvcat

    RMAN >

    Set the DBID =;

    startup nomount force;

    restoring automatic backup SPFile;

    stop immediately;

    Run {}

    until time to_date (timestamp,)

    startup nomount

    Restore controlfile;

    bootable media;

    restore the database;

    recover the database;

    }

  • cannot run script change controlfile database backup

    Hai all,

    can u help me about this error,

    I can't run alter database backup controlfile script:

    SQL > alter database backup controlfile to trace;

    ALTER database backup controlfile to trace

    *

    ERROR on line 1:

    ORA-01187: cannot read the file 514 because she has no verification tests

    ORA-01110: data file 514: ' / u01/TESTDEV/testdevdata/tmp1.dbf'

    SQL >

    Thank you

    Hello

    If the above statement is blocked, try acting below.

    SQL> alter tablespace temp drop tempfile '/u01/TESTDEV/testdevdata/tmp1.dbf';
    

    Please make sure that you have created a tempfile more before performing this command as tablespace temp needs at a minimum a file.

    Otherwise, you can try as suggested by BalazsBerki.

    Thank you!!

Maybe you are looking for