- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Raw volume 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
12-03-2004 08:25 PM
12-03-2004 08:25 PM
Raw volume backup
OS HPUX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2004 08:37 PM
12-03-2004 08:37 PM
Re: Raw volume backup
1. get the volume devicefile, something like /dev/vg08/rlvol38 or /dev/rdsk/cxtydz for a volume out of LVM control.
2. get tape tape devicefile
ioscan -fnkCtape (one of those 'best' thinggies)
3. Assure it's consistent, i.e. put oracle to DBA mode
4. I'd go with
dd if=/dev/vg0n/rlvol0n bs=1024k | gzip > /dev/rmt/0mn
(unless Your tape device uses h/w compression.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2004 08:39 PM
12-03-2004 08:39 PM
Re: Raw volume backup
I don't know exactly what you mean by raw volume backup, but if this is for backuping entire disk block by block you can use "dd" :
i.e.
dd if=/dev/dsk/cXtYdZ of=/dev/rmt/Wm bs=1024
where /dev/dsk/cXtYdZ is your source (disk)
where /dev/rmt/Wm is your destination (tape)
& where bs is the block size (default 512MB)
PS:I heard that with OpenView you can make raw logical volume backup
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2004 09:03 PM
12-03-2004 09:03 PM
Re: Raw volume backup
Thanks Great solution
But we are having 136 raw logical volumes that we cannot backup like this can u give some other solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2004 09:42 PM
12-03-2004 09:42 PM
Re: Raw volume backup
I think every enterprise backup solution should be able to do reasonably fast backups of the raw volume either.
It now really depends on the hardware at hand and the backup window You have.
Are we talking about a monthly disaster backup or a nightly? hourly?
We don't use raw lv's, so I can only advise a bit -
if there is no 'big' backup software but a big jukebox available, use bacula. best SAN-attach it, map it to the database server, do the backup, unmap it.
even a script simply using dd,gzip and mt will do fine, maybe even better in that case.
if Your backup device is too slow for this, either use separate low-cost diskarrays (e.g. multiple of those 3TB ide-fc, they come at ~$4000 each), this gains best througput for a low price, but You shouldn't trust these farther than You can throw them, so maybe mirror them in LVM.
In general I'd strongly advise against backup up the raw lv's as You can't quickly recover that single lost table from them.
Maybe give me and the others some numbers, I'm at work since 8am now and guessing makes the brain ake.
How much data is there to backup (are we talking 136*2GB (buy a bunch of IDE drives *g*) or 136*100GB
How much capacity do the lv's add up to
What app wrote the data (maybe someone knows a trick)
Do You have something like tivoli,networker or openback or or ... at hand
Do You have at least 75% of the capacity available somewhere (i.e. huge fileserver idling during the time)
What tapes are You using?
How much time do You have for the backup
How much app downtime is allowed
Will You have to do it again
How often
add ?'s at Your liking.
Flo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2004 01:12 PM
12-05-2004 01:12 PM
Re: Raw volume backup
But most important, dd is a store-and-pray method. That means that there is no method to verify that the backup was successful. The hardware checksums for the disk and tape are all you have, not enough for valuable data. And as mentioned, you must either shutdown thwe database for the entire duration of the backup (might be many hours), or at least put the database into backup mode.
Using raw disk volumes for a database will more than triple your work as a system adminstrator when compared to filesystem backups. Do yourself (and your company) a big favor: purchase a commercial-grade backup software package such as HP's Data Protector. Most commercial backup tools can integrate raw volume backups into the database, and these programs will create complete backup records both on the tape as well as on a filesystem.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2004 01:54 PM
12-05-2004 01:54 PM
Re: Raw volume backup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2004 02:07 PM
12-05-2004 02:07 PM
Re: Raw volume backup
for raw volume backup the best solution is hp dataprotector.you can have both filesystem and raw backup with this software.you can use full size of tape with this.ie. after backup of one day if space is available you can add second days backup also.this software provides protection of data and easy recovery ,etc.
this is a licenced software from hp.
regds,