How to restore R11 database..? Please guide in details.
Dear Friends,
I had install Windows NT 4.0 as domain controller and installed oracle R11 and configured. It was working fine. After some time I had UPGRADE my Operating system WINNT 4.0 to WINDOWS Server 2000. Server was properly upgraded with any trouble, after up gradation Oracle application still working.
Good!.
Now I bought a new P4 hardware for Oracle server. The problem is how I restore Database from old machine (that contain records) to new machine. Because it is Oracle R11 that support Oracle 8 and R11 does not install/support on windows server 2000.
I don’t have Backup of database but I have all database files etc. can this would be help full??
I also have control file and parameter file of original…db
My Plan:-
1. Install Windows NT 4.0
2. Install Oracle R11 (Vision)
3. Upgrade OS (Window Server 2000)
4. Than try to restore database.. (How I NEED FRIENDS HELP)
5. After Restoration Should I have to Re-Create Users or set the rights like I have created Oracle application user “Ash”. With limited rights.
6.
Keep in mind I am using Oracle R11 that install Oracle 8.
So solution should support Oracle 8….
[email protected]
Hi,
Maybe just swap the harddisk to the new machine?
Alternatively, I'd try installing R11 under Win2000 ... as under the covers Windows server 2000 is Windows NT right?
Regards,
Gareth
Blog: http://garethroberts.blogspot.com/
Similar Messages
-
Hi all,
I've a demo database (OEC Computers) 2007 B compatible. Can anyone please guide me how to restore the database. Since I don't have knowledge regarding SQL Server, I'm not able to restore the demo database. Please guide me to restore the demo database.
Thanks,
BalajiHi Balaji,
Please open the SQL Server Enterprise Manager -> Expand the servers,
1. rightclick Database ->New Database
2. input information under General/Data Files, then OK
3. right click the new db just created-> All task ->restore
4. select 'From device' and then select device -> Add ->import the db ->OK
Hope above could solve your problem.
Regards,
Eric -
How to restore sql database in Private Azure Cloud subscription?
I want to restore my database bacpac file
into Private
cloud Azure Subscription but I do not get any option in Azure portal :(
Is there any way to do this?
questions I asked here at stackoverflow
http://stackoverflow.com/questions/28847844/how-to-restore-sql-database-in-private-azure-cloud-subscriptionHi itsashuthinks,
Currently for private cloud Azure there is no Import/Export Service to import your BACPAC file into SQL Database.
Because of this you will need to use client tools.
The process to do this is the following.
Open SSMS and connect to your cloud server.
Right click on "Databases" under your server in object explorer and select import data-tier application.
Follow the import wizard instructions to start the import.
Learn more about Data-tier applications and migrations here: https://msdn.microsoft.com/en-us/library/ee210546.aspx
Hope this helps! -
How to restore a database backup taken from a SQL Server 2012 instance to SQL Server 2014
I am trying to restore a database backup taken from a SQL Server 2012 instance to my new SQL Server 2014 instance. When I add the .bak through the Mgmt studio UI, it does not seem to find a backup set in the file so I cannot proceed (does not give
me any errors though either. I tried restoring through TSQL command but only got a database restore terminating abnormally error with no other details. How can I restore this database to SQL 2014?Hello,
Please examine SQL Server Error Log and share with us any error you can find. The following article may locate the log:
http://msdn.microsoft.com/en-us/library/ms187109.aspx
Regards,
Alberto Morillo
SQLCoffee.com -
How to restore system databases?
If SQL server system databases crash, what will happen?
If sql server system databases crash, how to fix the issue? Any difference to fix for master, msdb,model temp and distribute?
ThanksThere would be various situation after "crash".
If Master database has corruption after unexpected failure then SQL Service won't start. Only option would have is to rebuild system databases and follow the article given by others to restore system databases.
If SQL Service is able to start and reports corruption in model database then there are two ways to fix it.
Get MDF and LDF file of model from other SQL Instance which has EXACTLY same build and replace the files.
If you have important data in model database, then you would need to restore. Follow the links given by other
TempDB database is not eligible for backup and restore.
MSDB database can be restored if SQL is running.
Distribution database can be restored when SQL is running. Provided no one accessing it.
Balmukund Lakhani
Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
This posting is provided "AS IS" with no warranties, and confers no rights.
My Blog |
Team Blog | @Twitter
| Facebook
Author: SQL Server 2012 AlwaysOn -
Paperback, Kindle -
How to restore Ipod database without iTunes?
Hi,
My iPod mini is visible to any aplication except iTunes. I have tried all it sugested on the manuals to fix it and nothing worked.
Others applications like RealPlayer and Anapod can see that the iPod is connect but can´t show its content. RealPlayer says that the database file doesn´t exist or is corrupted.
The only way I can see my files is accessing the iPod-Control directory using windows.
If I disconect it from the Pc I can´t see the musics that are on it.
I have made a copy of the songs that were on it and now I want to know how to restore it without use iTunes, because nothing makes iTunes see it.
Is there any update link that still work on apple website, so I don´t need to use iTunes?
I need to restore my iPod without iTunes because unistall, check register, restarts,... did not work.
The only way I can see the iPod is runing the diadnosis under the help menu. Nothing have worked to make it be showed as device.
That is what the diagnosis show:
Microsoft Windows XP Home Edition Service Pack 2 (Build 2600)
Hewlett-Packard HP Pavilion b1000br(EN469LA)
iTunes 7.0.2.16
iPodService 7.0.2.16 is currently running.
iTunesHelper 7.0.2.16 is currently running.
Current user is an administrator.
Connected Storage Devices:
IDE\DiskSAMSUNGHD160JJ________________________WU100-33, Bus Type ATA, Bus Address [0,0]
USBSTOR\DiskApple__iPod___________1.62, Bus Type USB
Universal Serial Bus Controllers:
SiS 7001 PCI to USB Open Host Controller, Barramento PCI 0, dispositivo 3, função 0. Device is working properly.
SiS PCI to USB Enhanced Host Controller, Barramento PCI 0, dispositivo 3, função 3. Device is working properly.
No IEEE 1394 Host Controller found.
Connected Device Information
RACHEL'S IP (G:\), iPod mini running firmware version 1.4.1
Serial Number: JQ521620S45
Bus Speed: 61440
The last connected iPod serial number: JQ521620S45.
The iPod Service Logging Information:
[SERVICE: 0x97C,20:58:33 INFO] Started C:\Arquivos de programas\iPod\bin\iPodService.exe (Tue Feb 06 20:58:33 2007)
[SERVICE: 0x97C,20:58:33 INFO] ##### iPodService starting as a service, version: 7.0.2.16
[SERVICE: 0x9A8,20:58:34 INFO] Timed out... Starting device manager!
[SERVICE: 0xA04,20:58:35 INFO] Listener Window created
[SERVICE: 0x9A8,20:58:37 INFO] [InterfaceArrival] \\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
[SERVICE: 0x9A8,20:58:37 INFO] device \\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
[SERVICE: 0x9A8,20:58:37 INFO] device is an iPod
[SERVICE: 0x9A8,20:58:37 INFO] type 0x7 drive 0x1 partition 0x0
[SERVICE: 0x9A8,20:58:37 INFO] [-1] set waiting to mount = 1
[SERVICE: 0x9A8,20:58:37 INFO] [1] Assigning session 0
[SERVICE: 0x9A8,20:58:37 INFO] [1] added device interface "\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}" to m_objDeviceNameMap
[SERVICE: 0x9A8,20:58:37 INFO] [1] added state machine 1 to m_objDeviceIdMap
[SERVICE: 0x9A8,20:58:37 INFO] [1] added device number 1 to m_objDeviceNumberMap
[SERVICE: 0x9A8,20:58:37 INFO] [1] added device interface "\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}" to m_vctDeviceInterfaces
[SERVICE: 0x9A8,20:58:37 INFO] [1] input #0 from src #0
[SERVICE: 0x9F4,20:58:37 INFO] [1] input #0
[SERVICE: 0x9F4,20:58:38 INFO] [MACHINE 1 INPUT #0] - (HDW) Interface Arrival
[SERVICE: 0x9F4,20:58:38 INFO] [1] progress state is 2, Waiting to mount = 1
[SERVICE: 0x9F4,20:58:38 INFO] [1] progress is now 2
[SERVICE: 0x9F4,20:58:38 INFO] [1] progress is now 2
[SERVICE: 0x9F4,20:58:38 INFO] [MACHINE 1 TRANSITION] - {Unknown} ==> {Connected}
[SERVICE: 0x9F4,20:58:38 INFO] [MACHINE 1 ACTIONS] - {Connected}
[SERVICE: 0x9F4,20:58:38 INFO] [1] SCSI Inquiry attempt #0
[SERVICE: 0x9F4,20:58:38 INFO] VendorId: Apple
[SERVICE: 0x9F4,20:58:38 INFO] ProductId: iPod
[SERVICE: 0x9F4,20:58:38 INFO] revision: 1.62
[SERVICE: 0x9F4,20:58:38 INFO] vendor bytes:
[SERVICE: 0x9F4,20:58:38 INFO] 02 01 00 00 00 00 00 00 00 07 00 02 92 00 00 00 00 00 00 00
[SERVICE: 0x9F4,20:58:38 INFO] [1] firmware version: 1.62 (0x13E)
[SERVICE: 0x9F4,20:58:38 INFO] [1] Power State: Powered
[SERVICE: 0x9F4,20:58:38 INFO] [1] Checkpoint attempt #0
[SERVICE: 0x9F4,20:58:38 ERROR] Did not find first letter of stage
[SERVICE: 0x9F4,20:58:38 INFO] [1] serial number 000A27001438703A
[SERVICE: 0x9F4,20:58:38 INFO] [1] *** CONNECTED - Sending event out, device session 0.
[SERVICE: 0x9A8,20:58:40 INFO] [VolumeArrive] mask = 0x7D
[SERVICE: 0x9A8,20:58:40 INFO] looking up device # for \\.\G:
[SERVICE: 0x9A8,20:58:40 INFO] type 0x7 drive 0x1 partition 0x1
[SERVICE: 0x9A8,20:58:40 INFO] iTunes device #1 found with drive letter G, mask 0x40
[SERVICE: 0x9A8,20:58:40 INFO] [1] set waiting to mount = 0
[SERVICE: 0x9A8,20:58:40 INFO] [1] input #1 from src #0
[SERVICE: 0x9F8,20:58:40 INFO] [1] input #1
[SERVICE: 0x9A8,20:58:40 INFO] looking up device # for \\.\F:
[SERVICE: 0x9A8,20:58:40 INFO] type 0x2 drive 0x2 partition 0xffffffff
[SERVICE: 0x9A8,20:58:40 INFO] [SIMULATED INTERFACE ARRIVAL] generating connect event for device 2
[SERVICE: 0x9A8,20:58:40 INFO] looking up device # for \\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
[SERVICE: 0x9A8,20:58:40 INFO] type 0x7 drive 0x1 partition 0x0
[SERVICE: 0x9A8,20:58:40 INFO] looking up device # for \\.\E:
[SERVICE: 0x9A8,20:58:40 INFO] type 0x2 drive 0x1 partition 0xffffffff
[SERVICE: 0x9A8,20:58:40 INFO] looking up device # for \\.\D:
[SERVICE: 0x9A8,20:58:40 INFO] type 0x2 drive 0x0 partition 0xffffffff
[SERVICE: 0x9A8,20:58:40 INFO] [SIMULATED INTERFACE ARRIVAL] generating connect event for device 0
[SERVICE: 0x9A8,20:58:41 INFO] looking up device # for \\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
[SERVICE: 0x9A8,20:58:41 INFO] type 0x7 drive 0x1 partition 0x0
[SERVICE: 0x9F8,20:58:41 INFO] [MACHINE 1 INPUT #1] - (HDW) Volume Mount
[SERVICE: 0x9F8,20:58:41 INFO] [MACHINE 1 TRANSITION] - {Connected} ==> {Mounted}
[SERVICE: 0x9F8,20:58:41 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
[SERVICE: 0x9F8,20:58:41 INFO] [MACHINE 1 ACTIONS] - {Mounted}
[SERVICE: 0x9F8,20:58:41 INFO] [1] progress state is 2, Waiting to mount = 0
[SERVICE: 0x9F8,20:58:41 INFO] [1] progress state is 2, Waiting to mount = 0
[SERVICE: 0x9F8,20:58:41 ERROR] Did not find first letter of stage
[SERVICE: 0x9F8,20:58:41 INFO] [1] OS says filesystem is FAT32
[SERVICE: 0x9F8,20:58:41 INFO] File does not exist!
[SERVICE: 0x9F8,20:58:41 INFO] [1] iTunes Preference file does not exist!
[SERVICE: 0x9F8,20:58:41 INFO] [1] ===== iPod Mini =====
[SERVICE: 0x9F8,20:58:41 INFO] [1] progress state is 2, Waiting to mount = 0
[SERVICE: 0x9F8,20:58:41 INFO] 20:58:41, year 2007, day of yr. 36, GMT offset -8 isDST 1
[SERVICE: 0x9F8,20:58:41 INFO] [1] progress is now 0
[SERVICE: 0x9F8,20:58:43 INFO] [1] *** MOUNTED - Sending event out, device session 0.
[SERVICE: 0x9F8,20:58:43 INFO] [1] Auto-launch iTunes ENABLED
[SERVICE: 0x9F8,20:58:43 INFO] iTunes located at 'C:\Arquivos de programas\iTunes\iTunes.exe'
[SERVICE: 0x9A4,20:58:43 INFO] launching iTunes.
[SERVICE: 0x9C0,20:59:01 INFO] <0x4> Got Serial #
[SERVICE: 0xA18,20:59:01 INFO] <0x4> GetFormatType() returned unknown format 0
[SERVICE: 0xA18,20:59:01 INFO] [1] Progress state is 0, Waiting to disconnect = 0
[SERVICE: 0xA18,20:59:01 INFO] Mounted
[SERVICE: 0xA18,20:59:01 INFO] Device 1 is FAT32 and appears mounted, checking intermediate state...
[SERVICE: 0xA18,20:59:01 INFO] Device 1 not in intermediate state. It appears to be truly mounted.
[SERVICE: 0x9C0,20:59:01 INFO] Mounted
[SERVICE: 0x9C0,20:59:01 INFO] [1] already mounted!
[SERVICE: 0x9C0,20:59:01 INFO] [1] progress state is 0, Waiting to mount = 0
[SERVICE: 0x9E4,20:59:03 INFO] <0x4> GetFormatType() returned unknown format 0
[SERVICE: 0x9C0,20:59:03 INFO] [1] Progress state is 0, Waiting to disconnect = 0
[SERVICE: 0x9C0,20:59:03 INFO] Mounted
[SERVICE: 0x9C0,20:59:03 INFO] Device 1 is FAT32 and appears mounted, checking intermediate state...
[SERVICE: 0x9C0,20:59:03 INFO] Device 1 not in intermediate state. It appears to be truly mounted.
[SERVICE: 0xA18,20:59:03 INFO] <0x4> COM request for device 1 drive letter - G
[SERVICE: 0x9C0,20:59:03 INFO] Mounted
[SERVICE: 0x9C0,20:59:03 INFO] Device 0 is FAT32 and appears mounted, checking intermediate state...
[SERVICE: 0x9C0,20:59:03 INFO] Device 0 not in intermediate state. It appears to be truly mounted.
[SERVICE: 0x9C0,20:59:03 INFO] File does not exist!
[SERVICE: 0x9C0,20:59:03 INFO] [1] CreateFileW error 0x3
[SERVICE: 0x9C0,20:59:03 INFO] [1] WriteNewPrefs FAILED!
[SERVICE: 0x9C0,20:59:03 INFO] [1] ReadDevicePreferences() failed!
[SERVICE: 0xA04,21:03:50 INFO] [DevNodesChanged]
[SERVICE: 0xA04,21:03:50 INFO] [1] input #2 from src #0
[SERVICE: 0xA04,21:03:50 INFO] [DevNodesChanged]
[SERVICE: 0xA04,21:03:50 INFO] [1] input #3 from src #0
[SERVICE: 0x9FC,21:03:51 INFO] [1] input #2
[SERVICE: 0x9F4,21:03:51 INFO] [1] input #3
[SERVICE: 0xA04,21:03:51 INFO] [DevNodesChanged]
[SERVICE: 0xA04,21:03:51 INFO] [1] input #4 from src #0
[SERVICE: 0x9F8,21:03:51 INFO] [1] input #4
[SERVICE: 0x9FC,21:03:51 INFO] [MACHINE 1 INPUT #2] - (HDW) CheckDevNode
[SERVICE: 0xA04,21:03:51 INFO] [DevNodesChanged]
[SERVICE: 0xA04,21:03:51 INFO] [1] input #5 from src #0
[SERVICE: 0x9FC,21:03:52 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
[SERVICE: 0x9F4,21:03:52 INFO] [MACHINE 1 INPUT #3] - (HDW) CheckDevNode
[SERVICE: 0x9F4,21:03:52 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
[SERVICE: 0x9F8,21:03:52 INFO] [MACHINE 1 INPUT #4] - (HDW) CheckDevNode
[SERVICE: 0x9F8,21:03:52 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
[SERVICE: 0x9F8,21:03:52 INFO] [1] input #5
[SERVICE: 0x9F8,21:03:52 INFO] [MACHINE 1 INPUT #5] - (HDW) CheckDevNode
[SERVICE: 0x9F8,21:03:52 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
[SERVICE: 0xA04,21:04:18 INFO] [DevNodesChanged]
[SERVICE: 0xA04,21:04:18 INFO] [1] input #6 from src #0
[SERVICE: 0x9FC,21:04:18 INFO] [1] input #6
[SERVICE: 0x9FC,21:04:18 INFO] [MACHINE 1 INPUT #6] - (HDW) CheckDevNode
[SERVICE: 0x9FC,21:04:18 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
[SERVICE: 0xA04,21:16:24 INFO] [DevNodesChanged]
[SERVICE: 0xA04,21:16:24 INFO] [1] input #7 from src #0
[SERVICE: 0x9F4,21:16:24 INFO] [1] input #7
[SERVICE: 0x9F4,21:16:24 INFO] [MACHINE 1 INPUT #7] - (HDW) CheckDevNode
[SERVICE: 0x9F4,21:16:25 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
[SERVICE: 0xA04,21:33:20 INFO] [DevNodesChanged]
[SERVICE: 0xA04,21:33:20 INFO] [1] input #8 from src #0
[SERVICE: 0x9F8,21:33:20 INFO] [1] input #8
[SERVICE: 0xA04,21:33:20 INFO] [DevNodesChanged]
[SERVICE: 0xA04,21:33:20 INFO] [1] input #9 from src #0
[SERVICE: 0x9FC,21:33:20 INFO] [1] input #9
[SERVICE: 0xA04,21:33:21 INFO] [DevNodesChanged]
[SERVICE: 0xA04,21:33:21 INFO] [1] input #10 from src #0
[SERVICE: 0x9F4,21:33:21 INFO] [1] input #10
[SERVICE: 0x9F8,21:33:21 INFO] [MACHINE 1 INPUT #8] - (HDW) CheckDevNode
[SERVICE: 0x9F8,21:33:21 INFO] * CItunesDevice::HandleHardwareInput()
[SERVICE: 0x9F8,21:33:21 INFO] [1] progress is now 1
[SERVICE: 0x9FC,21:33:21 INFO] [MACHINE 1 INPUT #9] - (HDW) CheckDevNode
[SERVICE: 0x9F8,21:33:21 INFO] [MACHINE 1 TRANSITION] - {Mounted} ==> {Unknown}
[SERVICE: 0x9F8,21:33:21 INFO] [MACHINE 1 ACTIONS] - {Unknown}
[SERVICE: 0x9FC,21:33:21 INFO] * CItunesDevice::HandleHardwareInput()
[SERVICE: 0x9F4,21:33:21 INFO] [MACHINE 1 INPUT #10] - (HDW) CheckDevNode
[SERVICE: 0x9F4,21:33:21 INFO] * CItunesDevice::HandleHardwareInput()
[SERVICE: 0x9F8,21:33:21 INFO] [1] *** DISCONNECTED - Sending event out, device session 0.
[SERVICE: 0x9F8,21:33:21 INFO] [1] progress is now 0
[SERVICE: 0x9F8,21:33:21 INFO] [1] progress state is 0, Waiting to mount = 0
[SERVICE: 0xA04,21:33:21 INFO] [VolumeRemoved] existing mask 0x40, arrive mask 0x40
[SERVICE: 0xA04,21:33:21 INFO] [1] value = 1
[SERVICE: 0xA04,21:33:21 INFO] [1] input #11 from src #0
[SERVICE: 0x9FC,21:33:21 INFO] [1] input #11
[SERVICE: 0xA04,21:33:21 INFO] [InterfaceRemoved]
[SERVICE: 0xA04,21:33:21 INFO] [1] value = 0
[SERVICE: 0xA04,21:33:21 INFO] removed device number 1 from m_objDeviceNumberMap
[SERVICE: 0xA04,21:33:21 INFO] [1] input #12 from src #0
[SERVICE: 0x9F4,21:33:21 INFO] [1] input #12
[SERVICE: 0xA04,21:33:21 INFO] [DevNodesChanged]
[SERVICE: 0xA04,21:33:21 INFO] [1] Progress state is 3, Waiting to disconnect = 0
[SERVICE: 0xA04,21:33:21 ERROR] device number 0 exists, but isn't in m_objDeviceNumberMap!
[SERVICE: 0xA04,21:33:21 INFO] removed device interface "\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}" from m_vctDeviceInterfaces
[SERVICE: 0xA04,21:33:21 INFO] [1] input #13 from src #0
[SERVICE: 0x9F8,21:33:21 INFO] [1] input #13
[SERVICE: 0xA04,21:33:21 INFO] [DevNodesChanged]
[SERVICE: 0xA04,21:33:21 INFO] [1] input #14 from src #0
[SERVICE: 0x9FC,21:33:21 INFO] [MACHINE 1 INPUT #11] - (HDW) Volume Unmount
[SERVICE: 0x9FC,21:33:21 INFO] [1] progress is now 3
[SERVICE: 0x9FC,21:33:21 INFO] [1] Setting progress to 3
[SERVICE: 0x9FC,21:33:21 INFO] * CItunesDevice::HandleHardwareInput()
[SERVICE: 0x9F4,21:33:21 INFO] [MACHINE 1 INPUT #12] - (HDW) Interface Removal
[SERVICE: 0x9F4,21:33:21 INFO] * CItunesDevice::HandleHardwareInput()
[SERVICE: 0x9F4,21:33:21 INFO] [1] input #14
[SERVICE: 0x9F8,21:33:21 INFO] [MACHINE 1 INPUT #13] - (HDW) CheckDevNode
[SERVICE: 0x9F8,21:33:22 INFO] * CItunesDevice::HandleHardwareInput()
[SERVICE: 0x9F4,21:33:22 INFO] [MACHINE 1 INPUT #14] - (HDW) CheckDevNode
[SERVICE: 0x9F4,21:33:22 INFO] * CItunesDevice::HandleHardwareInput()
[SERVICE: 0xA04,21:36:21 INFO] [DevNodesChanged]
[SERVICE: 0xA04,21:36:21 INFO] [1] input #15 from src #0
[SERVICE: 0x9FC,21:36:21 INFO] [1] input #15
[SERVICE: 0x9FC,21:36:21 INFO] [MACHINE 1 INPUT #15] - (HDW) CheckDevNode
[SERVICE: 0x9FC,21:36:21 INFO] * CItunesDevice::HandleHardwareInput()
[SERVICE: 0xA04,21:48:20 INFO] [DevNodesChanged]
[SERVICE: 0xA04,21:48:20 INFO] [1] input #16 from src #0
[SERVICE: 0x9F8,21:48:20 INFO] [1] input #16
[SERVICE: 0x9F8,21:48:20 INFO] [MACHINE 1 INPUT #16] - (HDW) CheckDevNode
[SERVICE: 0x9F8,21:48:20 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
[SERVICE: 0xA04,21:48:20 INFO] [DevNodesChanged]
[SERVICE: 0xA04,21:48:20 INFO] [1] input #17 from src #0
[SERVICE: 0x9F4,21:48:20 INFO] [1] input #17
[SERVICE: 0xA04,21:48:20 INFO] [DevNodesChanged]
[SERVICE: 0xA04,21:48:20 INFO] [1] input #18 from src #0
[SERVICE: 0x9FC,21:48:20 INFO] [1] input #18
[SERVICE: 0x9F4,21:48:21 INFO] [MACHINE 1 INPUT #17] - (HDW) CheckDevNode
[SERVICE: 0x9F4,21:48:21 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
[SERVICE: 0x9FC,21:48:21 INFO] [MACHINE 1 INPUT #18] - (HDW) CheckDevNode
[SERVICE: 0x9FC,21:48:21 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
[SERVICE: 0xA04,21:48:31 INFO] [InterfaceArrival] \\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
[SERVICE: 0xA04,21:48:31 INFO] type 0x7 drive 0x1 partition 0x0
[SERVICE: 0xA04,21:48:31 INFO] [1] set waiting to mount = 1
[SERVICE: 0xA04,21:48:31 INFO] [1] Attempt to reassign from session 0 to session 0, DENIED!
[SERVICE: 0xA04,21:48:31 INFO] [1] added device interface "\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}" to m_objDeviceNameMap
[SERVICE: 0xA04,21:48:31 INFO] [1] added state machine 1 to m_objDeviceIdMap
[SERVICE: 0xA04,21:48:31 INFO] [1] added device number 1 to m_objDeviceNumberMap
[SERVICE: 0xA04,21:48:31 INFO] [1] added device interface "\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}" to m_vctDeviceInterfaces
[SERVICE: 0xA04,21:48:31 INFO] [1] input #19 from src #0
[SERVICE: 0x9F8,21:48:31 INFO] [1] input #19
[SERVICE: 0xA04,21:48:31 INFO] [DevNodesChanged]
[SERVICE: 0xA04,21:48:31 INFO] [1] input #20 from src #0
[SERVICE: 0x9F4,21:48:31 INFO] [1] input #20
[SERVICE: 0xA04,21:48:31 INFO] [DevNodesChanged]
[SERVICE: 0xA04,21:48:31 INFO] [1] input #21 from src #0
[SERVICE: 0x9FC,21:48:31 INFO] [1] input #21
[SERVICE: 0x9F8,21:48:31 INFO] [MACHINE 1 INPUT #19] - (HDW) Interface Arrival
[SERVICE: 0x9F8,21:48:31 INFO] [1] progress state is 2, Waiting to mount = 1
[SERVICE: 0x9F8,21:48:31 INFO] [1] progress is now 2
[SERVICE: 0x9F8,21:48:31 INFO] [1] progress is now 2
[SERVICE: 0x9F8,21:48:31 INFO] [MACHINE 1 TRANSITION] - {Unknown} ==> {Connected}
[SERVICE: 0x9F8,21:48:31 INFO] [MACHINE 1 ACTIONS] - {Connected}
[SERVICE: 0x9F8,21:48:31 INFO] [1] SCSI Inquiry attempt #0
[SERVICE: 0x9F8,21:48:31 INFO] VendorId: Apple
[SERVICE: 0x9F8,21:48:31 INFO] ProductId: iPod
[SERVICE: 0x9F8,21:48:31 INFO] revision: 1.62
[SERVICE: 0xA04,21:48:31 INFO] [VolumeArrive] mask = 0x40
[SERVICE: 0xA04,21:48:31 INFO] looking up device # for \\.\G:
[SERVICE: 0xA04,21:48:31 INFO] type 0x7 drive 0x1 partition 0x1
[SERVICE: 0xA04,21:48:31 INFO] iTunes device #1 found with drive letter G, mask 0x40
[SERVICE: 0xA04,21:48:31 INFO] [1] set waiting to mount = 0
[SERVICE: 0xA04,21:48:31 INFO] [1] input #22 from src #0
[SERVICE: 0x9F8,21:48:31 INFO] vendor bytes:
[SERVICE: 0x9F8,21:48:31 INFO] 02 01 00 00 00 00 00 00 00 07 00 02 92 00 00 00 00 00 00 00
[SERVICE: 0xA04,21:48:31 INFO] [DevNodesChanged]
[SERVICE: 0xA04,21:48:31 INFO] [1] input #23 from src #0
[SERVICE: 0xA04,21:48:31 INFO] [DevNodesChanged]
[SERVICE: 0xA04,21:48:31 INFO] [1] input #24 from src #0
[SERVICE: 0xA04,21:48:31 INFO] [DevNodesChanged]
[SERVICE: 0xA04,21:48:31 INFO] [1] input #25 from src #0
[SERVICE: 0x9F8,21:48:31 INFO] [1] firmware version: 1.62 (0x13E)
[SERVICE: 0x9F8,21:48:31 INFO] [1] Power State: Powered
[SERVICE: 0x9F8,21:48:31 INFO] [1] Checkpoint attempt #0
[SERVICE: 0x9F8,21:48:31 ERROR] Did not find first letter of stage
[SERVICE: 0x9F8,21:48:31 INFO] [1] serial number 000A27001438703A
[SERVICE: 0x9F8,21:48:31 INFO] [1] *** CONNECTED - Sending event out, device session 0.
[SERVICE: 0x9F4,21:48:31 INFO] [MACHINE 1 INPUT #20] - (HDW) CheckDevNode
[SERVICE: 0x9F4,21:48:31 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
[SERVICE: 0x9FC,21:48:31 INFO] [MACHINE 1 INPUT #21] - (HDW) CheckDevNode
[SERVICE: 0x9FC,21:48:31 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
[SERVICE: 0x9FC,21:48:31 INFO] [1] input #22
[SERVICE: 0x9F8,21:48:31 INFO] [1] input #23
[SERVICE: 0x9F4,21:48:31 INFO] [1] input #24
[SERVICE: 0x9FC,21:48:31 INFO] [MACHINE 1 INPUT #22] - (HDW) Volume Mount
[SERVICE: 0x9FC,21:48:31 INFO] [MACHINE 1 TRANSITION] - {Connected} ==> {Mounted}
[SERVICE: 0x9FC,21:48:31 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
[SERVICE: 0x9FC,21:48:31 INFO] [MACHINE 1 ACTIONS] - {Mounted}
[SERVICE: 0x9FC,21:48:31 INFO] [1] progress state is 2, Waiting to mount = 0
[SERVICE: 0x9FC,21:48:31 INFO] [1] progress state is 2, Waiting to mount = 0
[SERVICE: 0x9FC,21:48:31 ERROR] Did not find first letter of stage
[SERVICE: 0x9FC,21:48:32 INFO] [1] OS says filesystem is FAT32
[SERVICE: 0x9FC,21:48:32 INFO] File does not exist!
[SERVICE: 0x9FC,21:48:32 INFO] [1] iTunes Preference file does not exist!
[SERVICE: 0x9FC,21:48:32 INFO] [1] ===== iPod Mini =====
[SERVICE: 0x9FC,21:48:32 INFO] [1] progress state is 2, Waiting to mount = 0
[SERVICE: 0x9FC,21:48:32 INFO] 21:48:32, year 2007, day of yr. 36, GMT offset -8 isDST 1
[SERVICE: 0x9FC,21:48:32 INFO] [1] progress is now 0
[SERVICE: 0x9FC,21:48:34 INFO] [1] *** MOUNTED - Sending event out, device session 0.
[SERVICE: 0x9FC,21:48:34 INFO] [1] Auto-launch iTunes ENABLED
[SERVICE: 0x9FC,21:48:34 INFO] iTunes located at 'C:\Arquivos de programas\iTunes\iTunes.exe'
[SERVICE: 0x9F8,21:48:34 INFO] [MACHINE 1 INPUT #23] - (HDW) CheckDevNode
[SERVICE: 0x9F8,21:48:34 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
[SERVICE: 0x9F4,21:48:34 INFO] [MACHINE 1 INPUT #24] - (HDW) CheckDevNode
[SERVICE: 0x9F4,21:48:34 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
[SERVICE: 0x9F4,21:48:34 INFO] [1] input #25
[SERVICE: 0x9A4,21:48:34 INFO] launching iTunes.
[SERVICE: 0x9F4,21:48:34 INFO] [MACHINE 1 INPUT #25] - (HDW) CheckDevNode
[SERVICE: 0x9F4,21:48:34 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
[SERVICE: 0x900,21:48:49 INFO] <0x4> Got Serial #
[SERVICE: 0xAD8,21:48:49 INFO] <0x4> GetFormatType() returned unknown format 0
[SERVICE: 0x480,21:48:49 INFO] [1] Progress state is 0, Waiting to disconnect = 0
[SERVICE: 0x480,21:48:49 INFO] Mounted
[SERVICE: 0x480,21:48:49 INFO] Device 1 is FAT32 and appears mounted, checking intermediate state...
[SERVICE: 0x480,21:48:49 INFO] Device 1 not in intermediate state. It appears to be truly mounted.
[SERVICE: 0x900,21:48:49 INFO] Mounted
[SERVICE: 0x900,21:48:49 INFO] [1] already mounted!
[SERVICE: 0x900,21:48:49 INFO] [1] progress state is 0, Waiting to mount = 0
[SERVICE: 0x480,21:48:51 INFO] <0x4> GetFormatType() returned unknown format 0
[SERVICE: 0xAD8,21:48:51 INFO] [1] Progress state is 0, Waiting to disconnect = 0
[SERVICE: 0xAD8,21:48:51 INFO] Mounted
[SERVICE: 0xAD8,21:48:51 INFO] Device 1 is FAT32 and appears mounted, checking intermediate state...
[SERVICE: 0xAD8,21:48:51 INFO] Device 1 not in intermediate state. It appears to be truly mounted.
[SERVICE: 0x900,21:48:51 INFO] <0x4> COM request for device 1 drive letter - G
[SERVICE: 0xAD8,21:48:51 INFO] Mounted
[SERVICE: 0xAD8,21:48:51 INFO] Device 0 is FAT32 and appears mounted, checking intermediate state...
[SERVICE: 0xAD8,21:48:51 INFO] Device 0 not in intermediate state. It appears to be truly mounted.
[SERVICE: 0xAD8,21:48:51 INFO] File does not exist!
[SERVICE: 0xAD8,21:48:51 INFO] [1] CreateFileW error 0x3
[SERVICE: 0xAD8,21:48:51 INFO] [1] WriteNewPrefs FAILED!
[SERVICE: 0xAD8,21:48:51 INFO] [1] ReadDevicePreferences() failed!
[SERVICE: 0xA04,22:16:10 INFO] [DevNodesChanged]
[SERVICE: 0xA04,22:16:10 INFO] [1] input #26 from src #0
[SERVICE: 0x9FC,22:16:10 INFO] [1] input #26
[SERVICE: 0x9FC,22:16:10 INFO] [MACHINE 1 INPUT #26] - (HDW) CheckDevNode
[SERVICE: 0x9FC,22:16:10 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
[SERVICE: 0xA04,23:05:50 INFO] [DevNodesChanged]
[SERVICE: 0xA04,23:05:50 INFO] [1] input #27 from src #0
[SERVICE: 0x9F8,23:05:50 INFO] [1] input #27
[SERVICE: 0xA04,23:05:50 INFO] [DevNodesChanged]
[SERVICE: 0xA04,23:05:50 INFO] [1] input #28 from src #0
[SERVICE: 0x9F4,23:05:50 INFO] [1] input #28
[SERVICE: 0x9F8,23:05:50 INFO] [MACHINE 1 INPUT #27] - (HDW) CheckDevNode
[SERVICE: 0x9F8,23:05:50 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
[SERVICE: 0x9F4,23:05:50 INFO] [MACHINE 1 INPUT #28] - (HDW) CheckDevNode
[SERVICE: 0x9F4,23:05:50 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001438703a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
[SERVICE: 0xD58,23:16:32 INFO] <0x4> Got Serial #
[SERVICE: 0xD58,23:16:32 INFO] <0x4> GetFormatType() returned unknown format 0
[SERVICE: 0xBE0,23:16:32 INFO] [1] Progress state is 0, Waiting to disconnect = 0
[SERVICE: 0xBE0,23:16:32 INFO] Mounted
[SERVICE: 0xBE0,23:16:32 INFO] Device 1 is FAT32 and appears mounted, checking intermediate state...
[SERVICE: 0xBE0,23:16:32 INFO] Device 1 not in intermediate state. It appears to be truly mounted.
[SERVICE: 0xD58,23:16:32 INFO] Mounted
[SERVICE: 0xD58,23:16:32 INFO] [1] already mounted!
[SERVICE: 0xD58,23:16:32 INFO] [1] progress state is 0, Waiting to mount = 0
[SERVICE: 0xBE0,23:16:34 INFO] <0x4> GetFormatType() returned unknown format 0
[SERVICE: 0xD58,23:16:34 INFO] [1] Progress state is 0, Waiting to disconnect = 0
[SERVICE: 0xD58,23:16:34 INFO] Mounted
[SERVICE: 0xD58,23:16:34 INFO] Device 1 is FAT32 and appears mounted, checking intermediate state...
[SERVICE: 0xD58,23:16:34 INFO] Device 1 not in intermediate state. It appears to be truly mounted.
[SERVICE: 0x908,23:16:34 INFO] <0x4> COM request for device 1 drive letter - G
[SERVICE: 0x908,23:16:35 INFO] Mounted
[SERVICE: 0x908,23:16:35 INFO] Device 0 is FAT32 and appears mounted, checking intermediate state...
[SERVICE: 0x908,23:16:35 INFO] Device 0 not in intermediate state. It appears to be truly mounted.
[SERVICE: 0x908,23:16:35 INFO] File does not exist!
[SERVICE: 0x908,23:16:35 INFO] [1] CreateFileW error 0x3
[SERVICE: 0x908,23:16:35 INFO] [1] WriteNewPrefs FAILED!
[SERVICE: 0x908,23:16:35 INFO] [1] ReadDevicePreferences() failed!
[SERVICE: 0xD58,23:16:45 INFO] [1] Progress state is 0, Waiting to disconnect = 0
[SERVICE: 0xD58,23:16:45 INFO] Mounted
[SERVICE: 0xD58,23:16:45 INFO] Device 1 is FAT32 and appears mounted, checking intermediate state...
[SERVICE: 0xD58,23:16:45 INFO] Device 1 not in intermediate state. It appears to be truly mounted.
[SERVICE: 0xBE0,23:16:45 INFO] Mounted
[SERVICE: 0xBE0,23:16:45 INFO] [1] already mounted!
[SERVICE: 0xBE0,23:16:45 INFO] [1] progress state is 0, Waiting to mount = 0
[SERVICE: 0x908,23:16:45 INFO] Mounted
[SERVICE: 0x908,23:16:45 INFO] Device 0 is FAT32 and appears mounted, checking intermediate state...
[SERVICE: 0x908,23:16:45 INFO] Device 0 not in intermediate state. It appears to be truly mounted.
[SERVICE: 0x908,23:16:45 INFO] File does not exist!
[SERVICE: 0x908,23:16:45 INFO] [1] CreateFileW error 0x3
[SERVICE: 0x908,23:16:45 INFO] [1] WriteNewPrefs FAILED!
[SERVICE: 0x908,23:16:45 INFO] [1] ReadDevicePreferences() failed!
[SERVICE: 0xD58,23:16:45 INFO] [1] Progress state is 0, Waiting to disconnect = 0
[SERVICE: 0xD58,23:16:45 INFO] Mounted
[SERVICE: 0xD58,23:16:45 INFO] Device 1 is FAT32 and appears mounted, checking intermediate state...
[SERVICE: 0xD58,23:16:45 INFO] Device 1 not in intermediate state. It appears to be truly mounted.I formated my iPod using windows
-
How to restore a database from host A to host B by using RMAN
Hi there
I wanted to restore 1 database from machine A to machine B with the differente files systemes. I did these steps below, but I have a problem when I restore the controlfile from machine A to machine B.
1-copy the controlfile from machine A to machine B by using OS utility.
2-startup nomount the database on machine B.
3-connect target and catalog RMAN.
4-I have to restore the controlfile from last full backup of the machine A to machine B (see the procedure RMAN).
I have the error messages like:
RMAN> connect target /
RMAN-06006: connected to target database: dbtest (not mounted)
RMAN> connect catalog rman/rman@rcattest
RMAN-06008: connected to recovery catalog database
RMAN> run {
2> allocate channel c1 type 'sbt_tape' ;
3> restore controlfile ;
4> }
RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-08030: allocated channel: c1
RMAN-08500: channel c1: sid=10 devtype=SBT_TAPE
RMAN-08526: channel c1: VERITAS NetBackup for Oracle8 - Release 3.2GA
RMAN-03022: compiling command: restore
RMAN-03022: compiling command: IRESTORE
RMAN-03023: executing command: IRESTORE
RMAN-08016: channel c1: starting datafile backupset restore
RMAN-08502: set_count=177 set_stamp=419449530 creation_time=19-JAN-01
RMAN-08021: channel c1: restoring controlfile
RMAN-08505: output filename=/db/oracle/dbtest/dbtestcontrol01.ctl
RMAN-03026: error recovery releasing channel resources
RMAN-08031: released channel: c1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: restore
RMAN-03007: retryable error occurred during execution of command: IRESTORE
RMAN-07004: unhandled exception during command execution on channel c1
RMAN-10035: exception raised in RPC: ORA-19507: failed to retrieve sequential file, handle="5hcg0ilq_1_1", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: sbtrestore: Backup file not found.
RMAN-10031: ORA-19624 occurred during call to DBMS_BACKUP_RESTORE.RESTOREBACKUPPIE
nullHi there
I'm also trying to restore a full RMAN backup to our DR site using Netbackup as MML
My scenario is:
We have one tape library at our PROD data center and another one at our DR site both using Netbackup as Storage manager
I performed a full RMAN backup on 4 DLT tapes with recovery catalog at our PROD datacenter, then I removed the 4 tapes and place it in our tape lib at DR site
I tried to import the tapes using bpimport from Netbackup which has been successful up to now
But when I tried to restore controlfile from RMAN, I get the following error:
connected to target database: prod (not mounted)
connected to recovery catalog database
RMAN> run {
2> allocate channel c1 type 'SBT_TAPE';
3> allocate channel c2 type 'SBT_TAPE';
4> allocate channel c3 type 'SBT_TAPE';
5> allocate channel c4 type 'SBT_TAPE';
6> set until time '16-AUG-2005 15:00:00';
7> restore controlfile;
8> }
allocated channel: c1
channel c1: sid=13 devtype=SBT_TAPE
channel c1: VERITAS NetBackup for Oracle - Release 5.0GA (2003103005)
allocated channel: c2
channel c2: sid=12 devtype=SBT_TAPE
channel c2: VERITAS NetBackup for Oracle - Release 5.0GA (2003103005)
allocated channel: c3
channel c3: sid=11 devtype=SBT_TAPE
channel c3: VERITAS NetBackup for Oracle - Release 5.0GA (2003103005)
allocated channel: c4
channel c4: sid=9 devtype=SBT_TAPE
channel c4: VERITAS NetBackup for Oracle - Release 5.0GA (2003103005)
executing command: SET until clause
Starting restore at 18-AUG-2005:10:28:23
channel c1: starting datafile backupset restore
channel c1: restoring controlfile
output filename=/oracle9i/dba/dbs/control01_drprod.ctl
released channel: c1
released channel: c2
released channel: c3
released channel: c4
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 08/18/2005 10:28:25
ORA-19507: failed to retrieve sequential file, handle="df_t566491965_s8860_p1", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
Failed to process backup file <df_t566491965_s8860_p1>
Anyone mastering this, please help !!
thks
BL -
Newbie Trying to restore Oracle database. please help
Hi All,
I am a newbie who is trying to restore Oracle database, I currently use RMAN to backup the database, but the database needs to be restored onto a test server, I'm not quite sure of what I need to do or where I need to start here.
I currently backup the following
SPfile
ControlFile
Datafile
Archive Log
If someone can point me in the right direction or maybe a link to a website, I would be very grateful.
Thanks.Hi,
login to your box using ssh or telnet
1. rman> connect target /
3. rman >startup force nomount;
4. rman >restore spfile from '/u01/restore/restore/2009_02_07/o1_mf_s_678160942_4rstxj3k_.bkp';
5. rman > shutdown immediate;
6. rman > startup nomount;
7. rman > restore controlfile from '/u01/restore/restore/2009_02_07/o1_mf_s_678160942_4rstxj3k_.bkp';
8. rman > mount database;
9. rman > restore database;
10.rman > recover database;
11. rman > sql 'alter database open resetlogs';
below is the sample i've done on my test environment
RMAN> startup mount;
connected to target database (not started)
Oracle instance started
database mounted
Total System Global Area 167772160 bytes
Fixed Size 1218316 bytes
Variable Size 67111156 bytes
Database Buffers 96468992 bytes
Redo Buffers 2973696 bytes
RMAN> backup database;
Starting backup at 11-FEB-09
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=158 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=/u01/app/oracle/oradata/ORCL1/datafile/o1_mf_system_4qzm5q6g_.dbf
input datafile fno=00003 name=/u01/app/oracle/oradata/ORCL1/datafile/o1_mf_sysaux_4qzm5qc1_.dbf
input datafile fno=00005 name=/u01/app/oracle/oradata/ORCL1/datafile/o1_mf_example_4qzmky86_.dbf
input datafile fno=00002 name=/u01/app/oracle/oradata/ORCL1/datafile/o1_mf_undotbs1_4qzm5sgk_.dbf
input datafile fno=00004 name=/u01/app/oracle/oradata/ORCL1/datafile/o1_mf_users_4qzm5vqj_.dbf
channel ORA_DISK_1: starting piece 1 at 11-FEB-09
channel ORA_DISK_1: finished piece 1 at 11-FEB-09
piece handle=/backup/ORCL1_1_1_678528722 tag=TAG20090211T081201 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:02:35
Finished backup at 11-FEB-09
Starting Control File and SPFILE Autobackup at 11-FEB-09
piece handle=/backup/c-1061732667-20090211-00 comment=NONE
Finished Control File and SPFILE Autobackup at 11-FEB-09
RMAN>
--- deleted all my file including spfile..
RMAN> shutdown immediate;
database dismounted
Oracle instance shut down
RMAN> exit
Recovery Manager complete.
[oracle]:/home/oracle>
[LinuxForOracle.bai.com]: orcl1 >rman target /
Recovery Manager: Release 10.2.0.1.0 - Production on Wed Feb 11 08:17:27 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database (not started)
RMAN> startup nomount;
startup failed: ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/u01/app/oracle/product/10.2.0.3/dbs/initorcl1.ora'
starting Oracle instance without parameter file for retrival of spfile
Oracle instance started
Total System Global Area 159383552 bytes
Fixed Size 1218268 bytes
Variable Size 54528292 bytes
Database Buffers 100663296 bytes
Redo Buffers 2973696 bytes
RMAN> restore spfile from '/backup/c-1061732667-20090211-00';
Starting restore at 11-FEB-09
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=36 devtype=DISK
channel ORA_DISK_1: autobackup found: /backup/c-1061732667-20090211-00
channel ORA_DISK_1: SPFILE restore from autobackup complete
Finished restore at 11-FEB-09
RMAN> shutdown immediate;
Oracle instance shut down
RMAN> startup nomount;
connected to target database (not started)
Oracle instance started
Total System Global Area 167772160 bytes
Fixed Size 1218316 bytes
Variable Size 67111156 bytes
Database Buffers 96468992 bytes
Redo Buffers 2973696 bytes
RMAN> restore controlfile from '/backup/c-1061732667-20090211-00';
Starting restore at 11-FEB-09
using channel ORA_DISK_1
channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:16
output filename=/u01/app/oracle/oradata/ORCL1/controlfile/o1_mf_4s5n6jvq_.ctl
output filename=/u01/app/oracle/flash_recovery_area/ORCL1/controlfile/o1_mf_4s5n6n4f_.ctl
Finished restore at 11-FEB-09
RMAN> mount database;
database mounted
released channel: ORA_DISK_1
RMAN> restore database;
Starting restore at 11-FEB-09
Starting implicit crosscheck backup at 11-FEB-09
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
Crosschecked 1 objects
Finished implicit crosscheck backup at 11-FEB-09
Starting implicit crosscheck copy at 11-FEB-09
using channel ORA_DISK_1
Finished implicit crosscheck copy at 11-FEB-09
searching for all files in the recovery area
cataloging files...
no files cataloged
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /u01/app/oracle/oradata/ORCL1/datafile/o1_mf_system_4qzm5q6g_.dbf
restoring datafile 00002 to /u01/app/oracle/oradata/ORCL1/datafile/o1_mf_undotbs1_4qzm5sgk_.dbf
restoring datafile 00003 to /u01/app/oracle/oradata/ORCL1/datafile/o1_mf_sysaux_4qzm5qc1_.dbf
restoring datafile 00004 to /u01/app/oracle/oradata/ORCL1/datafile/o1_mf_users_4qzm5vqj_.dbf
restoring datafile 00005 to /u01/app/oracle/oradata/ORCL1/datafile/o1_mf_example_4qzmky86_.dbf
channel ORA_DISK_1: reading from backup piece /backup/ORCL1_1_1_678528722
channel ORA_DISK_1: restored backup piece 1
piece handle=/backup/ORCL1_1_1_678528722 tag=TAG20090211T081201
channel ORA_DISK_1: restore complete, elapsed time: 00:02:57
Finished restore at 11-FEB-09
RMAN> recover database;
Starting recover at 11-FEB-09
using channel ORA_DISK_1
starting media recovery
archive log thread 1 sequence 6 is already on disk as file /u01/app/oracle/flash_recovery_area/ORCL1/onlinelog/o1_mf_2_4qzmccv0_.log
archive log filename=/u01/app/oracle/flash_recovery_area/ORCL1/onlinelog/o1_mf_2_4qzmccv0_.log thread=1 sequence=6
media recovery complete, elapsed time: 00:00:01
Finished recover at 11-FEB-09
RMAN> sql 'alter database open resetlogs';
sql statement: alter database open resetlogs
RMAN> exit
[oracle]:/home/oracle>
[LinuxForOracle.bai.com]: orcl1 >sqlplus '/ as sysdba'
SQL> select name from v$database;
NAME
ORCL1
SQL>
i hope this will help you... enjoy!
Regards,
baidba -
How to create a Database - Please Help!
Hi everyone, I would like to create a database program for a video store and have a simple web page as the interface between the user and the database.
I would like to be able to do the following with the database:
Add new film details
Delete Film Details
Edit already existing film details
Search the database for a keyword (Star of film, Director)
Search the database for a certain title
The data I would like the Database to store is:
Title of film
Star of film
Director of film
Release Date
Number of copies in stock.
This is for a university assignment, the problem is that I don't know where to begin such a program, can anyone point me in the direction of any good books that covers this topic.
Thanks everyone
NoelHave you got your table design done yet ? Do you have to use Java ? What resources have you got available ? Do you have access to an infrastruture like Oracle, PL/SQL and Apache ? If so, you can use mod_plsql from Apache to link up with Oracle. You will need to write packages in PL/SQL to generate the HTML. The servlet option is more involved.
-
How we restore the database dmp file in Oracle10g express edition
please provide me answers as soon as possible...my database is fresh and i want to restore the dmp file in my database, that dmp file is exported by oracle 10g database on other machine.
there is no impdb or expdb command. There is an imp (for import) and exp (for export).
I assume you want to replace the existing database with the one on your laptop.
A much better and more efficient way to do this would be to backup the database on your home machine and then restore it to your office database.
but before you do anything, backup the database you are copying/importing to (backup option is available on the windows menu or its a batch or shell script in the appropriate directory) -
Urgent: How to restore a database to another machine without backup files
I am a beginner with Oracle and need to solve a tough problem.
I have all the files of a database on a hard disk without previously backed up. I don't have the old machine right now, I only have the hard disk from the old machine, and the new machine. There is an Oracle 9i database on the harddisk, and we need make the database work.
I've already installed the Oracle 9i on the computer(Win XP), put the files to the right folder, modified the listener.ora and tnsnames.ora, then I added the database from:
OEM -> Navigator -> Add database to tree -> Add selected databases from your local tnsnames.ora file ...
When I tried to connect to the database, I got the error:
ORA-12500: TNS: listener failed to start a dedicated server process.
The setting in my tnsnames.ora and listener.ora are all correct. tnsping <tnsname> is OK. Besides, the default database installed by the ORACLE software works fine.
Both the old machine and the new machine are Window XP. Both the old database and the new database are ORACLE 9i.
Any idea on how to mannually make it work? Thank you inadvance!
LihuaLihua,
Since you didn't create the DB with DBCA, you will need to manually create a SID.
From a command window type
ORADIM -NEW -SID mydb
Replace mydb with the DBNAME specified in your init.ora and listener.ora files.
This will create and start the service. The service should now be available as a windows service in the computer management area...
From a COMMAND window type
set oracle_sid=mydb
sqlplus /nolog
connect / as sysdba
startup
If you have all the files in the correct location the DB should start. You should then be able to connect with the database manager. Good Luck.
--Paul -
How to restore a database from backup taken in standby database
Its our environment standard to run backup in standby database.
Now we have to perform refresh production database to UAT database.
I have performed normal refresh/duplicate. Is there any additional procedures need to be followed to perform refresh from standby database backupRMAN Restoration to New Server with Different Directory and New Database Name
In this case, I have an existing production database with RMAN Level 0 backup:
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'C:\flash_recovery_area\galaxy\backupsets\autobackup\SAMSUNG-ctl_%F';
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'C:\flash_recovery_area\galaxy\backupsets\level0\level0-%d-%T-%U' MAXPIECESIZE 4G;
DELETE NOPROMPT ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE - 7';
SHOW ALL;
REPORT SCHEMA;
LIST BACKUP OF DATABASE;
REPORT NEED BACKUP;
REPORT UNRECOVERABLE;
LIST EXPIRED BACKUP BY FILE;
LIST ARCHIVELOG ALL;
REPORT OBSOLETE;
CROSSCHECK BACKUP DEVICE TYPE DISK;
CROSSCHECK COPY OF ARCHIVELOG ALL;
DELETE NOPROMPT EXPIRED BACKUP DEVICE TYPE DISK;
DELETE NOPROMPT OBSOLETE DEVICE TYPE DISK;
RUN {
sql 'alter system archive log current';
BACKUP INCREMENTAL LEVEL 0 DATABASE PLUS ARCHIVELOG DELETE INPUT;
LIST BACKUP OF DATABASE;
REPORT NEED BACKUP;
REPORT UNRECOVERABLE;
LIST EXPIRED BACKUP BY FILE;
LIST ARCHIVELOG ALL;
REPORT OBSOLETE;
CROSSCHECK BACKUP DEVICE TYPE DISK;
CROSSCHECK COPY OF ARCHIVELOG ALL;
DELETE NOPROMPT EXPIRED BACKUP DEVICE TYPE DISK;
DELETE NOPROMPT OBSOLETE DEVICE TYPE DISK;
The backupsets will be restored into a new server with different file structure. The database will also be different. In the new server, I have created a blank database (SID or CUSTOM database with the name DBGRID). This is easier so I won't have to create any directories, user ORADIM or create new PWFile.
This document assumes that a blank (starter) database has been created in the new server. The RDBMS version is the same as the source database.
In this example, the source database name is GALAXY and the target database name is DBGRID.
Let me know if you have any feedback or comments. All I want is to share these steps with you and make it better so we can help other DBA's as well.
Steps start here
-->
ORIGINAL DATABASE: GALAXY
DUPLICATE DATABASE: DBGRID
FROM THE SOURCE DATABASE (GALAXY)
1. Backup the database using RMAN incremental backups.
2. Check the RMAN logs generated and look for the result of the command:
C:\Users\Administrator>set ORACLE_SID=GALAXY
C:\Users\Administrator>rman target /
Recovery Manager: Release 11.2.0.1.0 - Production on Wed Aug 1 06:55:08 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: GALAXY (DBID=3578870300)
RMAN> report schema;
using target database control file instead of recovery catalog
Report of database schema for database with db_unique_name GALAXY
List of Permanent Datafiles
===========================
File Size(MB) Tablespace RB segs Datafile Name
1 680 SYSTEM *** C:\ORACLE\ORADATA\GALAXY\SYSTEM01.DBF
2 510 SYSAUX *** C:\ORACLE\ORADATA\GALAXY\SYSAUX01.DBF
3 140 UNDOTBS1 *** C:\ORACLE\ORADATA\GALAXY\UNDOTBS01.DBF
4 5 USERS *** C:\ORACLE\ORADATA\GALAXY\USERS01.DBF
5 106 EXAMPLE *** C:\ORACLE\ORADATA\GALAXY\EXAMPLE01.DBF
6 2048 ALLINDEX *** C:\ORACLE\ORADATA\GALAXY\ALLINDEX01.DBF
List of Temporary Files
=======================
File Size(MB) Tablespace Maxsize(MB) Tempfile Name
1 29 TEMP 32767 C:\ORACLE\ORADATA\GALAXY\TEMP01.DBF
This command shows all the physical database files that will be backed-up by the current RMAN job.
List the online redolog files:
SQL> select * from v$logfile;
GROUP# STATUS TYPE MEMBER IS_
3 ONLINE C:\ORACLE\ORADATA\GALAXY\REDO03A.LOG NO
3 ONLINE C:\ORACLE\ORADATA\GALAXY\REDO03B.LOG NO
2 ONLINE C:\ORACLE\ORADATA\GALAXY\REDO02A.LOG NO
2 ONLINE C:\ORACLE\ORADATA\GALAXY\REDO02B.LOG NO
1 ONLINE C:\ORACLE\ORADATA\GALAXY\REDO01A.LOG NO
1 ONLINE C:\ORACLE\ORADATA\GALAXY\REDO01B.LOG NO
6 rows selected.
3. Since the target server has different structure, it is easier to use a pfile to startup the database rather than restoring the spfile from backup.
C:\Users\Administrator>set ORACLE_SID=GALAXY
C:\Users\Administrator>sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 1 06:56:14 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> create pfile='C:\TEMP\initGALAXYrman.ora' from spfile;
File created.
4. Edit the pfile to have the following parameters:
(These parameters has been edited to fit the target database requirements)
galaxy entries has been changed to dbgrid. Directories has been corrected as well.
dbgrid.__db_cache_size=192937984
dbgrid.__java_pool_size=4194304
dbgrid.__large_pool_size=4194304
dbgrid.__oracle_base='D:\app\Administrator'#ORACLE_BASE set from environment
dbgrid.__pga_aggregate_target=281018368
dbgrid.__sga_target=524288000
dbgrid.__shared_io_pool_size=0
dbgrid.__shared_pool_size=301989888
dbgrid.__streams_pool_size=4194304
*.audit_file_dest='D:\app\Administrator\admin\DBGRID\adump'
*.audit_trail='db'
*.compatible='11.2.0.0.0'
*.control_files='D:\oradata\DBGRID\control01.ctl','D:\oradata\DBGRID\control02.ctl'
*.db_block_size=8192
*.db_domain=''
Leave as it is for now --> *.db_name='GALAXY'
*.db_recovery_file_dest='D:\fra\backupsets\duplicate'
*.DB_RECOVERY_FILE_DEST_SIZE=4G
*.diagnostic_dest='D:\app\Administrator'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=DBGRIDXDB)'
*.job_queue_processes=1000
*.log_archive_dest_1='location=D:\fra\backupsets\archs'
*.log_buffer=10485760
*.memory_target=805306368
*.open_cursors=300
*.processes=800
*.remote_login_passwordfile='EXCLUSIVE'
*.session_cached_cursors=300
*.sessions=885
*.undo_tablespace='UNDOTBS1'
Make sure that all the directory values in this edited pfile are existing in the target server.
5. Copy all the RMAN backup pieces generated in the source database. Transfer the edited pfile as well. Make sure that all directories presented in the pfile exists in the target server.
In this example, RMAN backupsets are located at:
Backupsets:
Level0 and Level1 = D:\fra\backupsets\duplicate\level0 , D:\fra\backupsets\duplicate\level1
Controlfile and Spfile Autobackup = D:\fra\backupsets\duplicate\autobackup
Edited pfile initGALAXYrman= C:\TEMP\initDBGRIDnew.ora
FROM THE TARGET DATABASE (DBGRID)
6. Connect to RMAN and perform database duplication using RMAN backup restoration
C:\Users\Administrator>rman target /
Recovery Manager: Release 11.2.0.1.0 - Production on Wed Aug 1 07:26:45 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database (not started)
RMAN> set dbid = 3578870300; --> THIS IS THE DBID OF THE SOURCE DATABASE!
executing command: SET DBID
RMAN> startup nomount pfile='C:\TEMP\initDBGRIDnew.ora'; -->restore the edited pfile
Oracle instance started
Total System Global Area 535662592 bytes
Fixed Size 1375792 bytes
Variable Size 327156176 bytes
Database Buffers 192937984 bytes
Redo Buffers 14192640 bytes
RMAN> restore controlfile from 'D:\fra\backupsets\duplicate\autobackup\SAMSUNG-CTL_C-3578870300-20120801-00'; -->restore the correct controlfile
Starting restore at 01-AUG-12
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=19 device type=DISK
channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:07
output file name=D:\ORADATA\DBGRID\CONTROL01.CTL
output file name=D:\ORADATA\DBGRID\CONTROL02.CTL
Finished restore at 01-AUG-12
RMAN> alter database mount; -->mount the database
database mounted
released channel: ORA_DISK_1
RMAN> catalog start with "D:\fra\backupsets\duplicate";
--> catalog the location of the backup pieces to make it known to the control file
Starting implicit crosscheck backup at 01-AUG-12
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=19 device type=DISK
Crosschecked 3 objects
Finished implicit crosscheck backup at 01-AUG-12
Starting implicit crosscheck copy at 01-AUG-12
using channel ORA_DISK_1
Finished implicit crosscheck copy at 01-AUG-12
searching for all files in the recovery area
cataloging files...
no files cataloged
searching for all files that match the pattern D:\fra\backupsets\duplicate
List of Files Unknown to the Database
=====================================
File Name: D:\FRA\BACKUPSETS\duplicate\autobackup\SAMSUNG-CTL_C-3578870300-20120801-00
File Name: D:\FRA\BACKUPSETS\duplicate\level0\LEVEL0-GALAXY-20120801-01NHGTGV_1_1
File Name: D:\FRA\BACKUPSETS\duplicate\level0\LEVEL0-GALAXY-20120801-02NHGTIA_1_1
File Name: D:\FRA\BACKUPSETS\duplicate\level0\LEVEL0-GALAXY-20120801-03NHGTMT_1_1
Do you really want to catalog the above files (enter YES or NO)? YES
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: D:\FRA\BACKUPSETS\duplicate\autobackup\SAMSUNG-CTL_C-3578870300-20120801-00
File Name: D:\FRA\BACKUPSETS\duplicate\level0\LEVEL0-GALAXY-20120801-01NHGTGV_1_1
File Name: D:\FRA\BACKUPSETS\duplicate\level0\LEVEL0-GALAXY-20120801-02NHGTIA_1_1
File Name: D:\FRA\BACKUPSETS\duplicate\level0\LEVEL0-GALAXY-20120801-03NHGTMT_1_1
RMAN> list backup summary; -->check your backup they are now known
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
1 B A A DISK 01-AUG-12 1 2 NO TAG20120801T011054
2 B 0 A DISK 01-AUG-12 1 2 NO TAG20120801T011137
3 B A A DISK 01-AUG-12 1 2 NO TAG20120801T011405
RMAN> list archivelog all; -->list you archivelog for point in time recovery
List of Archived Log Copies for database with db_unique_name GALAXY
=====================================================================
Key Thrd Seq S Low Time
26 1 29 A 01-AUG-12
Name: D:\FRA\BACKUPSETS\ARCHS\ARC0000000029_0785167457.0001
Perform database restoration and recovery. The sequence number is Seq+1 for complete recovery, so that will be 29 + 1 = 30. You can also do recovery via SCN or time based recovery.
Remember in the previous step: RMAN> REPORT SCHEMA;
Each datafile has a corresponding datafile number.
Follow the format to convert them into their respective new restoration directory in the target server.
SET NEWNAME has the format:
SET NEWNAME FOR DATAFILE [FILE NUMBER IN THE REPORT SCHEMA COMMAND] TO
‘[NEW LOCATION AND FILENAME OF THE DATAFILES]’;
RMAN> run {
2> SET UNTIL SEQUENCE 30 THREAD 1;
3> set newname for datafile 1 to 'D:\oradbgrid\oradata\SYSTEM01.DBF';
4> set newname for datafile 2 to 'D:\oradbgrid\oradata\SYSAUX01.DBF';
5> set newname for datafile 3 to 'D:\oradbgrid\oradata\UNDOTBS01.DBF';
6> set newname for datafile 4 to 'D:\oradbgrid\oradata\USERS01.DBF';
7> set newname for datafile 5 to 'D:\oradbgrid\oradata\EXAMPLE01.DBF';
8> set newname for datafile 6 to 'D:\oradbgrid\oradata\ALLINDEX01.DBF';
9> restore database;
10> switch datafile all;
11> recover database;
12> }
executing command: SET until clause
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 01-AUG-12
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=19 device type=DISK
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00001 to D:\oradbgrid\oradata\SYSTEM01.DBF
channel ORA_DISK_1: restoring datafile 00002 to D:\oradbgrid\oradata\SYSAUX01.DBF
channel ORA_DISK_1: restoring datafile 00003 to D:\oradbgrid\oradata\UNDOTBS01.DBF
channel ORA_DISK_1: restoring datafile 00004 to D:\oradbgrid\oradata\USERS01.DBF
channel ORA_DISK_1: restoring datafile 00005 to D:\oradbgrid\oradata\EXAMPLE01.DBF
channel ORA_DISK_1: restoring datafile 00006 to D:\oradbgrid\oradata\ALLINDEX01.DBF
channel ORA_DISK_1: reading from backup piece D:\FRA\BACKUPSETS\DUPLICATE\LEVEL0\LEVEL0-GALAXY-20120801-02NHGTIA_1_1
channel ORA_DISK_1: piece handle=D:\FRA\BACKUPSETS\DUPLICATE\LEVEL0\LEVEL0-GALAXY-20120801-02NHGTIA_1_1 tag=TAG20120801T011137
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:02:06
Finished restore at 01-AUG-12
Starting recover at 01-AUG-12
using channel ORA_DISK_1
starting media recovery
archived log for thread 1 with sequence 29 is already on disk as file D:\FRA\BACKUPSETS\ARCHS\ARC0000000029_0785167457.0001
archived log file name=D:\FRA\BACKUPSETS\ARCHS\ARC0000000029_0785167457.0001 thread=1 sequence=29
media recovery complete, elapsed time: 00:00:01
Finished recover at 01-AUG-12
Log in to SQL*Plus to recreate the redolog files.
Format:
ALTER DATABASE RENAME FILE ‘[OLD REDOLOG LOCATION]’ TO ‘[NEW REDOLOG LOCATION]’;
C:\Users\Administrator>sqlplus "/ as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 1 08:54:27 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select instance_name, status from v$instance;
INSTANCE_NAME STATUS
dbgrid MOUNTED
SQL> ALTER DATABASE RENAME FILE 'C:\ORACLE\ORADATA\GALAXY\REDO03A.LOG' TO 'C:\oracle\oradata\dbgrid\REDO03A.LOG';
Database altered.
SQL> ALTER DATABASE RENAME FILE 'C:\ORACLE\ORADATA\GALAXY\REDO03B.LOG' TO 'C:\oracle\oradata\dbgrid\REDO03B.LOG';
Database altered.
SQL> ALTER DATABASE RENAME FILE 'C:\ORACLE\ORADATA\GALAXY\REDO02A.LOG' TO 'C:\oracle\oradata\dbgrid\REDO02A.LOG';
Database altered.
SQL> ALTER DATABASE RENAME FILE 'C:\ORACLE\ORADATA\GALAXY\REDO02B.LOG' TO 'C:\oracle\oradata\dbgrid\REDO02B.LOG';
Database altered.
SQL> ALTER DATABASE RENAME FILE 'C:\ORACLE\ORADATA\GALAXY\REDO01A.LOG' TO 'C:\oracle\oradata\dbgrid\REDO01A.LOG';
Database altered.
SQL> ALTER DATABASE RENAME FILE 'C:\ORACLE\ORADATA\GALAXY\REDO01B.LOG' TO 'C:\oracle\oradata\dbgrid\REDO01B.LOG';
Database altered.
Open the database in resetlogs option. Create spfile from the edited pfile then bounce the database.
RMAN> alter database open resetlogs;
database opened
SQL> create spfile from pfile='C:\TEMP\initDBGRIDnew.ora';
File created.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 535662592 bytes
Fixed Size 1375792 bytes
Variable Size 327156176 bytes
Database Buffers 192937984 bytes
Redo Buffers 14192640 bytes
Database mounted.
Database opened.
SQL> select instance_name, status from v$instance;
INSTANCE_NAME STATUS
dbgrid OPEN
Create a new TEMP tablespace, make this as the new default temporary tablespace. Drop the old TEMP tablespace. Restart the database.
SQL> CREATE TEMPORARY TABLESPACE TEMP01 TEMPFILE 'D:\oradbgrid\oradata\TEMP0101.dbf' SIZE 200M;
Tablespace created.
SQL> ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMP01;
Database altered.
SQL> drop tablespace TEMP including contents and datafiles;
Tablespace dropped.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance sta -
How to create a database table for educational details
how to create table for this image. i have to develop a job portal website. i created all the tables that required. but i dont know how to store these fields in table. any one help me plz
It would need following tables
1. Employee table where EMpNo field would be included as an attribute. Other fields would be EmployeeName,Designation, ...
It will have Primary Key as EmpID
2. QualificationType table with QualificationCategoryID and QualificationCategory with values Highest Qualification Post Graduate etc
QualificationCategoryID is the primary key
3. QUalificationTypeAttributes tables with fields as QUalificationTypeAttributeID,QUalificationTypeAttributeName
QUalificationTypeAttributeID is primary key
and QUalificationTypeAttributeName will have values Institute Name, Qualification Category etc
4. EmpQualificationTypeValues table with fields
QUalificationTypeValueID, QUalificationTypeAttributeID , QualificationCategoryID , EmpID, Value
QUalificationTypeValueID would be the primary key
for above case values would be like below
Employee
Emp ID EmpNo Name ...
ID1 12345 xxxxxxx
QualificationType
QualificationCategoryID QualificationCategory
CatID1 HIghest Qualification
CatID2 Post Graduate
QUalificationTypeAttributes
QUalificationTypeAttributeID QUalificationTypeAttributeName
QTAID1 Institute Name
QTAID2 Qualification Category
QTAID3 Year Of Passing
QualificationTypeValues
QUalificationTypeValueID QUalificationTypeAttributeID QualificationCategoryID EmpID Value
QTVID1 QTAID1 CatID1 ID1 Your institute Value set from screen for highest qualification
QTVID2 QTAID2 CatID1 ID1 Your qualification category Value set from screen for highest qualification
QTVID3 QTAID3 CatID1 ID1 Your year of passing value set for highest qualification
QTVID4 QTAID1 CatID2 ID1 Your institute Value set from screen for post graduate
QTVID5 QTAID2 CatID2 ID1 Your qualification category Value set from screen for post graduate
QTVID6 QTAID3 CatID2 ID1 Your year of passing value set for post graduate.....
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page -
HT4623 my iphone has been erased and i do not know how to restore it?
my iphone has been erased and i do not know how to restore it help please?
Connect it to the computer that it normally syncs with and select restore in iTunes.
This is also covered in the Users guide if you want/need specific details. Try reading the users guide before asking more basic functionality questions. -
HOW TO RESTORE A .BAK SQL BACKUP IN VSUAL STUDIO 2010
Respected sir,
i have microsoft visual studio 2010.i have a websit in ASP.NET with sql server database.
i have my database as .bak files.i cant restore it.
please help me urgent, how to restore the database.
thanks in advance.
please help me
with regards,
jamsheedh cvHi jamsheedh,
In addition, if you want to restore .bak file, you can also run the restore command in the Visual Studio 2010 Command Prompt. Note that right click the run as administrator. The restore statement:
Restore database <databasename>
From disk=’path\.bak’
With move ‘<data>’ to ‘new path\.mdf’,
move ‘<log>’ to ‘new path\.ldf’,
replace
There is an example about restoring database in VS 2008 command prompt, you can review the following article.
http://blogs.artinsoft.net/Mrojas/archive/2010/10/22/How-to-restore-SQLSERVER-bak-file-to-mdf.aspx
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support
Maybe you are looking for
-
Domain Guideance and Clarification using SVN and an Export suggestion
Hello Oracle SQL Data Modeler Support, Apologies if this has been documented somehwere and I have missed reading it, but have gone through the User Guide and cannot find the clarification I want regarding domains. 1) WHAT IS BEST PRACTICE TO SAVE WHE
-
XML-24521: (Error) Element not completed
I am trying to map a collection of information to a partnerlink's input variable, using a for-each xsl node in the transformation, however I receive this error during my testing: Target XML is invalid for the target schema. <Line 14, Column 38>: XML-
-
TL;DR: Be Careful when you Edge up. Has anyone else had a problem with the warehouse “not receiving” the returned the device? How did it turn out? When I heard about the Edge program it was perfect for me. Early upgrades, just return the phone th
-
Different between adding a subview or visible/invisible it
Dear all, I would like to create a screen to overlay on the top of an existing UIView. I tested with 3 methods below and it all works. I would like to know how do i determine which method is the best and what are the different among them in terms of
-
CS4 : AS3 : How do I access a Global Instance?
When I created a Symbol in a Scene, I gave it an Instance Name. How do I access it later on from within an objected added to the Scene. The only stuff I've found is for AS2.0 Thanks