- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Backup raw mode
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-05-2003 08:49 AM
09-05-2003 08:49 AM
I want to make a backup of my database and it is working in raw mode.
Can you tell me which is the best way to do it with unix commands...i mean tar, cpio or dd,
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2003 08:52 AM
09-05-2003 08:52 AM
SolutionUsing tar or cpio on a raw disk area won't get a good backup.
For oracle the tool is rman.
For software ag the tool is adabck
etc.
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-05-2003 08:53 AM
09-05-2003 08:53 AM
Re: Backup raw mode
If only 1 server is accessing the data (e.g not an Oracle parallel server, for example) then you could use OnlineJFS with cooked files but with mincache=direct,convosync=direct to bypass the buffer cache and do exactly whar raw i/o does.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2003 09:10 AM
09-05-2003 09:10 AM
Re: Backup raw mode
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2003 09:30 AM
09-05-2003 09:30 AM
Re: Backup raw mode
Example of a dd backup to tape, substitute the raw devicfine and the tape devicefile with the files actual in your case. Don't forget to shutdown the database before.
dd if=/dev/vg01/rlvol1 of=/dev/rmt/0m
A better tool for rawdevice backup is OmniBack/DataProtector (do you have any backup application installed.
And as mentioned by other, a such backup should only be used for special needs. There is better ways to backup an Oracle database.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2003 09:52 AM
09-05-2003 09:52 AM
Re: Backup raw mode
dd if=/dev/vg01/rlvol1 of=/dev/rmt/1mnb bs=256k
followed by the next partition
dd if=/dev/vg01/rlvol2 of=/dev/rmt/1mnb bs=256k
The bad news is that you must make sure there is enough room on the tape because unlike cpio, dd will not prompt you for new media. You can make dd span tapes because you are able to specify starting offset in the input file.
I can only reemphasize that dd is a very poor choice for a backup because you really have no integrity tests. Under HP-UX 11.x (and especially 11.11), I think you will be hard pressed to demonstrate any performance benefits from using raw devices in a database.