- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Hot Backup::Redolog issue
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО10-16-2005 06:55 PM
тАО10-16-2005 06:55 PM
Hi there!
Hot backup(Oracle) is always considered as a inconsistent backup and while restored, archive log must be needed to do a full recovery.
Considering above information, what is a steps taken of backing up of redolog.Is is useful to take backup of online redolog? and what should be a step taken while restoring online backup and what about the redolog restoration?...or create a new one after recovery?..
waiting for reply
Regards,
Mehul
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2005 07:08 PM
тАО10-16-2005 07:08 PM
Re: Hot Backup::Redolog issue
1) Get OnlineJFS, use lvm snapshots to get a cold backup. What this does is it allows you to briefly down the database, set a snapshot and restart the database. From here all writes to the database are stored in a temporary logical volume. While this is happening a cold OS copy backup or full rman backup can proceed against the database which appears idle to the OS. At the close of backup, the temporary logical volume is shut down and all writes get updated to the original database.
The users notice a berief distruption and you have a cold backup that you can rely on.
2) Use rman hot backups which will not be considered fuzzy and will get you a copy of the database, though you will likely have to apply logs to fully recover.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2005 08:39 PM
тАО10-16-2005 08:39 PM
Re: Hot Backup::Redolog issue
I suggest to use RMAN (Oracle Recovery Manager) to backup your databases. For an online backup you need to run in archived log mode, but running in an production, I think you already do.
Using RMAN you get (by Oracle) supported online backups and you can copy databases very easily. Recovering databases (including point in time recoveries) is very handy.
In the meantime don't forget to backup your online redolog files, because they store your latest transactions. A workaround to archive them is issuing the command "archive log all;".
Cheers,
Renarios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2005 08:54 PM
тАО10-16-2005 08:54 PM
Re: Hot Backup::Redolog issue
start using RMAN which obviates most of your queries. Also, with RMAN you will sure that you are backing up all the necessary files, etc
e.g. Backing up the whole database would be as simple as:
allocate channel....
backup database;
See also: http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmrecov.htm
and above all, verify that your backup and recovery processes work perfectly.
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2005 09:49 PM
тАО10-16-2005 09:49 PM
Re: Hot Backup::Redolog issue
If you need hot backup you should use RMAN
http://www.oracle.com/technology/deploy/availability/htdocs/RMAN_Overview.htm
Regards
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2005 10:48 PM
тАО10-16-2005 10:48 PM
Re: Hot Backup::Redolog issue
will it suffices my problem in case of failure of harddisk and recover the database from archive log after restoring hot backup?
From above scenerio I came to conclusion that there is no need to backed-up of online redolog if almost everthing is archived(i.e archived log file)
Waiting for reply
Rgds,
Mehul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2005 11:27 PM
тАО10-16-2005 11:27 PM
Re: Hot Backup::Redolog issue
Before going forward, are you sure this is the correct backup strategy for you and your business?
Here are some questions you should ask yourself and your bosses:
- Does your management understand the positive and negative aspects of the backup strategy choosen?
- Have you enough resources (disks, tapes, etc...) for you present backup strategy?
- What are the business and operational requirements (time to recover, mean time between failures, 24*7 operations, database volatility, maximum data loss, etc...)?
Best Regards,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2005 12:08 AM
тАО10-17-2005 12:08 AM
Re: Hot Backup::Redolog issue
From above scenerio I came to conclusion that there is no need to backed-up of online redolog if almost everthing is archived(i.e archived log file)
Note that Online redolog do contain data that has not been archived at some moment in time..
So it is not true to say that everything is archived!
It is true however that in practice, we do not backup online redolog files.
Therefore, since you NEVER backup online redo log files, you would NEVER restore them -- so
the online redo logs would be available to be applied during the recovery process (you have them multiplexed over many devices -- a copy should be remaining on your system somewhere, unless you lost *everything* -- but that is
what DR is about, not regular media recovery)
Also, pay special attention to what Eric mentions above...
hope this helps too!
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2005 12:18 AM
тАО10-17-2005 12:18 AM
Re: Hot Backup::Redolog issue
there is no need to backup redologs. There is no such thing like redolog restoration. You restore&recover your database, not logs. The best thing you can do about redologs is to mirror them and multiplex them.
As you know, online "current" redolog is opened and held by LGWR and cannot be copied in consistent way.
M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2005 01:05 AM
тАО10-17-2005 01:05 AM
SolutionYou are correct, there is no need to backup the online redo logs. You should however backup the archive redo log files taken during and after your hot backup. As part of the restore you will copy the datafiles (taken while the tablespace was in backup mode "alter tablespace begin backup" ) and roll forward thru all (or part) of the archive redo logs. You then open the database with the resetlogs option and you online redo logs files are created for you.
Patti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2005 01:30 AM
тАО10-17-2005 01:30 AM
Re: Hot Backup::Redolog issue
When recovering from hot backups, it is HIGHLY RECOMENDED that you COLD backup the database has it is before doing the recovery operation because this is the only way you garantee another try in case the first recovery operation fails!
Best Regards,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2005 08:42 PM
тАО10-17-2005 08:42 PM
Re: Hot Backup::Redolog issue
few things come into my minds.
Be carefull with resetlog option. I have seen/heard about many cases where people used this option when it is not neccessary.
And I would highly recommend to read the post from Eric about backup strategy and start looking for answers.
M.