- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 9i copy to dev
Operating System - HP-UX
1748333
Members
3567
Online
108762
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
тАО03-02-2007 02:11 AM
тАО03-02-2007 02:11 AM
9i copy to dev
Hi
I am having trouble refreshing my dev environment with a copy of prod from my backup.
I have a prod and dev on diff boxes which are identicle in every way. Directory names etc.
i am backing up with data protector and
using a repository. In my case it would not backup correctly becasue the dbid's are the same .
I have to keep them the same because
every time i refresh from prod they will end up the same. I dont want to have to change the dbid's of dev after every refresh as this is to be done by the backup operators for the most part.
So to get around that i created a second schma
in the reposotory and i created a second
recovery catalog there. So i backup prod
in one catalog and dev in the other.
that seems to work fine.
When i try to do a refresh :
I shutdown dev.
Restore the prod controlfile to an alternate
location and copy it over to dev.
Then i startup mount dev.
Theni try to restore the database to an alternate location, being dev.
When i do this it tells me that this controlf ile is not for this database.
Im not sure why this is.
Is it trying to restore the controlfile again?
Should i be able to jsut restore the datafiles themselves , instead of the entire database
and then open the database ?
any thoughts are appreciated .
thanks
tom
I am having trouble refreshing my dev environment with a copy of prod from my backup.
I have a prod and dev on diff boxes which are identicle in every way. Directory names etc.
i am backing up with data protector and
using a repository. In my case it would not backup correctly becasue the dbid's are the same .
I have to keep them the same because
every time i refresh from prod they will end up the same. I dont want to have to change the dbid's of dev after every refresh as this is to be done by the backup operators for the most part.
So to get around that i created a second schma
in the reposotory and i created a second
recovery catalog there. So i backup prod
in one catalog and dev in the other.
that seems to work fine.
When i try to do a refresh :
I shutdown dev.
Restore the prod controlfile to an alternate
location and copy it over to dev.
Then i startup mount dev.
Theni try to restore the database to an alternate location, being dev.
When i do this it tells me that this controlf ile is not for this database.
Im not sure why this is.
Is it trying to restore the controlfile again?
Should i be able to jsut restore the datafiles themselves , instead of the entire database
and then open the database ?
any thoughts are appreciated .
thanks
tom
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 02:44 AM
тАО03-02-2007 02:44 AM
Re: 9i copy to dev
im moving this to the right forum
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 02:44 AM
тАО03-02-2007 02:44 AM
Re: 9i copy to dev
Hi Tom, welcome to ITRC forum.
For your dev db the scenario coul be
something like simulation of loss of all data files and the current control files, but the online redo logs are safe.
You restore all data files. You still have your existing online redo logs (copy taken from prod). The current log of that set will contain the last possible SCN number.Therefore, your server process
is once again able to read the SCNs in all the data files AND in the current
redo log. It then knows what SCN to roll the data files forward to. And it
creates a new set of control files for you. So your database could be completely
recovered.
This is my thought.
hth
regards
pg
For your dev db the scenario coul be
something like simulation of loss of all data files and the current control files, but the online redo logs are safe.
You restore all data files. You still have your existing online redo logs (copy taken from prod). The current log of that set will contain the last possible SCN number.Therefore, your server process
is once again able to read the SCNs in all the data files AND in the current
redo log. It then knows what SCN to roll the data files forward to. And it
creates a new set of control files for you. So your database could be completely
recovered.
This is my thought.
hth
regards
pg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 03:04 AM
тАО03-02-2007 03:04 AM
Re: 9i copy to dev
reopened to assign points
closed to move to right forum
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