- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cold backup Oracle Database using fbackup
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
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
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
09-22-2008 07:57 AM
09-22-2008 07:57 AM
Could any one let me know how to perform cold backup on Oracle Database using fbackup command, need to acomplish stop Oracle Database then perform fbackup of the 2 mount point /opt/oracle /PRD_Data then start back the oracle Database in script, here by have copied my script which not sucessfull backing up the Database, please help ..
Thanks,
Johnson
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2008 08:04 AM
09-22-2008 08:04 AM
Re: Cold backup Oracle Database using fbackup
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2008 08:05 AM
09-22-2008 08:05 AM
Re: Cold backup Oracle Database using fbackup
So what was the error? Did it give you any output in the log file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2008 08:49 AM
09-22-2008 08:49 AM
Re: Cold backup Oracle Database using fbackup
You are assuming that a non-zero return code from 'fbackup' denotes failure. That isn't strictly true. A value of <4> signifies warnings which may be seen in the 'fbackup' logs (if you capture them). see the 'fbackup' manpages.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2008 09:08 AM
09-22-2008 09:08 AM
Re: Cold backup Oracle Database using fbackup
turn your script to debugging mode by changing first line. perhaps it may help you.
#!/sbin/sh -x
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2008 05:52 PM
09-22-2008 05:52 PM
Re: Cold backup Oracle Database using fbackup
here by have attached output of the errorlog
Thanks
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2008 06:08 PM
09-22-2008 06:08 PM
SolutionThe only issue I see is:
*****
TNS-01106: Listener using listener name LISTENER has already been started
*****
This just means that your listener was already running. Big deal.
I don't see any evidence of your database being stopped or restarted. Is that the problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2008 07:23 PM
09-22-2008 07:23 PM
Re: Cold backup Oracle Database using fbackup
I am Questioning my self either fbackup could not start sucesfull. due Oracle
TNS-01106: Listener using listener name LISTENER has already been started. or the fabckup command which in my script causing the problem need check or work with DBA ask them to stop Database than perform fabckup becoz yesterday was trying by my own. Can please help me to confirm my below fbackup command its ok?
/usr/sbin/fbackup -f /dev/rmt/0mn -i /opt/app/oracle -i /PDN2/oradata >> /var/tm
p/db-fbackup.log 2&>1
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2008 11:04 PM
09-22-2008 11:04 PM
Re: Cold backup Oracle Database using fbackup
For Cold backup you have to SHUTDOWN DB first.
You have to copy all datafile as well as Control file then only you can recover DB in case of any crises.
Regards,
Gokul Chandola
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2008 12:59 AM
09-23-2008 12:59 AM
Re: Cold backup Oracle Database using fbackup
If the oracle databases are hosted on a regular cooked file system.
stop oracle.
Kick the fbackup process off.
start oracle after.
The entire thing can be scripted.
You can for a hot backup, put the database in backup mode, but you said you wanted cold.
If you have OnlineJFS, you can create a snapshot and have fbackup back the snapshot up while the database is back up and running.
I'll check back to see if you want more information no that.
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
09-23-2008 05:41 PM
09-23-2008 05:41 PM
Re: Cold backup Oracle Database using fbackup
You might want to stop the listener in your script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2008 04:56 AM
09-24-2008 04:56 AM
Re: Cold backup Oracle Database using fbackup
I seriously take this opportunity to thank everyone who have shared there knowledge on subject to my Cold Oracle Backup issue has been resolved by working with Oracle DBA,
Resolution:-
by removing the Oracle Listeners stop script from the backup script we are able to perform the Cold backup successfully because the dbshut & perform the Oracle Listener too.:)
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 03:25 AM
09-25-2008 03:25 AM
Re: Cold backup Oracle Database using fbackup
by removing the Oracle Listeners stop script from the backup script we are able to perform the Cold backup successfully because the dbshut & perform the Oracle Listener too.:)