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.

Similar Messages

  • 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

  • Cannot edit pwd.tmp file Installing IDM 7.1 database on Win2k8 - MSSQL 2005

    Hi there,
    I am installing IDM 7.1 on a virtual Windows 2008 Server, MS SQL 2005.
    I am stuck at a very early stage in the Installing-SQL-database guide; I have tested the database
    connection successfully, using the mxmc-test.cmd script. I am failing on the next step, running the
    mxmc-install.cmd.
    There are two different errors, both with the final message "echo was unexpected at this time".
    The first error skips past the password prompt for users sa, mxmc_oper and confirm password
    for mcmx_oper, shows the error message and then returns me to the command prompt.
    Once I added my logged-in user [SID]adm as "mapped to the Database" in  the
    MS SQL Management Console > Login Properties > User Mapping, I got a new variation
    on the above message.
    The second message again skips past the sa user password prompt, but then
    displays additional text:
    E:\IDM\51035967\DATA_UNITS\IC_DESIGNTIME_71\Database\SQL-Server\mxmc-install
    ***Install an Identity Center database mxmc_db
    ***This command will install a new Identity Centre database.
    ***To continue press Enter, otherwise CTRL-C
    Press an key to continue . . .
    Enter password for user sa:
    Access is denied.
    E:\IDM\51035967\DATA_UNITS\IC_DESIGNTIME_71\Database\SQL-Server\pwd.tmp
    Access is denied.
    Enter password for mxmc_oper:
    Access is denied.
    Confirm password for mxmc_oper:
    Access is denied.
    echo was unexpected at this time.
    I have previously enabled the sa user, and reset its password to be the installation
    master password. I first tried with domain\[SID]adm , then localmachine\[SID]adm, then
    with Domain\Administrator, and lastly with local machine\Administrator
    Whan I manually add some text to pwd.tmp, I am not allowed to save the file, as
    either [sid]adm. As administrator I am able to save the file.
    When I run the script as either Administrator I get the first error.
    With either [sid]adm  user I get the second error.
    So it appears to be Windows 2008 Server file security, for my [sid]adm users.
    They are both in the Administrators group for the local machine,
    and the E:\ has full access for Administrators group.
    Any help would be greatly appreciated!
    Kind regards,
    Andy Minshull

    I have solved this issue; there are two parts to the solution;
    1: Write Permission to pwd.tmp
    Although the installation cd folder had already been copied from the host to the VM guest, copying the folder to a new name resolved the issues with the file security. Not sure why exactly, but once done, SIDADM is able to edit pwd.tmp manually, as well as via the script.
    2: Alternative Install Script.
    We were greatly helped [by this SDN post|Re: identity center install problem: "echo unexspected at this time";, 4th reply:
    (I'm installing on a virtual machine)....
    Then I tried mxmc-xinstall with given prefixes. That worked for me.
    On inspection of the mxmc-install script, it sets the necessary variables, based on some user input, then passes the values to the script mxmc-xinstall. Running mxmc-xinstall with no switches shows the prefixes required. Also, the mxmc-xinstall script is outlined in the Install guide, under section "Installing the Identity Center database with a given prefix", since it provides the opportunity to choose a prefix other than the standard "mxmc".
    These two actions have solved my problem. So, based on the fact that Karsten had the same problem, on the same OS and on  a VM, I guess it is safe to assume that this is a bug specific to using Win2k8 on VMware. Our VMWare version is Server 2.
    All the best,
    Andy
    Edited by: Andy Minshull on Jan 7, 2010 12:23 PM
    Edited by: Andy Minshull on Jan 7, 2010 12:28 PM

  • Issue in rebuilding index after restoring database from sql server 2005 to 2012

    Hi All,
    We have recently restored a database named DBA_admin from our sql server 2005 instance to sql server 2012 and we have added the database to out weekly maintenance plan. After adding the database to maintenance plan the job is failing every weekend due to
    below error message.
    Error message from maintenance plan history:
    Executing the query "ALTER INDEX [PK_lsttype] ON [dbo].[lstAssign..." failed with the following error: "Invalid object name 'admin.dbo.databaselog'.
      ALTER_INDEX - dbo.PK_lsttype". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
    Below is the code within the maintenance plan which the rebuild index task is using for database dba_admin:
    USE [dba_admin]
    GO
    ALTER INDEX [PK_lstType] ON [dbo].[lstType] REBUILD PARTITION = ALL WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 98, DATA_COMPRESSION = PAGE)
    Please let me know if any one knows how to fix this issue.
    Thanks in Advance.

    Sorry for the confusion.
    Here is what is happening.
    The query is failing while trying to rebuild index [Pk_lsttype] on table [lstAssign], both these objects belong to database
    admin.
    I have verified the old instance there is table databaselog within the database
    dba_admin, but in new SQL instance within the database dba_admin the table is not present.
    Even I'm not sure of what this table databaselog has to do with rebuilding indexes on table
    lstAssign within the admin database.
    I have manually tried to execute the alter index command within the database
    admin and it is failing with the below error.
    ALTER_TABLE - dbo.Query_pnb_sms
    Msg 208, Level 16, State 1, Procedure ddlDatabaseTriggerLog, Line 39
    Invalid object name 'dba_admin.dbo.databaselog'.

  • 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

  • Data backup restore in MSSQL 2005 X64 to MSSQL X32 bit

    HI All
    I am just planning to restore PRODUCTION data Backup into a TEST System for mean time testing.
    We are using SAP ECC600, MSSQL 2005 on WINDOWS 2003 Server (X64 Bit).
    I have MSSQL 2005 .bak backup file (X64bit) and i want restore it into X32 bit system.
    Even i have tried but got error 
       "Restore failed for server 'XXXX' (Microsoft .sqlserver.smo)
    Additional information
       System.data.sqlclient.sqlerror:The file on device 'z:\prddata\18.03.11.bak' is not a valid Microsoft Tape format backup set.(Microsoft.SqlServer.smo)
    Thanks
    YogRaj

    Dear moreno,
    My apologies for delayed reply ...I have found the following sap notes as solutions......
    960769 - Windows: Migration from 32-bit to 64-bit (x86_64)
    899111 Installing R3 4.7SR1 (47X110) on x64 Windows Platform
    for running x64 64 bit with release 47x110 SR1...
    But appreanlty i have  also tried Inst master & Kernel using 47x200 SR1 of x64 64 bit windows
    NOTE- there are 7 exports for 470x110 & 8 exports for 47x200 release..
    However since i am only doing a system copy i have used the following inst master of 47x200 of x64 64 bit windows
    I would suggest you prepare target system & use EXPORT/IMPORT method of system during migration...
    this would resulsts m uch better .pl revert back for any issues. aslo refere to sap note 600027
    thanks,
    rahul
    thanks,
    Rahul

  • How to reset ddic password for client 000 in MSSQL 2005 database

    SAP = ECC6
    DB = MSSQL 2005
    client = 000
    1. SAP* account was removed from the DB, can't be found in USR02 table.
    2. Only left ddic account and was locked. How can i reset ddic password?
    3. How can i unlock and reset my own password from the MSSQL database?

    You can unlock and reset passwords for DDIC and for your own user id in the following way:
    Please execute the below queries at your database level:
    To unlock user ids:
    SQL>update SAP<SID>.usr02 set flag=0 where bname="*user id*" and mandt=client number;
    SQL>commit;
    To reset the passwords:
    SQL>update SAP<SID>.usr02 set bcode="encrypted password" where bname="*user id*" and mandt=client number;
    SQL>commit;
    Then log into the system and execute /$sync
    hope this will help you.
    Regards,
    FAisal

  • Can SBO-COMMON database be re-attached after Reinstalling MSSQL 2005

    Hi All,
    I encountered collation issue. The MSSQL Server Collation is incorrectly indicated when upgrade from 2005B to 8.8 was performed. (the correct one should be SQL_Latin1_General_CP1_CI_AS instead of Latin1_General_CI_AS. But my various company databases are correctly stated as SQL_Latin1_General_CP850_CI_AS (as required by SAP B1).
    Now, I am considering creating a new SQL Instance with the correct collation, then use the SBO Upgrade Server to create the SBO-COMMON and re-direct the License Server to the new instance. But all my AddOns requires for re-installation.
    My next alternative is to uninstall MSSQL 2005 and re-install with the correct collation. But I am wondering if the backup SBO-COMMON can be used. Also, will the installed AddOns prompts for re-installation?
    I have checked against SAP Note 987436. is this the only lifeline?
    These solutions will required certain amount of downtime from the customer. Is there a cleaner way out of this?
    Please help.
    Regards
    Jessie Ng

    Hi,
    Some of our B1 customers have encountered the wrong collation settings. Here are the problems they've got :
    1. When trying to use any functionality of Drag & Relate, the following error message will be displayed: 'No matching record found'.
    2. When runing "Sales\Purchase analysis report" for Business Partner, the report might not retrieve any results eventhough it should.
    Here is the solution from SAP note:
    Collation Settings of MSSQL Server 2005 or 2008
    Symptom
    When defining the wrong collation during manual installation of MSSQL Server 2005 or MSSQL 2008, in certain situations it might cause functional problems. Examples:
    1. When trying to use any functionality of Drag & Relate, the following error message will be displayed: 'No matching record found'.
    2. When runing "Sales\Purchase analysis report" for Business Partner, the report might not retrieve any results eventhough it should.
    Other terms
    MSSQL 2005, MSSQL 2008, SQL server, documentation, collation, Drag & relate, drag and relate, collation settings, collation setting, SQL 2005, SQL 2008
    Reason and Prerequisites
    Consulting Note
    Solution
    The latest version of any documentation can be found at http://service.sap.com/smb/sbo/documentation.
    Please make sure to choose collation setting of: SQL_Latin1_General_CP1_CI_AS
    when installing MSSQL 2005 / 2008 Server.
    In order to check what the collation is set to in your server, please run the following query:
    Collation of your Server:
    select SERVERPROPERTY ('collation')
    (This query gets the collation settings of MSSQL Server's System Database "Master")
    Expected answer : SQL_Latin1_General_CP1_CI_AS
    In case you have already installed the MSSQL 2005 or 2008 Server with any collation other than SQL_Latin1_General_CP1_CI_AS, please follow the steps below:
    Change your server collation to SQL_Latin1_General_CP1_CI_AS.
    You can find Microsoft's instructions for changing an SQL server collation here:
    http://msdn2.microsoft.com/en-us/library/ms179254.aspx
    Please note that collation settings of Database "Master" needs to be changed only. All SAP Business One Databases must not be changed! These must remain on SQL_Latin1_General_CP850_CI_AS.
    If you need any clarifications with this process please refer to an Expert Empowerment Session "SQL 2005 Server Collation settings" at https://websmp203.sap-ag.de/~sapidb/011000358700000050892007E/ or http://service.sap.com/smb/sbo/support -> Archive: Empowerment Sessions.
    If you have any Servicepack for MSSQL Server installed, but the Servicepack is not included into your DVD MSSQL Server, do as follows:
    1. Deinstall Servcicepack
    2. Change Collation Settings as per Expert Empowerment Session
    3. Install Servicepack again
    JimM

  • MSSQL 2005 user database now shows up in system database folder

    While attempting to set up sql replication in MSSQL 2005 one of my user databases is now in the systems database folder.  I need to move it back to the user databases folder.  Any help would be greatly appreciated.

    I'm still at the point where if I run
    sp_detach_db 'dbname'
    I get
    Msg 3724, Level 16, State 1, Line 1
    Cannot drop the database 'dbname' because it is being used for replication.
    If I right click on the replication folder I have no disbributor properties
    Somehow I need to remvoe the replication flag from the db that I have accidentally gotten it stuck on.
    Any ideas?
    Hello dsams,
    Are you a member of "sysadmin" fixed server role ? If not you will not be able to configure replication.
    Once you are a member of "sysadmin" then you can try the below sql or go to replication and right click on it, you will get "Disable publishing & distribution".
    use master
    go
    alter database distribution set offline;
    drop database distribution;
    Regards, RSingh

  • Getting error while installing MSSQL 2005 SP2 Windows Server 2008 Service Pack 1

    Hi,
    We are getting error while we are installing MSSQL 2005 SP2. 
    It gives me the following error
    No Qualifying Product
    ===================
    This machine does not have a product that matches this installation package.
    I am pretty new to MSQL. Any help to solve this is much more appreciated.

    Hello,
    It seems you downloaded Service Pack 2 for SQL Server 2005 alone, that download does not install a SQL Server 2005 instance.
    You might have to download and install SQL Server 2005 and then proceed to apply service packs related to that version of SQL Server.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • 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...

  • MSSQL 2005 Issue

    Hello,
    I'm using MSSQL 2005 for SAP B1
    with login name: "sa"
    Now I've created another user in SQL named "sap"  who has given the permission to manipulate the SAP databases.Now SAP users will work by userscode: "sap" instead of "sa".
    And now my question is=>
    Is it possible that users other than "sa" could not restart the server  from MSSQL Server Management Studio?
    There are few semi computer literate people in company who knows to connect to the database & creates problems in absense of admin.
    So, plz let me know how to control the permission level such that no one other than "sa" could stop MSSQL 2005 service from Management Studio.
    Thanks.
    Subrata

    Thnx for ur reply.
    After creating an user I followed the same steps as u mentioned.
    But, it's not working.
    From the new user the database can be restarted.
    Is there any step during user creation that I missed out?
    Plz let me know.
    And another thing is => Now,any user can take entry by Windows Authentication .
    How could I stop it?
    Rgds
    Subrata

  • MSSQL 2005 System refresh

    Hello All ,
    I am trying to do system refresh from PRD to QAS , Windows 2003 / MSSQL 2005 database, need to know step by step procedure, DB restroe , recovery and rename SID , how to do all these. main I need to know DB activities.
    Thanks
    Atul

    Hi,
    Refer [SAP Note 151603 - Copying an SQL Server database|https://service.sap.com/sap/support/notes/151603] to get step by step information about your requirement.
    Regards,
    Bhavik G. Shroff

  • How to reduce allocated Space to DB in mssql 2005

    Hi ,
    We are using SAP with Mssql2005 on Windows 2008r2.server.
    One week back we provided 400 GB space to My database files (for each 100GB), But right now we don't want that much space for My system.We are planing to use that extra space for another system.
    I want to know below points.
    1)How to reduce my database free space from Mssql 2005 management studio.
    2)What is the Procedure.
    3)Is it possible to reduce the Database free size once added to SQL Database files.
    Please suggest the procedure, its urgent requirement.

    Hi Rao
    1.  You can perform the Database shrink. During this process keep an eye on transaction log & do it during off peak time. Just go through the Microsoft blog Shrink a File
    2. If your are migrating  the database to MS Sql 2008 R2 you can get the database compression feature it may reduce your disk space more than 40%,
    Regards
      Sriram

Maybe you are looking for