After Piecemeal Primary FileGroup Restoration, Database Property Window Shows other FileGroups also

Hi,
I have a SQL Server 2008 database with 90 Gigs of Capacity.
The database consists of a huge table with 80 Gigs of Capacity and these entire 80 Gigs of data is Static in nature.
We need the to restore the backup of this database frequently in to the Development environment, so we moved this static data into a Secondary File Group.
Now, the database Consists of 2 Filegroups : Primary & Secondary_fg.
The entire Static table is moved to the Secondary FileGroup.
We have taken the backup of Primary FileGroup using the following Backup Command :
Backup Database MYDB FILEGROUP = 'PRIMARY' to disk = 'E:\SQLBackup\MYDB_Primary_FG_Only.bak'
WITH NOFORMAT, NOINIT, NAME = N'MYDB - Full Filegroup backup', SKIP, NOREWIND, NOUNLOAD
The backup went file with the expected capacity of 10 Gigs.
I have restored this backup in to a New Database : MYDB_PRIMARY_ONLY using the following command
RESTORE DATABASE [MYDB_PRIMARY_ONLY] FILE = 'MYDB_DATA', FILEGROUP = 'PRIMARY'
FROM DISK = 'E:\SQLBackup\MYDB_Primary_FG_Only.bak',
WITH FILE=1,
MOVE 'MYDB_DATA' TO 'E:\SQLDATA\MYDB_PRIMARY_ONLY_DATA.mdf',
MOVE 'MYDB_LOG' TO 'E:\SQLDATA\MYDB_PRIMARY_ONLY_LOG.ldf', NOUNLOAD, PARTIAL
GO
The Restoration also went fine and the size of the Newly Restored Database : "MYDB_PRIMARY_ONLY" is with 10 Gigs in Capacity.
But, the gotcha here is whilst checking the Database Properties of this Newly restored database, on the FILES & FILEGROUPS tab, the files & filegroups related to the SECONDARY FILEGROUP is also showing.
MY ACTUAL QUESTION :
On the PRIMARY FILEGROUP ONLY RESTORATION HOW THIS SECONDARY FILEGROUP IS COMING INTO PICTURE ?
MOREOVER, WHEN I TRIED TO REMOVE THE SECONDARY FILEGROUP AND IT'S RESPECTIVE DATA FILE IT THROUGH THE FOLLOWING ERROR :
COMMAND USED TO REMOVED THE FILE & FILEGROUP :
USE [MYDB_PRIMARY_ONLY]
GO
ALTER DATABASE [MYDB_PRIMARY_ONLY]  REMOVE FILE [SECONDARY_DATA_FILE.ndf]
GO
ALTER DATABASE [MYDB_PRIMARY_ONLY] REMOVE FILEGROUP [SECONDARY_FG]
GO
Error :
Msg 5056, Level 16, State 2, Line 1
Cannot add, remove, or modify a file in filegroup 'SECONDARY_FG' because the filegroup is not online.
Can anyone explain why such this error message ? Thanks in advance for any guidance in this regard.

On the PRIMARY FILEGROUP ONLY RESTORATION HOW THIS SECONDARY FILEGROUP IS COMING INTO PICTURE ?
When you restore only the primary filegroup, all database meta data is restored, including references to the filegroups and files not yet restored.  Filegroups/files not restored will be recovery pending state and data on those filegroups will be inaccessible. 
Removing the filegroup will change the status to defunct but the meta data will remain.  You'll need to copy the restored objects and data to a new clean database if you want to tidy up.
Dan Guzman, SQL Server MVP, http://www.dbdelta.com

Similar Messages

  • Dc power converter or bad battery?primary (internal) battery (error 601)windows shows battery at

    dc power converter or bad battery?
    primary (internal) battery (error 601)
    windows shows battery at 100%
    laptop will not boot off battery, will boot only on ac but with battery installed shows error 601
    HP eliteBook 6930
    no spare battery
    This question was solved.
    View Solution.

    althefirst wrote:
    dc power converter or bad battery?
    primary (internal) battery (error 601)
    windows shows battery at 100%
    laptop will not boot off battery, will boot only on ac but with battery installed shows error 601
    HP eliteBook 6930
    no spare battery
    This error is a little confusing.  At first glance it appears to refer to the CMOS/RTC battery but does infact refer to the main battery for the notebook.  Even though the computer states that the battery is at 100% it would be a good idea to begin by verifying that it is in working condition.  I think this is a good first step because while it does show 100% charge, you state the notebook does not work unless it is on AC power.  This document discusses the issue further. 
    As stated in the document the HP Battery Check will need to be run in order to determine if the battery is faulty. 
    To perform the battery check perform the following steps and post the result.
    Unplug the power cord and turn off the computer.
    Press the power button to turn on the computer.
    Press the Esc key immediately when seeing the HP or the Compaq logo screen.
    The Start Up menu appears.
    Press F2 to select F2 System Diagnostics .
    Select Battery Test from the list of diagnostic tests.
    Plug in the power cord.
    Click Start Battery Test on the Battery Test page.
    If your battery fails this test it will need to be replaced.  To get a replacement battery you will need to contact HP Technical Support.  If you are in the US/Canada you can call them at 1-800-474-6836.  If you are located outside of this region you will need to go to HP's support site and after selecting your country/region locate "Customer Support" in the bottom right corner to get the contact information for your region.
    I hope this helps!
    Please click the white star under my name to give me Kudos as a way to say "Thanks!"
    Click the "Accept as Solution" button if I resolve your issue.

  • RESTORE DATABASE IN WINDOWS MSSQL-2005

    Hi
    We have installed a new sap ecc 6.0 on windows ms-sql2005.
    After installing a new system we have tried restoring the data base of the existing system.
    we were having few issues but after applying the sapnote : 1294762. executing the script mentioned in the note we are able to start our sap successfully.
    Did i miss any of the steps i need to perform after restoring the data.
    Do i need to update the database to replace the existing database after restore.
    please help
    Thanks!
    Vardhan.

    HI
    Sorry i haven't explained you the process how i restored my database.
    1. i have installed a new sap system with same sid and dbsid of  existing system.
    2.i have detached the database of the newly installed system.
    3. i have attached the database of the existing system which i planned to restored the database.
    4.then applied the sap note1294762 to start    sap.
    every thing is fine till now.
    now the problem is i am unable to login to system using sapgui. " unable to login to system (error in license check)".
    when i try to install a sap-license i get the following error
    C:\usr\sap\DE1\SYS\exe\uc\NTI386>saplicense -install
    SAPLICENSE (Release 700) ERROR ***
    ERROR: Can not set DbSl trace function
    DETAILS: DbSlControl(DBSL_CMD_IMP_FUNS_SET) failed with return code 20
    RC-INFO: error loading dynamic db-library - check environment for:
    dbms_type = <db-type> (e.g. ora)
    DIR_LIBRARY = <path to db-dll> (e.g. /usr/sap/SID/SYS/exe/run
    But when i say saplicence -show i get the following error
    This application has failed to start because libSQLDBC76.dll was not found. Re-installing the application may fix this problem
    please need help.
    Regards
    Vardhan.

  • Restore Database to Windows

    Hi all,
    I have cold backup from Oracle 10.2.0.1 Solaris[tm] OE (64-bit) on Unix and now they have moved to oracle 10.2.0.4 on windows 2003 64 bit
    How can i restore full database from cold backup to windows server? Please guide
    I am totally new to Oracle DBA duties.
    thanks
    Pat
    Edited by: user648612 on Aug 13, 2009 10:26 AM
    Edited by: user648612 on Aug 13, 2009 10:34 AM

    If you can restore cold backup to the unix box, then restore the backup and recover/open the database. You can then transport the database/tablespace to windows using
    [RMAN Cross-Platform Transportable Databases and Tablespaces|http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/dbxptrn.htm#CHDFHBFI]
    Or
    Restore the backup and recover/open the database in unix. Use Export/import or datapump export/datapump import to transfer data to windows.
    Anantha

  • Restore database from windows to linux

    Hi,
    I want to restore my Oralce in windows to another Linux box,
    my windows is windows 2003 R2 64bit, Oracle 11.2.0.2
    and my Linux is Oracle Linux 5.5, Oracle 11.2.0.3,
    I managed to create an instance in the linux box, restore the controlfile and datafile and catalog the archivelogs,
    but when I do recovery, below errors prompt
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 07/06/2012 14:54:44
    RMAN-11003: failure during parse/execution of SQL statement: alter database recover logfile '/cloudfs/archivelog/O1_MF_1_26954_7Z9K3WC0_.ARC'
    ORA-10562: Error occurred while applying redo to data block (file# 6, block# 669493)
    ORA-10564: tablespace TEST
    ORA-01110: data file 6: '+DATA/ofs5/datafile/test.264.787934051'
    ORA-10561: block type 'TRANSACTION MANAGED INDEX BLOCK', data object# 91719
    ORA-00600: internal error code, arguments: [ktbair2_0], [2239], [3712], [], [], [], [], [], [], [], [], []
    is that mean it is not possible to restore the db from one platform to another?
    (I read some oralce note that it is possible to setup datagurad between window and linux)
    Thank
    Vincent

    Vincent;
    is that mean it is not possible to restore the db from one platform to another?It's possible, but there's quite a lot of planning that needed to be done.
    The Database Backup and Recovery User's Guide should have a section on Transporting Data Across Platforms.
    http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmxplat.htm
    You need to use dbms_tdb.check_db to test if it can be done with the OS's you have in mind.
    There's a fairly good example here, but not using the exact OS's you have in mind.
    http://mohamedazar.com/2011/06/08/transport-an-entire-database-to-a-different-platform/
    My understanding is it won't transport certain items :
    Control files and Redo logs
    Bfiles
    Temp files
    External tables
    Directories
    Password files
    Also you need to create a new instance before you can use RMAN backups from the source.
    Here's another example :
    https://blogs.oracle.com/AlejandroVargas/entry/database_migration_from_window
    Best Regards
    mseberg

  • After viewing a site with a flash window in it, the next site shows a blank rectangle where the flash window of the previous site was. This persists through all subsequent sites. How can I eliminate this flash window persistence?

    using the latest Firefox Beta, after opening Shambhala.org site, the flash window shows up as a blank rectangle on subsequent sites. I am using Mac OSX 10.6 Snow Leopard. The only way I can get rid of the blank rectangle is to restart Firefox.

    That sounds like a known problem on OS X. From the known issues section of the [http://www.mozilla.com/en-US/firefox/4.0b5/releasenotes/ Firefox 4 Beta 5 Release Notes]
    "Plugin content can be rendered incorrectly leaving blank white squares over web content. Scrolling or switching tabs will often fix the problem, although sometimes you must close the tab which contains that plugin content (see [https://bugzilla.mozilla.org/show_bug.cgi?id=592453 bug 592453])"
    This should be fixed in the next beta.

  • Standby database(11g) was still in sync after stopping the primary and standby database listener.

    Hello !!!
    I have noticed that my standby database(11g) was still in sync after stopping the primary and standby database listener.
    If this is the case then how log is transferring from primary to standby ? it is not using listener service ? kindly clarify

    Read this Metalink Note:407040.1

  • Faulty Windows after 'successful' System Image restore to new hard drive.

    This question posted as ' Cut down Win 7 after System Image restore to new HDD'  in the community but no satisfactory answer.  Please may I ask here.
    Win reported a successful System Image creation of C: on my E: drive.  C was replaced with a new 2TB drive (previously 1.5Tb) and the image restored.  Win reported 'successful' restoration of C: immediately followed by the common 'You must restart
    your computer to apply these changes...' which I assumed was just Win taking note of the new drive.
    On running, everything seems fine at first but you start to notice faults.  Most importantly Win doesn't seem to recognise itself.  If you start some of the functions in control panel (eg System Manager) you get a message from User Account
    Control  'Do you want to allow the following program from an unknown publisher to make changes to this computer?'.
    Windows Live Mail won't work.  You get a message 'Windows Live Mail could not be started.  Closing Windows Live Mail.  Your calendar contains corrupt data that is forcing Windows Live Mail to close (0x8E5E0247).'  I have never used the
    calendar function so there shouldn't be any data there.
    Browsing history in IE is there on very first opening but is immediately lost and never recovered.  Favourites are intact but all login details are lost.  All your internet feeds are lost.  Message 'The feed download was interrupted.....' 
    Trying to create new feeds is unsuccessful.     When you try and download something the usual IE message 'Do you want to run or save ... ' comes up at the bottom of the screen but the buttons do not work so you cannot get any downloads.
    Installed non-Windows applications do seem to run OK though I usually switch back to the original drive pretty quick.
    2 x Dell Precision T5500 desktops, both reasonably high spec and more or less identical though one is nearly 3 years old and the other approaching 4.  Both Win7 x64.  The fault identical on both machines.  I have had these drives in and out
    so many times trying to solve this there is a real risk of damaging the disk or lead.  Can anyone suggest what might be wrong or how Win could be fixed??  I assume 2Tb is ok.  Is it normal to get a restart message after a 'Successful' image
    restore message.  I've tried cloning the drive as well but got exactly the same messages and faults.  Next I was going to try creating the image after running something like EndItAll and  then seeing if the image would restore more successfully
    to a different 1.5Tb drive though I don't see this should make any difference.  'Clutching at straws' comes to mind.
    Thanks.

    Hello,  thanks for your interest.
    Yes, principally it's the Windows features which are faulty.  It's not that they don't work at all (except for win live mail which gives that message about being forced to shutdown), rather that there are faulty features.
    All of the functions in control panel, for example, work OK. But when you select them there is this message from user account control ' Do you want to allow the following program from an unknown publisher to make changes to this computer'.   It
    then goes on to give details the oddity being that the publisher is listed as 'Unknown'.  This is the standard User Account Control dialogue but the strange thing is that it is not recognising the functions coming with windows.    If you
    click yes it goes on to open device manager or whichever one it was that you wanted and the function works quite normally.  
    Non windows applications (including Microsoft Office) run normally without the user account control dialogue.  The only oddity I noticed today was that one program seemed to have lost it's licencing information and gave a message that the
    month trial period was up with an invitation to licence.
    Today I tried to restore an image to a replacement 1.5TB disc. (i.e. the same size as the image was made from). The whole process went quite smoothly and Windows seemed to be working without the faults on the replacement drive.     So
    having shown that the image must be OK I tried swapping the 1.5 drive for the 2Tb drive and repeating the restore from the same image.   Immediately on running, Windows gave me the message 'You must restart the computer to apply these changes....
    (which it had not done for the 1.5Tb restoration) and all the old faults were back.   The message might be quite innocent and simply indicate that Windows is taking note or the different size drive but it seems to be associated with the arrival of
    the faults. (The new drive is formatted as for the 1.5Tb with C: and Recovery partitions and the extra space left unallocated).
    No, I have not tried Reinstalling Windows Live Mail yet. Today I was working on the newer machine and my mail is on the older one. It is odd that both machines show exactly the same problem. It must be something to do with the move to a different size disk.   I
    guess I would have to reinstall IE as well as that was the other application that was really faulty.
    Yes, that is the thread I tried in the community but I didn't get any solution.

  • Could not allocate space for object temporary system object: ... in database 'tempdb' because the 'PRIMARY' filegroup is full.

    Using SQL Server 2008 R2. Tempdb resides on disks W and X
    both of those are 250 GB each. Nothing else resides on these disks. The recovery mode for tempdb is set to Simple and is split in 8 files and one log file. Each of the tempdb file is set for auto growth by 128 MB and max size is unlimited. The log file is
    set for auto growth by 10% and max size unlimited. 
    I get the following error at least once a week while running an ETL:
    [SQLSTATE 01003] (Message 8153) Could not allocate space for object '<temporary system object: 335532118192937>' in database 'tempdb' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup,
    adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup. [SQLSTATE 42000] (Error 50000). The step failed.
    I have to then shrink the tempdb log and files to create space on the disks.
    What is a permanent solution to this problem, I don't want my ETL to break due to TempDB diskspace full.
    Thanks in advance. 

    Hi,
    Permanent solution would be finding out query which is causing tempdb log file to grow out of proportion and fill it and I would like you to take help of below article
    Troubleshooting out of space issue in Tempdb
    Please change Autogrowth value for Log file from 10 % to may be 100 M. This is just a tentative value you need to study
    growth of tempdb to reach to correct value. You kept 128 MB autogrowth for tempdb data file is this value tentative or you just put it.
    Below article can be referred for tempdb details
    Working with tempdb
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • I updated my iphone to iOS 5.1.1 after i updated it, it went into a 30 seconds boot loop, so i tried a hard restore and now windows wont recognize my iphone 4, ANY SUGGESTIONS?

    i updated my iphone to iOS 5.1.1 after i updated it, it went into a 30 seconds boot loop, so i tried a hard restore and now windows wont recognize my iphone 4, ANY SUGGESTIONS?

    Place the device in DFU mode (google it) and restore.

  • Use standby-database as standby-database after creating primary database

    First I will tell what we have and what I did.
    We have a standby database on server B that was not started. We did a cold copy to server A and opened the database on server A as primary database. Now we wonder if we can use the standby database on server B to apply archives without creating a new copy to server B. The standby database on server B is waiting for sequence 2900, while the database on server A started with a new sequence.
    Is it possible somehow to start the recovery again on the standby databsae on server B without creating a new copy?
    Forgot to mention: db-version is 9.2.0.7.0, OS is SunOS 5.10

    Writing seperate code is not needed, Oracle will copy the files if the log_archive_dest is set to the right value.
    However, it is solved!
    What I did:
    - create standby controlfile on the primary
    - copy standby controlfile to standby database
    - on standby: startup nomount / alter database mount standby database
    - on primary: set log_archive_dest_2 to trigger the copying of archivelogs to the standby
    Right now the standby database is recovering.

  • Ora-00600: internal error on 11g database in windows 2007 environment

    Hello , i have these problems please help me to solve it.
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    C:\Windows\system32>emctl status dbconsole
    Environment variable ORACLE_SID not defined. Please define it.
    C:\Windows\system32>set ORACLE_SID=testsid
    C:\Windows\system32>emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
    https://local:1158/em/console/aboutApplication
    Oracle Enterprise Manager 11g is not running.
    Logs are generated in directory C:\app\23333941\product\11.1.0\db_3/local_testsid/sysman/log
    C:\Windows\system32>sqlplus sys/@**** as sysdba
    SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 09:27:37 2013
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    SQL*Plus: Release 11.1.0.6.0 - Production
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Use SQL*Plus to execute SQL, PL/SQL and SQL*Plus statements.
    Usage 1: sqlplus -H | -V
        -H             Displays the SQL*Plus version and the
                       usage help.
        -V             Displays the SQL*Plus version.
    Usage 2: sqlplus [ [<option>] [<logon>] [<start>] ]
      <option> is: [-C <version>] [-L] [-M "<options>"] [-R <level>] [-S]
        -C <version>   Sets the compatibility of affected commands to the
                       version specified by <version>.  The version has
                       the form "x.y[.z]".  For example, -C 10.2.0
        -F             Enables the failover mode for a RAC environment.
        -L             Attempts to log on just once, instead of
                       reprompting on error.
        -M "<options>" Sets automatic HTML markup of output.  The options
                       have the form:
                       HTML [ON|OFF] [HEAD text] [BODY text] [TABLE text]
                       [ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] {ON|OFF}]
        -R <level>     Sets restricted mode to disable SQL*Plus commands
                       that interact with the file system.  The level can
                       be 1, 2 or 3.  The most restrictive is -R 3 which
                       disables all user commands interacting with the
                       file system.
        -S             Sets silent mode which suppresses the display of
                       the SQL*Plus banner, prompts, and echoing of
                       commands.
      <logon> is: (<username>[/<password>][@<connect_identifier>] | /)
                  [AS SYSDBA | AS SYSOPER | AS SYSASM] | /NOLOG | [EDITION=value]
        Specifies the database account username, password and connect
        identifier for the database connection.  Without a connect
        identifier, SQL*Plus connects to the default database.
        The AS SYSDBA, AS SYSOPER and AS SYSASM  options are database
        administration privileges.
        <connect_identifier> can be in the form of Net Service Name
        or Easy Connect.
          @[<net_service_name> | [//]Host[:Port]/<service_name>]
            <net_service_name> is a simple name for a service that resolves
            to a connect descriptor.
            Example: Connect to database using Net Service Name and the
                     database net service name is ORCL.
               sqlplus myusername/mypassword@ORCL
            Host specifies the host name or IP address of the database
            server computer.
            Port specifies the listening port on the database server.
            <service_name> specifies the service name of the database you
            want to access.
            Example: Connect to database using Easy Connect and the
                     Service name is ORCL.
               sqlplus myusername/mypassword@Host/ORCL
        The /NOLOG option starts SQL*Plus without connecting to a
        database.
        The EDITION specifies the value for Application
        Edition
      <start> is: @<URL>|<filename>[.<ext>] [<parameter> ...]
        Runs the specified SQL*Plus script from a web server (URL) or the
        local file system (filename.ext) with specified parameters that
        will be assigned to substitution variables in the script.
    When SQL*Plus starts, and after CONNECT commands, the site profile
    (e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
    (e.g. login.sql in the working directory) are run.  The files may
    contain SQL*Plus commands.
    Refer to the SQL*Plus User's Guide and Reference for more information.
    C:\Windows\system32>sqlplus sys/1118@testsid as sysdba
    SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 09:29:03 2013
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Enter user-name: sysdba
    Enter password:
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    Process ID: 0
    Session ID: 0 Serial number: 0
    Enter user-name: sys
    Enter password:
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    Process ID: 0
    Session ID: 0 Serial number: 0
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    C:\Windows\system32>sqlplus/nolog
    SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 09:32:59 2013
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    SQL> connect/as sysdba
    Connected.
    SQL> create table test(id number, id1 number);
    create table test(id number, id1 number)
    ERROR at line 1:
    ORA-01109: database not open
    SQL> select status from v$instance;
    STATUS
    MOUNTED
    SQL> alter database open;
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [kcrfr_update_nab_2], [0x51434A54],
    [2], [], [], [], [], []
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    C:\Windows\system32>startup mount
    'startup' is not recognized as an internal or external command,
    operable program or batch file.
    C:\Windows\system32>sqlplus/nolog
    SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 10:05:42 2013
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    SQL> connect/as sysdba
    Connected.
    SQL> startup mount;
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SQL> recover database;
    Media recovery complete.
    SQL> select GROUP#,SEQUENCE#,ARCHIVED,STATUS from v$log order by SEQUENCE#;
        GROUP#  SEQUENCE# ARC STATUS
             2        539 NO  INACTIVE
             3        540 NO  ACTIVE
             1        541 NO  CURRENT
    SQL> recover database;
    ORA-00283: recovery session canceled due to errors
    ORA-00264: no recovery required
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    C:\Windows\system32>sqlplus/nolog
    SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 10:17:10 2013
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    SQL> connect / as sysdba
    Connected.
    SQL> startup mount
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SQL> shutdown immediate;
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  313860096 bytes
    Fixed Size                  1332892 bytes
    Variable Size             276826468 bytes
    Database Buffers           29360128 bytes
    Redo Buffers                6340608 bytes
    Database mounted.
    Database opened.
    SQL> recover database;
    ORA-00283: recovery session canceled due to errors
    ORA-01124: cannot recover data file 1 - file is in use or recovery
    ORA-01110: data file 1:
    'C:\APP\23333941\ORADATA\TEST\DATAFILE\O1_MF_SYSTEM_8XB8TY3S_.DBF'
    SQL> select GROUP#,SEQUENCE#,ARCHIVED,STATUS from v$log order by SEQUENCE#;
        GROUP#  SEQUENCE# ARC STATUS
             3        540 NO  INACTIVE
             1        541 NO  INACTIVE
             2        542 NO  CURRENT
    SQL> restore database;
    SP2-0734: unknown command beginning "restore da..." - rest of line ignored.
    SQL> recover database;
    ORA-00283: recovery session canceled due to errors
    ORA-01124: cannot recover data file 1 - file is in use or recovery
    ORA-01110: data file 1:
    'C:\APP\23333941\ORADATA\TEST\DATAFILE\O1_MF_SYSTEM_8XB8TY3S_.DBF'
    SQL>
    Thanks with regards Ganaa;

    What happened prior that resulted in the disaster scenario that you posted/
    When was the last time the DB opened with out error?
    What changed since then?

  • Error while restoring database with different name on subscriber

    Hi all,
    I am using merge replication in sql server 2008R2. Yesterday I wanted to create a test environment, so
    I did:
    1. on publisher I restored from backup production db with another name ( lets call it TEST and new files
    .mdf, .ldf and no switch KEEP_REPLICATION). After this step original replication between production
    dbs worked fine.
    2. on subscriber I did the same: restore as new db TEST with new
    files .mdf, .ldf and no switch KEEP_REPLICATION.
    Unfortunately I noticed, that after second step replication stopped. SQL agent replication job on Subscriber
    is gone.
    Why restoring db with new name did affect original replication?
    Finally the most important: replication was set up by external company and I have to bring it to live now
    but I don't know this subject so good. How can I do it?
    Assuming, that there is no data change on subscriber in replicated tables is it enough when I select ‘reinitialize’
    on Publisher and Subscriber?
    Thanks in advance
    Artur

    Hello,
    Sorry for late response, but I was out of the office during last week.
    Regarding problem 1: restoring replication. I contacted guy who made originally our replication and he recreated subscription agent. So this is solved.
    problem 2: why did it happen?
    Lydia, in link which you provided I found only info about restoring db in replication, but I didn't want to restore replication.
    I checked SQL Server and Server Agent logs and there were no entries on that time. The only entries are regarding db restoring. Below:
    09/11/2014 12:45:59,Backup,Unknown,Database was restored: Database: Logik_ATData_TEST<c/> creation date(time): 2012/04/27(13:55:41)<c/> first LSN: 21392:66:267<c/> last LSN: 21392:227:1<c/> number of dump devices: 1<c/> device information: (FILE=1<c/> TYPE=DISK: {'D:\MSSQLBackup\Dzienny\Logik_ATData_PROD\Logik_ATData_PROD_backup_2014_09_10_231001_6391536.bak'}). Informational message. No user action required.
    09/11/2014 12:45:59,Backup,Unknown,Restore is complete on database 'Logik_ATData_TEST'. The database is now available.
    09/11/2014 12:45:59,spid72,Unknown,CHECKDB for database 'Logik_ATData_TEST' finished without errors on 2012-04-26 22:50:05.490 (local time). This is an informational message only; no user action is required.
    09/11/2014 12:44:53,spid72,Unknown,Recovery is writing a checkpoint in database 'Logik_ATData_TEST' (13). This is an informational message only. No user action is required.
    09/11/2014 12:44:53,spid72,Unknown,Starting up database 'Logik_ATData_TEST'.
    09/11/2014 12:44:51,spid72,Unknown,The database 'Logik_ATData_TEST' is marked RESTORING and is in a state that does not allow recovery to be run.
    09/11/2014 12:44:51,spid72,Unknown,Starting up database 'Logik_ATData_TEST'.
    In Windows application log there were also no other entries, besides these above.
    I also could not check job history, because the job was gone in SSMS jobs list, while the subscription was present in SSMS Replication with info, that last successful synchronization was at 12:42 (there is a 5 min. sync period).
     I also don't understand how the job was deleted, because according this manual (http://www.mssqltips.com/sqlservertip/1803/auto-alert-for-sql-agent-jobs-when-they-are-enabled-or-disabled/) I have 2 triggers in sysjobs table and every time, when
    job is deleted/disabled I got @ notification. In this case I got no @.
    My SQL Server version:
    Product_Version Product_Level Edition
    10.50.2550.0 SP1 Standard Edition (64-bit)
    Any idea what happened?
    Thanks,
    Artur

  • Error during Restore Database

    Hello everyone!
    First of all, i'm sorry for posting another restore problem, but i read all threads related and i still have my problem.
    I have a fresh new install of oracleXE, but when i try to restore de database from a backup store in other disk install in the same computer, using the restore database option include with the application, the program show me these steps:
    STEP 1:
    This operation will shut down and restore the database. Are you sure [Y/N]?
    I write 'Y'.
    STEP 2:
    This operation will shut down and restore the database. Are you sure [Y/N]?y
    Restore in progress...
    El servicio solicitado ya ha sido iniciado.
    Puede obtener más ayuda con el comando NET HELPMSG 2182.
    Recovery Manager : Release 10.2.0.1.0 - Production on Vie Ago 31 10:20:45 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    conectado a la base de datos destino: XE (DBID=2513092923)
    RMAN> set echo on;
    2> startup nomount pfile=C:\DOCUME~1\imgltda\CONFIG~1\Temp\rman_dummy.ora force;
    3>
    echo activado
    instancia Oracle iniciada
    Total del ┴rea Global del Sistema 285212672 bytes
    Fixed Size 1287016 bytes
    Variable Size 92277912 bytes
    Database Buffers 188743680 bytes
    Redo Buffers 2904064 bytes
    Recovery Manager terminado.
    Enter the flash recovery area location:
    I write this in my flash recovery area, where i have the backup files: D:\Respaldo.
    In this path i have de following folders: D:\Respaldo\XE; Inside this folder i have other folders: ARCHIVELOG, AUTOBACKUP, BACKUPSET, ONLINELOG.
    STEP 3 This is my problem:
    MAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: fallo del comando startup en 08/31/2007 10:24:10
    RMAN-04014: fallo al iniciar: ORA-01261: Parameter db_recovery_file_dest destina
    tion string cannot be translated
    ORA-01263: Name given for file destination directory is invalid
    OSD-04018: No se ha podido acceder al directorio o dispositivo especificado.
    O/S-Error: (OS 21) El dispositivo no est┐ listo.
    Recovery Manager terminado.
    ==================== ERROR =============================
    Restore of the database failed.
    RMAN Error - See log for error .
    Log file is at C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DATABASE\OX
    E_RESTORE.LOG.
    ==================== ERROR =============================
    Presione una tecla para continuar . . .
    The OXE_RESTORE file show me this:
    Recovery Manager : Release 10.2.0.1.0 - Production on Vie Ago 31 10:23:58 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Windows XP Version V5.1 Service Pack 2
    CPU : 2 - type 586
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:1652M/2021M, Ph+PgF:3435M/3914M, VA:2003M/2047M
    Starting with debugging turned off
    conectado a la base de datos destino: xe (no montada)
    RMAN> set echo on;
    2> restore (spfile from autobackup db_recovery_file_dest='D:\Respaldo');
    3> startup nomount force;
    4> restore (controlfile from autobackup);
    5> alter database mount;
    6> configure controlfile autobackup off;
    7> restore database;
    8>
    echo activado
    Iniciando restore en 31/08/07
    se utiliza el archivo de control de la base de datos destino en lugar del catálogo de recuperación
    canal asignado: ORA_DISK_1
    canal ORA_DISK_1: sid=37 devtype=DISK
    destino del área de recuperación: D:\Respaldo
    nombre de base de datos (o nombre único de base de datos) utilizado para la búsqueda: XE
    canal ORA_DISK_1: se ha encontrado una copia de seguridad automática en el área de recuperación
    canal ORA_DISK_1: se ha encontrado la copia de seguridad automática: D:\RESPALDO\XE\AUTOBACKUP\2007_08_27\O1_MF_S_631711029_3F5TQOVT_.BKP
    canal ORA_DISK_1: restauración de SPFILE a partir de la copia de seguridad automática terminada
    restore terminado en 31/08/07
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: fallo del comando startup en 08/31/2007 10:24:10
    RMAN-04014: fallo al iniciar: ORA-01261: Parameter db_recovery_file_dest destination string cannot be translated
    ORA-01263: Name given for file destination directory is invalid
    OSD-04018: No se ha podido acceder al directorio o dispositivo especificado.
    O/S-Error: (OS 21) El dispositivo no est¿ listo.
    Recovery Manager terminado.
    I really do not know what is my problem and how to solve it. I hope you guys can help me. I'm under a big pressure to solve this soon.
    My Operating System is: WinXP Pro
    I'm using APEX 2.01
    When I create the backup I use ARCHIVELOG enable
    Things i try:
    1. Install fresh oracle XE database, and restore
    2. Install fresh oracle XE database, enable archivelog and restore
    3. Install fresh oracle XE database, enable archivelog, change path of DB_RECOVERY_FILE_DEST to 'D:\Respaldo'.
    4. Install fresh oracle XE database, enable archivelog, change path of DB_RECOVERY_FILE_DEST to 'D:\Respaldo', and execute: @?/sqlplus/admin/movelogs;
    5. Install fresh oracle XE database, enable archivelog, change path of DB_RECOVERY_FILE_DEST to 'D:\Respaldo';, and change DB_RECOVERY_FILE_DEST_SIZE to 20G;
    NOTE: sorry for my english it is not my native language. and sorry for using a spanish version of the database.
    Message was edited by:
    Minning

    Well,
    After a lot of reading, i try this using rman:
    SQL
    1. SQL> connect xx/xx as sysdba
    2. SQL> shutdown immediate
    RMAN
    1. RMAN> connect target XE
    2. RMAN> startup nomount;
    3. RMAN> restore spfile to 'C:\xe.ora' from 'D:\Respaldo\XE\AUTOBACKUP\2007_08_27\O
    1_MF_S_631711029_3F5TQOVT_.BKP';
    4. RMAN> alter database mount;
    5. RMAN> restore database;
    in point n°5 i have the following problem:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: fallo del comando restore en 09/06/2007 16:27:09
    RMAN-06026: no se han encontrado algunos destinos - abortando la restauraci¾n
    RMAN-06023: no se ha encontrado ninguna copia de seguridad o copia del archivo d
    e datos 4 para restaurar
    RMAN-06023: no se ha encontrado ninguna copia de seguridad o copia del archivo d
    e datos 3 para restaurar
    RMAN-06023: no se ha encontrado ninguna copia de seguridad o copia del archivo d
    e datos 2 para restaurar
    RMAN-06023: no se ha encontrado ninguna copia de seguridad o copia del archivo d
    e datos 1 para restaurar
    I try this command to find what's going on:
    RMAN> list backup;
    with this result:
    Lista de Juegos de Copias de Seguridad
    ===================
    Clave BS Tipo LV Tama±o Tipo de Dispositivo Tiempo Transcurrido Hora de F
    inalizaci¾n
    15 Full 736.04M DISK 00:00:19 24/08/07
    Clave BP: 15 Estado: EXPIRED Comprimido: NO Etiqueta: TAG20070824T12
    4938
    Nombre de Parte: E:\RESPALDO\XE\BACKUPSET\2007_08_24\O1_MF_NNNDF_TAG2007
    0824T124938_3DY3143F_.BKP
    Lista de Archivos de Datos en el juego de copias de seguridad 15
    Tipo de Archivo LV SCN Pto. Ctrl. Hora de Punto de Control Nombre
    1 Full 2747434 24/08/07 C:\ORACLEXE\ORADATA\XE\SYSTEM
    .DBF
    2 Full 2747434 24/08/07 C:\ORACLEXE\ORADATA\XE\UNDO.D
    BF
    3 Full 2747434 24/08/07 C:\ORACLEXE\ORADATA\XE\SYSAUX
    .DBF
    4 Full 2747434 24/08/07 C:\ORACLEXE\ORADATA\XE\USERS.
    DBF
    Clave BS Tipo LV Tama±o Tipo de Dispositivo Tiempo Transcurrido Hora de F
    inalizaci¾n
    16 Full 6.83M DISK 00:00:01 24/08/07
    Clave BP: 16 Estado: EXPIRED Comprimido: NO Etiqueta: TAG20070824T12
    5005
    Nombre de Parte: E:\RESPALDO\XE\AUTOBACKUP\2007_08_24\O1_MF_S_631457405_
    3DY31Y0H_.BKP
    Archivo de Control Incluido: SCN de Punto de Control: 2747446 Hora de Pun
    to de Control: 24/08/07
    SPFILE Incluido: Hora de Modificaci¾n: 24/08/07
    Clave BS Tipo LV Tama±o Tipo de Dispositivo Tiempo Transcurrido Hora de F
    inalizaci¾n
    17 Full 736.04M DISK 00:00:20 24/08/07
    Clave BP: 17 Estado: EXPIRED Comprimido: NO Etiqueta: TAG20070824T17
    0028
    Nombre de Parte: E:\RESPALDO\XE\BACKUPSET\2007_08_24\O1_MF_NNNDF_TAG2007
    0824T170028_3DYKQGTC_.BKP
    Lista de Archivos de Datos en el juego de copias de seguridad 17
    Tipo de Archivo LV SCN Pto. Ctrl. Hora de Punto de Control Nombre
    1 Full 2773728 24/08/07 C:\ORACLEXE\ORADATA\XE\SYSTEM
    .DBF
    2 Full 2773728 24/08/07 C:\ORACLEXE\ORADATA\XE\UNDO.D
    BF
    3 Full 2773728 24/08/07 C:\ORACLEXE\ORADATA\XE\SYSAUX
    .DBF
    4 Full 2773728 24/08/07 C:\ORACLEXE\ORADATA\XE\USERS.
    DBF
    Clave BS Tipo LV Tama±o Tipo de Dispositivo Tiempo Transcurrido Hora de F
    inalizaci¾n
    18 Full 6.83M DISK 00:00:02 24/08/07
    Clave BP: 18 Estado: EXPIRED Comprimido: NO Etiqueta: TAG20070824T17
    0054
    Nombre de Parte: E:\RESPALDO\XE\AUTOBACKUP\2007_08_24\O1_MF_S_631472454_
    3DYKR7OZ_.BKP
    Archivo de Control Incluido: SCN de Punto de Control: 2773741 Hora de Pun
    to de Control: 24/08/07
    SPFILE Incluido: Hora de Modificaci¾n: 24/08/07
    Clave BS Tipo LV Tama±o Tipo de Dispositivo Tiempo Transcurrido Hora de F
    inalizaci¾n
    19 Full 740.95M DISK 00:00:20 27/08/07
    Clave BP: 19 Estado: EXPIRED Comprimido: NO Etiqueta: TAG20070827T11
    1642
    Nombre de Parte: E:\RESPALDO\XE\BACKUPSET\2007_08_27\O1_MF_NNNDF_TAG2007
    0827T111642_3F5TPWHN_.BKP
    Lista de Archivos de Datos en el juego de copias de seguridad 19
    Tipo de Archivo LV SCN Pto. Ctrl. Hora de Punto de Control Nombre
    1 Full 2916556 27/08/07 C:\ORACLEXE\ORADATA\XE\SYSTEM
    .DBF
    2 Full 2916556 27/08/07 C:\ORACLEXE\ORADATA\XE\UNDO.D
    BF
    3 Full 2916556 27/08/07 C:\ORACLEXE\ORADATA\XE\SYSAUX
    .DBF
    4 Full 2916556 27/08/07 C:\ORACLEXE\ORADATA\XE\USERS.
    DBF
    Where it says 'Estado' (Status in english) I found this: 'EXPIRED', it seems that my 4 dbf files have some problem, right now i'm looking for a way to solve this, but with no luck.
    I think i need a little help again...

  • Restore database validate ERROR

    I configure RMAN yesterday with the following parameters:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u02/rman/prod1/%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 2;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 2;
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '/backup/prod1/backup_db/%U' MAXPIECESIZE 2000M;
    CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT '/backup/prod1/backup_db/%U' MAXPIECESIZE 2000M;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/backup/rman/prod1/scontrolfile.ctl';
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '/backup/prod1/backup_db/%U' MAXPIECESIZE 2000M;
    I performed a full backup after this and was trying to verify it this morning. But I am getting the following errors:
    RMAN-00558: error encountered while parsing input commands
    RMAN-01005: syntax error: found "equal": expecting one of: "double-quoted-string
    , identifier, newline, ;, single-quoted-string"
    RMAN-01007: at line 1 column 16 file: standard input
    RMAN> connect target /
    connected to target database: PROD (DBID=444452)
    RMAN> restore database validate;
    Starting restore at 11-SEP-07
    using target database controlfile instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=950 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=1136 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 09/11/2007 09:59:44
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 258 found to restore
    RMAN-06023: no backup or copy of datafile 257 found to restore
    I listed RMAN back and my full backup is showing. Please help your sister out.

    RMAN> connect target /
    connected to target database: PROD (DBID=35109652)
    using target database controlfile instead of recovery catalog
    RMAN> report schema;
    Report of database schema
    File K-bytes Tablespace RB segs Datafile Name
    1 523264 SYSTEM *** /dev/rprod_sys_000
    2 1047552 UNDO *** /dev/rprod_und_001
    3 130048 MISC *** /dev/rprod_msc_000
    4 4193280 D_R_SMALL *** /dev/rdprod_0000001
    5 3872768 I_R_SMALL *** /dev/riprod_0000001
    6 916480 I_R_LARGE *** /dev/riprod_0000002
    7 637952 D_R_LARGE *** /dev/rdprod_0000002
    RMAN> backup database;
         #This was successful/completed although I don’t have the output.
    RMAN> list backup;
    List of Backup Sets
    ===================
    BS Key Type LV Size
    1 Full 3G
    List of Datafiles in backup set 1
    File LV Type Ckp SCN Ckp Time Name
    19 Full 2241992994123 10-SEP-07 /dev/rlprod_0000001
    25 Full 2241992994123 10-SEP-07 /dev/rdprod_0000010
    30 Full 2241992994123 10-SEP-07 /dev/riprod_0000012
    31 Full 2241992994123 10-SEP-07 /dev/riprod_0000013
    36 Full 2241992994123 10-SEP-07 /dev/riprod_0000015
    Backup Set Copy #1 of backup set 1
    Device Type Elapsed Time Completion Time Compressed Tag
    DISK 00:07:20 10-SEP-07 NO TAG20070910T225622
    List of Backup Pieces for backup set 1 Copy #1
    BP Key Pc# Status Piece Name
    1 1 AVAILABLE /backup/prod1/backup_db/0girkfgo_1_1
    3 2 AVAILABLE /backup/prod1/backup_db/0girkfgo_2_1
    Backup Set Copy #2 of backup set 1
    Device Type Elapsed Time Completion Time Compressed Tag
    DISK 00:07:20 10-SEP-07 NO TAG20070910T225622
    List of Backup Pieces for backup set 1 Copy #2
    BP Key Pc# Status Piece Name
    2 1 AVAILABLE /backup/prod1/backup_db/0girkfgo_1_2
    4 2 AVAILABLE /backup/prod1/backup_db/0girkfgo_2_2
    BS Key Type LV Size
    2 Full 3G
    List of Datafiles in backup set 2
    File LV Type Ckp SCN Ckp Time Name
    4 Full 2241992994124 10-SEP-07 /dev/rdprod_0000001
    8 Full 2241992994124 10-SEP-07 /dev/riprod_0000003
    12 Full 2241992994124 10-SEP-07 /dev/rdprod_0000005
    17 Full 2241992994124 10-SEP-07 /dev/rdprod_0000007
    24 Full 2241992994124 10-SEP-07 /dev/rdprod_0000009
    27 Full 2241992994124 10-SEP-07 /dev/riprod_0000011
    Backup Set Copy #1 of backup set 2
    Device Type Elapsed Time Completion Time Compressed Tag
    DISK 00:07:37 10-SEP-07 NO TAG20070910T225622
    List of Backup Pieces for backup set 2 Copy #1
    BP Key Pc# Status Piece Name
    5 1 AVAILABLE /backup/prod1/backup_db/0hirkfgp_1_1
    7 2 AVAILABLE /backup/prod1/backup_db/0hirkfgp_2_1
    Backup Set Copy #2 of backup set 2
    Device Type Elapsed Time Completion Time Compressed Tag
    DISK 00:07:37 10-SEP-07 NO TAG20070910T225622
    List of Backup Pieces for backup set 2 Copy #2
    BP Key Pc# Status Piece Name
    6 1 AVAILABLE /backup/prod1/backup_db/0hirkfgp_1_2
    8 2 AVAILABLE /backup/prod1/backup_db/0hirkfgp_2_2
    RMAN> validate backupset 1;
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=950 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=949 devtype=DISK
    channel ORA_DISK_1: starting validation of datafile backupset
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/backup/prod1/backup_db/0girkfgo_1_1 tag=TAG20070910T225622
    channel ORA_DISK_1: restored backup piece 2
    piece handle=/backup/prod1/backup_db/0girkfgo_2_1 tag=TAG20070910T225622
    channel ORA_DISK_1: validation complete
    The problem is that I can’t perform: restore database validate; or test.

Maybe you are looking for