Tablespace file to control recovery

Hi all;


I tried to recover tablespace test (it was abandoned).

I am getting error, could you get it someone please let me know where is my mistake?



rman target $ /.


Recovery Manager: Release 10.2.0.1.0 - Production Thu Jul 31 23:30:24 2014

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

connected to target database: TEST (DBID = 2152371022)

RMAN > backup the database archivelog;


From 31 July 14 backup

Current archived log

using the control file of the target instead of recovery catalog database

allocated channel: ORA_DISK_1

channel ORA_DISK_1: sid = 144 devtype = DISK

channel ORA_DISK_1: from archive newspaper backupset

channel ORA_DISK_1: specification of archive log backup set

archive log entry thread = 1 sequence 5 recid = 84 = 854407629 stamp =

archive log entry thread = 1 sequence 6 recid = 85 stamp = 854407842 =

channel ORA_DISK_1: starting piece 1 to July 31, 14

channel ORA_DISK_1: finished piece 1 to July 31, 14

piece handle=/u01/app/oracle/flash_recovery_area/TEST/backupset/2014_07_31/o1_mf_annnn_TAG20140731T233043_9xo12g1q_.bkp tag = TAG20140731T233043 comment = NONE

channel ORA_DISK_1: complete set of backups, time: 00:00:05

Backup finished in July 31, 14

From 31 July 14 backup

using channel ORA_DISK_1

channel ORA_DISK_1: from full datafile backupset

channel ORA_DISK_1: specifying datafile (s) in backupset

input datafile fno = 00001 name=/u01/app/oracle/oradata/test/system01.dbf

input datafile fno = name=/u01/app/oracle/oradata/test/undotbs01.dbf 00002

input datafile fno = name=/u01/app/oracle/oradata/test/sysaux01.dbf 00003

input datafile fno = name=/u01/app/oracle/oradata/test/users01.dbf 00004

input datafile fno = 00005 name=/u01/app/oracle/oradata/test/example01.dbf

input datafile fno = name=/u01/app/oracle/oradata/test/users02.dbf 00006

input datafile fno = name=/u01/app/oracle/oradata/test/test01.dbf 00007

channel ORA_DISK_1: starting piece 1 to July 31, 14

channel ORA_DISK_1: finished piece 1 to July 31, 14

piece handle=/u01/app/oracle/flash_recovery_area/TEST/backupset/2014_07_31/o1_mf_nnndf_TAG20140731T233049_9xo12o8d_.bkp tag = TAG20140731T233049 comment = NONE

channel ORA_DISK_1: complete set of backups, time: 00:04:52

Backup finished in July 31, 14

From 31 July 14 backup

Current archived log

using channel ORA_DISK_1

channel ORA_DISK_1: from archive newspaper backupset

channel ORA_DISK_1: specification of archive log backup set

archive log entry thread = 1 sequence 7 recid = stamp 86 = 854408142 =

channel ORA_DISK_1: starting piece 1 to July 31, 14

channel ORA_DISK_1: finished piece 1 to July 31, 14

piece handle=/u01/app/oracle/flash_recovery_area/TEST/backupset/2014_07_31/o1_mf_annnn_TAG20140731T233542_9xo1cr18_.bkp tag = TAG20140731T233542 comment = NONE

channel ORA_DISK_1: complete set of backups, time: 00:00:03

Backup finished in July 31, 14

From control file and SPFILE Autobackup 31 July 14

room handle=/u01/app/oracle/flash_recovery_area/TEST/autobackup/2014_07_31/o1_mf_s_854408145_9xo1ctdx_.bkp comment = NONE

File control finished and Autobackup SPFILE to 31 July 14


SQL > drop tablespace test whose content and data files;

Tablespace has fallen.

SQL > shutdown immediate;

The database is closed.

The database is dismounted.

ORACLE instance stops.

rman target $ /.

Recovery Manager: Release 10.2.0.1.0 - Production Thu Jul 31 23:51:11 2014

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

connected to target database: test (not mounted)

RMAN > restore controlfile autobackup.

From restoration to the 31 July 14

using the control file of the target instead of recovery catalog database

allocated channel: ORA_DISK_1

channel ORA_DISK_1: sid = 159 devtype = DISK

field of recovery destination: / u01/app/oracle/flash_recovery_area

name of database (or unique name of database) used for research: TEST

channel ORA_DISK_1: autobackup found in the recovery area

channel ORA_DISK_1: autobackup found: /u01/app/oracle/flash_recovery_area/TEST/autobackup/2014_07_31/o1_mf_s_854408794_9xo2034k_.bkp

channel ORA_DISK_1: restore full automatic backup of control file

output filename=/u01/app/oracle/oradata/test/control01.ctl

output filename=/u01/app/oracle/oradata/test/control02.ctl

output filename=/u01/app/oracle/oradata/test/control03.ctl

Restore completed 31 July 14

RMAN > sql "change the editing of the database."

SQL statement: alter the editing of the database

output channel: ORA_DISK_1

RMAN > restore controlfile to ' / u01/app/oracle/flash_recovery_area/TEST/autobackup/2014_07_31/o1_mf_s_854408145_9xo1ctdx_.bkp';

From restoration to 1 August 14

using channel ORA_DISK_1

RMAN-00571: ===========================================================

RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

RMAN-00571: ===========================================================

RMAN-03002: failure of the restore command at 01/08/2014 00:01:18

RMAN-06496: must use the TO clause when the database is mounted or open

REF_LINK: RMAN recovering a Tablespace has dropped "Oracle DBA - tips and Techniques .

Thanks in advance...

Hello

Yes my fault, I swapped the to and from clause.

Use:

Restore controlfile to ' / u01/app/oracle/my_tmp_controlfile.ctl' of ' / u01/app/oracle/flash_recovery_area/TEST/backup automatic/2014_08_02 /o1_mf_s_854500187_9xqv84gc_.bkp';

But in any case you have a few mistakes, rman cannot read the automatic backup files:

..

ORA-19870: error reading backup total /u01/app/oracle/flash_recovery_area/TEST/autobackup/2014_08_02/o1_mf_s_854500187_9xqv84gc_.bkp

ORA-19504: cannot create the file ' / usr/oracle/cntrlfile.dbf '.

ORA-27040: create file error, cannot create the file

...

Verify that the files are available as Hermant said the permission to write to the directory.

Concerning

Thomas

Tags: Database

Similar Questions

  • Failed to retrieve the tablespace point in time recovery

    Hello

    I'm trying to recover the tablespace in times of recovery point, but his throw an error

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the command recover at 27/04/2011 17:22:13
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-06026: some targets not found - abandonment of restoration
    RMAN-06024: no backup or copy of the file of control found to restore

    Question: Should I take the prior backup before making the tablespace point in time recovery.

    Please help me.

    ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired

    The resource is busy, you will have to repeat the process.

    Anand

  • increase in file size control

    Hello
    Must I increase the size of control files. I search online, but I found none?

    It's still to do.

    Thank you
    Vijay

    This is the requirement.

    We have lost a part of the archive logs on Production Db, and there is not even in the recent backup also, for this reason, the recovery of DG hit.

    So let's pick up by RMAN.
    For this we need to define control_file_record_keep_time = 7
    and my colleague suggested me to increase the size of the file also controls 20/30 MB for 7 days of data.

    HAA, it does'nt meen to increase the size of the CONTROL FILE, it means the value of control_file_record_keep_time

    sys@11GDEMO > show the parameter control_file_record_keep_time

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------

    control_file_record_keep_time integer 7

    sys@11GDEMO > alter system set control_file_record_keep_time = 30 scope = both;

    Modified system.

    sys@11GDEMO > show the parameter control_file_record_keep_time

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------

    whole control_file_record_keep_time * 30 *.

    sys@11GDEMO >

    Then, it can keep 30 days of metadata information in controlfile.

  • automatic removal of the data after DROP TABLESPACE files

    Issue of lazy junior dba. How can I order oracle to automatically delete files after removing them from the control (such as drop tablespace command) file?
    Should what technology/approach I use? Can ASM help me?

    Thnaks.

    Well well, ideally after the show

    DROP TABLESPACE INCLUDING CONTENTS AND DATA files; data corresponding to this tablespace files should get deleted automatically. Although, in my case, sometimes it is deleted automatically, but sometimes it doesn't (Windows Server).

    Comments of others will be useful.

    Kind regards
    Anand

  • Desktop Pavilion p6: opening files of backup recovery hp

    My Windows 7 Home Premium system crashed and factory reset done. All programs and files have been saved on the disk using the backup and restore of HP. System recovered and saved the recovered on the desktop files in "system recovery files the shortcut ' and they are on my disk hard 'C '.

    Question: How to open them and all restore to its original location.

    johnh48

    You should be able to get these files back following these indications: restoration of files that have been supported to the top using HP Recovery Manager (Windows 7)

    Good luck
    ========================================================================
    I'm a volunteer and I do not work for, or represent, HP.
    ---------------------------------------------------------------
    If my post helped you, please click on the Thumbs-Up symbol on my post to say thank you.
    If my posts resolved your issue please click "accept as a Solution.
    ========================================================================

  • "I get,' files for the recovery diskette can not be created ' and I can't save my PC

    When I try to back up my PC, I get "files for the recovery diskette could not be created" how to fix this?

    Hello

    This problem can occur because ASR is not supported in Windows XP Home Edition. However, users of Windows XP Home Edition can access the Recovery Wizard if they install the Ntbackup program in the Windows XP Home Edition CD-ROM Valueadd folder.

    See the steps listed in the article below and check
    An Error Message appears when you try to use the Automated System Recovery Wizard
    http://support.Microsoft.com/kb/302700

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • XP pro sp3 run asr, but didn't start; files for the recovery diskette could not be created

    I had previously asr has been successfully run on the same configuration but have decided to update the recovery data. I tried to restart the asr by clicking Start, all programs, accessories, system, backup tools. The Backup Wizard appears and I clicked on Advanced Mode. Then followed the backup utility page, I clicked on the ASR Wizard. The next page has been the preparation of Recovery Wizard, I clicked next and was presented with the option of backup destination and, after finishing the backup destination, I clicked Next. My page was last option; End of the ASR Wizard, I clicked Finish. Backup went into his usual preamble but almost instantly a warning box came up with the message "files for the recovery diskette can not be created." I am running xp pro sp3 as I had been for the creation of the previously successful GDR.

    I also tried using the Backup Wizard and I clicked on backup all information on this computer (this option automatically provides ASR) and followed the instructions of the wizard through to the end and the failure has been the same.

    I found a solution to my problem of ASR. If I was not able to create an asr backup, I was still able to run Ntbackup. I've saved my OS drive then ran repair with the XP Professional installation cd. Backup ASR works now.

    OK, I had to reinstall all them that updates the Knowledge Base Microsoft and also all the Service Packs. One or two of the plug-and-play applications were a bit annoying, but be as I have all the installation cd, other than being tedious, have all been re-installed and the system is now as good as new.

  • Factory.wim file in the recovery disc

    There is a 4 GB file on my recovery disk named factory.wim, which I cannot open.  I also get error messages stating that my recovery disk is almost full.  What is this file, it belongs there, and if not, where should I put it?  In addition, a nearly full recovery disc cause my computer to slow down?  I have a Dell Inspiron 1525 with Windows Vista Home Premium, aged for only 4 months.  Thanks for any information anyone can provide.

    Jillcee,
    Just to add to the excellent advice of Michael to keep your D: partition as it came from the factory - it is for recovery in case your system never breaks down and needs to be completely rebuilt from scratch.  To answer your question, the file named Factory.wim is the recovery file main that came on your computer and contains information necessary to rebuild your PC if necessary.  Do not delete it under any circumstances.  You can delete all the files that you have saved on the D: partition because they shouldn't be there.  You should back up your data to an external hard drive, a second hard drive internal physically separate, CD, DVD, or USB key.

    Let us know if we can be of further assistance.

    Thank you
    Gloria
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I get an error message that my memory is low, but when I go to delete files from my recovery disc it will not allow me too.

    Original title: recovery Partition

    Stays of complete recovery partition may not free up any space. I get an error message that my memory is low, but when I go to delete files from my recovery disc it will not allow me too. There are 6 total folders on my drive:

    Dell, Program files users tools and windows sources.

    The Windows folder and the program are the most important concerts of 6-7 piece. But when I try to delete them or move only to the recycling it is bin-error right and says Destination folder access denied and I need permission for this action... Any idea would be deeply appreciated. Thank you

    I apolgize if I look tense. That's the way I read your phrase... > if I try yo run an app download anything I get this error...

    I suggest that you contact the manufacturer of your computer. Ask to speak to a technician and explain to that person of the situation.

    I'm afraid that I have no idea why your recovery partition gives you message "not enough memory" If you have never touched him.

    Maybe you'd wait for people with better computer skills to help you.

    Thank you.

  • How to delete files on the recovery disk?

    I'm running out of space on my recovery disk.  I noticed that the compress and the index of the boxes are both checked.
    I would like to know what to do and how to delete files on the recovery drive.

    Thank you for your help.

    It is very unwise to delete these files, because it is your ONLY way to recover your PC in the event of catastrophic problem with the operating system that cannot be repaired by returning your PC to set up "out of the box.  In fact, most of the PC with a recovery partition you cannot save data on that partition.  If you are still determined to do the easiest to remove these data is boot safe mode with command prompt.  Set up the focus on the recovery partition and delete everything form the command line.  I'm not trying to be insulting, but if you don't know how to do that you probably shouldn't be remove your data from the recovery Partition because without falling back on you should have to be pretty savvy to reload Vista and install all the drivers on your own.  Locutys of Borg

    Resistance is futile

    If you don't succeed the first time skydiving probably isn't for you!

  • ORA-01207: file is newer than the control file - old control file

    Hello

    Please indicate why I am facing this problem:

    SQL> startup
    ORACLE instance started.
    
    
    Total System Global Area 1068937216 bytes
    Fixed Size                  2233344 bytes
    Variable Size             641731584 bytes
    Database Buffers          419430400 bytes
    Redo Buffers                5541888 bytes
    Database mounted.
    ORA-01122: database file 1 failed verification check
    ORA-01110: data file 1: '/var/oracle/oradata/system.dbf'
    ORA-01207: file is more recent than control file - old control file
    
    

    I use Oracel XE 11g on CentOS

    Thank you in anticipation

    You have restored the old control file while your data files are recent. Restore the last control file and then recover your database to open it.

  • Tablespace files distributed on the BONE edit points

    We have Oracle database 11g in our production environment on RHEL 5.x. recently, I did an import of the production scheme in our pattern of development and I started having:

    ORA-39171: job knows a wait can be resumed.

    ORA-01691: impossible to extend lob < scheme name > segment. SYS_LOB0001473121C00016$ $ by 8192 in tablespace < scheme name >

    where schema name is the name of the schema of the development.

    To resolve this issue, I added a file of data to /d01 mount point in our system while the previous files for this scheme have been stored in / U01 mount point as the/U01 was running out of space.

    My request is that it is fine if the tablespace files are spread among several mounting points on the Red Hat operating system?

    I hope that my request is clear if it is to have over several mount points in RHEL tablespace files.

    Asking for a response.

    Concerning

    Pavan Kumar says:

    Hello

    As you said its development, no matter on what mountpoint,

    This means that it is important that there was a production database.

    It does not matter at all.

    To the OP: absolutely does not matter to Oracle at all.  Oracle is very pleased to have several data files of a TS on different mount points.  You can even have files from a TS on ASM while multi-fichier other file systems mounted, and others on raw disk.  The placement of the files had nothing to do with their membership to a TS >

  • RMAN-06024: no backup or copy of the file of control found to restore

    I have installed oracle 11.2 on virtual machine and made two copy of this vm i.e vm1 and vm2

    I took the backup with rman vm1 and automatic backup of the control file.


    Now I want to restore this backup on vm2, I configured for this channel and other settings.

    running following command

    Catalogue start with "\\server3\database_backup\rman\C-3507808503-20130531-00";

    "C 3507808503-20130531-00" is the name of the control file backup.


    RESTORE CONTROLFILE;

    It gives me error

    RMAN-06496: must use the TO clause when the database is mounted or open

    can I use after a command

    RESTORE CONTROLFILE to 'C:\oracle\Administrator\oradata\slate ';

    then it gives me error
    RMAN-06024: no backup or copy of the file of control found to restore

    can someone help me how to restore the control for vm2 file

    Hello

    909855 wrote:
    I have installed oracle 11.2 on virtual machine and made two copy of this vm i.e vm1 and vm2

    I took the backup with rman vm1 and automatic backup of the control file.

    Now I want to restore this backup on vm2, I configured for this channel and other settings.

    running following command

    Catalogue start with "\\server3\database_backup\rman\C-3507808503-20130531-00";

    "C 3507808503-20130531-00" is the name of the control file backup.
    RESTORE CONTROLFILE;

    It gives me error

    RMAN-06496: must use the TO clause when the database is mounted or open

    can I use after a command

    RESTORE CONTROLFILE to 'C:\oracle\Administrator\oradata\slate ';

    then it gives me error
    RMAN-06024: no backup or copy of the file of control found to restore

    can someone help me how to restore the control for vm2 file

    Why use the network path?

    Copy all the files backup on VM2 for example C:\Backup folder and try

     set DBID ...
     restore controlfile from 'C:\Backup\C-3507808503-20130531-00';
     alter database mount;
     catalog start  with 'C:\bakup';
     restore database;
    

    If you are using same directories for databases on VM1 and VM2, not catalog must start with command.
    Because RMAN Catalog backup VM1 information in the control of catalog file repository.

    Concerning
    Mr. Mahir Quluzade

  • RMAN backs up only the files of control 2 / 3

    Hi, I noticed that my backup RMAN backs up only 2 of the 3 files controls that I've set for my database.
    Is this normal behavior for RMAN (since it does need that 2 and can actually create some of their own).
    I don't see any errors regarding the backup

    I use 11 GR 2. When I go to OEM Db control and watch the AVAILABILITY - MANAGING CURRENT BACKUPS I see 3 entries
    2 for 1 for database files and control files. Yet my database uses control files 3!

    Can someone explain this please?

    Looks like you can have just issued a BACKUP CURRENT CONTROLFILE and you also have AUTOBACKUP CONTROLFILE on IT. Which would produce two entries that are similar to what you see.

  • IKM SQL file Append-controlled fails when it is used with the Scheduler

    Hello
    We have an interface in our package where we use IKM SQL file Append-controlled. It is supposed to do an insert/truncate a local file destination. This step fails with the error 7000 run with the Scheduler. Looks like some sort of permission error.
    When the package is run manually (in the same location as the Planner), he runs this interface successfully.
    Any suggestions?
    Wwhen the IKM research, it does not say that the "target file must be physically accessible by sunopsis agent." The file is local to the server running the Scheduler; by operating manually also, it is run from the server.
    This is the error to "truncate": step
    7000: null: java.sql.SQLException: file not found: \ < filepath > / < Filename > .tsv
    java.sql.SQLException: file not found: \ < filepath > / < Filename > .tsv

    Any suggestions?
    Thank you
    Elkaïm

    Published by: 784749 on February 1st, 2011 05:47

    HI -.
    Agent ODI connection users that you have provided to the service Windows ODI. If you have not provided one that he would use the native ID (one that was created when installing the OS I think). If you have not provided any newspaper on before its best to provide to a user that has enough previlage.

    -app

Maybe you are looking for

  • The Reinstallment of iPhoto as program?

    Hi - I (by mistake... long story) deleted iPhoto on my Mac Pro laptop and wish that he back :-). I reinstalled (cleaned MacHD) so he could restart the programs with the original settings. No iPhoto. The laptop don't have our family and the programs w

  • v3141TU. could not install SP35682 on Windows XP - SP3. Audio does not

    Hi all I just installed my v3141TU with Windows XP - SP3. and I have installed all the necessary additional drivers. I also installed the Microsoft UAA Audio (SP33566) from the HP website. and it's a successful installation. problem comes when I try

  • How to read the entire signed in the Modbus IO Server 16-bit register

    HI, I'm using Labview 2011. I like read 16 bit holding register to another PC using Modbus.But option is there only to read "registry of operating as 16-bit integers from 0 to 65 535".   "But how to interpret as signed integers, as some registry valu

  • Shockwave and vista

    I recently bought a laptop with vista pre installed microsoft and to play games that I need to install adobe shockwave player what I did only to find out that vista has not started it and now I want to know how microsoft canjustify the fact that some

  • Pavilion g6-1319TX: I need recovery disks

    Hi, had problems with my laptop that works evil and all kinds of problems. I decided to re - install the software to the factory settings when I bought the laptop. I have a new set of recovery disks that I received from HP back then, and I had never