- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Restore in Standby database
Operating System - HP-UX
1753672
Members
5895
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2007 11:24 PM
тАО04-19-2007 11:24 PM
Restore in Standby database
Hi,
We have a redundant system where we have two physical databases in redundant configuration. While performing backup we store the Record Id in our database image. While performing restore on Standby we compare the Record Id of the Active database with the Record Id in the image, if the two record ids are found to be equal then the restore is allowed to be performed else the restore is not performed.
In this way we make sure that we always restore the latest image (taken of the active database).
But we had faced an issue:
Say I am taking a backup on Active side and it failed at certain stage. The stage at which it failed was after the Record ID got incremented.
I am trying to restore the backup image on Standby. This image was taken before backup on Active started failing. As we compare the Record Id of the Active database with Record Id in the image the restore would fail (the record in Active got incremented when the backup process failed).
Now the situation is that we cannot take a backup on Active because it is failing and we cannot restore on Inactive because the Record Ids in Active database and backup image are not equal.
Could you please suggest some way?
Is comparing Record Ids between backup image and Active database the only way we can ensure that image used to restore on Inactive is the latest one? Please suggest.
Waiting for your kind reply.
Regards,
Kaustubh.
We have a redundant system where we have two physical databases in redundant configuration. While performing backup we store the Record Id in our database image. While performing restore on Standby we compare the Record Id of the Active database with the Record Id in the image, if the two record ids are found to be equal then the restore is allowed to be performed else the restore is not performed.
In this way we make sure that we always restore the latest image (taken of the active database).
But we had faced an issue:
Say I am taking a backup on Active side and it failed at certain stage. The stage at which it failed was after the Record ID got incremented.
I am trying to restore the backup image on Standby. This image was taken before backup on Active started failing. As we compare the Record Id of the Active database with Record Id in the image the restore would fail (the record in Active got incremented when the backup process failed).
Now the situation is that we cannot take a backup on Active because it is failing and we cannot restore on Inactive because the Record Ids in Active database and backup image are not equal.
Could you please suggest some way?
Is comparing Record Ids between backup image and Active database the only way we can ensure that image used to restore on Inactive is the latest one? Please suggest.
Waiting for your kind reply.
Regards,
Kaustubh.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2007 01:44 AM
тАО04-20-2007 01:44 AM
Re: Restore in Standby database
What toolset are you using to perform the backup/restores ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2007 02:00 AM
тАО04-20-2007 02:00 AM
Re: Restore in Standby database
Hi,
Basically we have created our own shell scripts for backup and restore. From these scripts we invoke the RMAN utility to perform the backup and restore.
Regards,
Kaustubh Kane.
Basically we have created our own shell scripts for backup and restore. From these scripts we invoke the RMAN utility to perform the backup and restore.
Regards,
Kaustubh Kane.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2007 09:40 AM
тАО04-26-2007 09:40 AM
Re: Restore in Standby database
As best as I understand this issue, this is not a problem with Oracle, but a problem with your backup/restore procedures and scripts. Actually, two problems: 1) the backup no longer works, and 2) the restore won't run because of this "Record ID" problem. I'm not sure what this "Record ID" that you are referring to is, but I don't recognize it as part of Oracle or RMAN.
The basic thing you need to do is fix the backup problem. If the backup has failed, you don't want to try and restore to the standby anyway, regardless of the Record ID. If your current standby is from the most recent successful backup, there's probably no point in doing another restore until you get the backup problem fixed. If there is a more recent backup you want to restore from, then you need to fix the restore scripts so that you can override the Record ID check.
If you want to do a standby database, I'm confused why you are going through this complex backup/restore process at all. I'd strongly recommend looking at Oracle Dataguard. Once you have a physical standby database in place, Oracle uses the REDO and/or ARCHIVE logs to keep the standby in sync automagically.
The basic thing you need to do is fix the backup problem. If the backup has failed, you don't want to try and restore to the standby anyway, regardless of the Record ID. If your current standby is from the most recent successful backup, there's probably no point in doing another restore until you get the backup problem fixed. If there is a more recent backup you want to restore from, then you need to fix the restore scripts so that you can override the Record ID check.
If you want to do a standby database, I'm confused why you are going through this complex backup/restore process at all. I'd strongly recommend looking at Oracle Dataguard. Once you have a physical standby database in place, Oracle uses the REDO and/or ARCHIVE logs to keep the standby in sync automagically.
Trust me, I know what I'm doing
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP