- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: oracle database backup
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
05-01-2002 04:20 PM
05-01-2002 04:20 PM
cd /
find . -print:cpio -ovcB>/dev/rmt/0mb
I already have a script to shutdown the database. Need help!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 04:34 PM
05-01-2002 04:34 PM
SolutionWe've used these to archive all table spaces:
# find /u*/oradata/ -xdev | cpio
# tar c /u*/oradata/
And we've use these to isolate a specific database where its table spaces reside in directories by the same name:
# find /u*/oradata/${DB}/ -xdev | cpio
# tar c /u*/oradata/${DB}/
But now we use Legato and will soon be implementing EMC TimeFinder to eliminate downtime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 04:49 PM
05-01-2002 04:49 PM
Re: oracle database backup
A simple mod to your find command would be to replace the start for the find from "." to "./u0*"
This will force find to ONLY look in dirs that start with u0 (zero).
But I would also recommend that if the backup will only be restored to an HP system, you take a look at the fbackup command.
Do a man fbackup
Much more versatile & faster to boot.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:32 PM
05-01-2002 06:32 PM
Re: oracle database backup
The minimum backup program I would recommend is fbackup (which sam can configure for you) for a number of reasons: reliability, speed, error recovery, multi-tape support, labeled tapes, central index, etc
But a commercial backup program such as HP's Omniback is much more robust and is designed specifically for databases.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 11:08 PM
05-01-2002 11:08 PM
Re: oracle database backup
using OS commands to backup Oracle Database!!
Ask the Oracle Experts, they will never recommend that!
HOT BACKUP. This is all you need. You should be running the latest versions of Oracle (8i?) Use RMAN. period.
My advice, you have paid so much for Oracle and all those nice features that come with it, so why don't you use them...
Best Regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 11:26 PM
05-01-2002 11:26 PM
Re: oracle database backup
Using Unix tools may be ok for small databases.
If you have larger databases, you should go for atleast fbackup, which allows you to pick single files very easy. The unix tools capacity is mostly limited to a size of 2 GB for single files.
You should really think about OmniBack.
This product is reliable, conmfortable ( GUI ) and it works with a lot of different devices for backups ( DAT, DLT, libraries etc ). We use this since 1994 and we can still restore files from that period quick enough.
Just my 0.02 ???
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 02:10 AM
05-02-2002 02:10 AM
Re: oracle database backup
I use following strategy.
1. Hot backup and stored in a tape using tar.
2. Oracle export (exp command) on the data and this output is again stored using tar.
Second point is good for small databases but for large onces, it requires a substantial amount of diskspace.
HTH.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 05:35 AM
05-02-2002 05:35 AM
Re: oracle database backup
be careful to include ALL your database's datafiles! Someone might have added a datafile somewhere else and then your whole backup is worth NOTHING!
So your backup procedure has to query the database instance for the list of datafiles!
You really need a appropriate tool for this, and I do not consider tar/cpio/pax/dd to be appropriate...
Just my $0.02,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 05:39 AM
05-02-2002 05:39 AM
Re: oracle database backup
The best way to identify the datafiles is to query the database. You could build a script to spool the output to a file. Then use that file to backup the datafiles.
Examples of the querys I use are:
spool /tmp/datafiles.dat
set head off
select file_name from dba_data_files;
select member from v$logfile;
select name from v$controlfile;
select file_name from dba_temp_files; (8i and above)
spool off
Hope this points you in the right direction. I usually always going the wrong way!!!
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 08:26 AM
05-02-2002 08:26 AM
Re: oracle database backup
since we all seem to be talking about "offline backups":
do not forget to shutdown your instance with a CHECKPOINT *before* you do the backup:
shutdown immediate
else your backup is not worth a thing...
Regards,
Wodisch