- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Backup and restoring raw devices
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
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
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
тАО11-11-2006 08:54 PM
тАО11-11-2006 08:54 PM
i had installed oracle 10g rac on service guard extension for rac. and i had used LVM, so i created raw devices for the database. my question is: does anybody have a perfect solution for backup and restoring these raw devices, also i need to know if i using os commands how can i do these operations.
Best regards,
Amr
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2006 09:21 PM
тАО11-11-2006 09:21 PM
Re: Backup and restoring raw devices
There is no such thing as a perfect solution.
Since you have to use raw devices you have limited your options as well.
1) rman hot/cold backup
2) Tool such as DP 5 or Veritas to enable hot or cold backups. Both actually use rman btw.
What you can not do: direct backup of raw devices with fbackup and OS tools. This approach will simply not produce a usable backup.
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
тАО11-12-2006 12:27 AM
тАО11-12-2006 12:27 AM
Re: Backup and restoring raw devices
You must purchase a commercial backup product such as HP's Data Protector which can accurately and reliably backup raw devices as well as identify tapes and keep accurate records for all the backups.
Additionally, there is no way to prevent the raw devices from being accidentally overwritten by newfs or other tools. It is very important to NOT name these volumes lvol1 lvol2 lvol, etc as a flag to warn sysadmins that these are special.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2006 10:56 AM
тАО11-12-2006 10:56 AM
SolutionSurely whoever decided on using raw devices included a backup/restore plan with that decision, so just ask that person!
As Steven replies, you really should use a database native tool like Rman.
Personally, for the purpose of backing up and restore benchmark data, I have been happy with dd + zip. But this was NOT production data, so I could play fast and loose, all was recoverable. So I woudl use something like: # dd -bs=1024k -if=/dev/vol/rlvx | bzip2 -c > rlvx.dd.zip
hth.
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2006 02:27 AM
тАО11-13-2006 02:27 AM
Re: Backup and restoring raw devices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2006 02:38 AM
тАО11-13-2006 02:38 AM
Re: Backup and restoring raw devices
One is the physical data that need
to be restored to disk. As was mentioned earlier either by dd or by a thirdparty
software such as DP (intergrated with rman)
But the second issue are the devices itself.
they are just pointers to the physical location to the disk.
So if in Oracle it points to a device
/dev/vgora/lvora1
/dev/vgora/lvora2
You then need to recreate the device
with lvm and mknod and you will see your data again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2006 12:47 AM
тАО11-14-2006 12:47 AM
Re: Backup and restoring raw devices
thanks alot for all your replys, but my question is if the third parity product is failed or damaged, i need an offline backup right? so i think the correct offline backup with dd command. please give me your advices.
Best regards
amr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2006 01:07 AM
тАО11-14-2006 01:07 AM
Re: Backup and restoring raw devices
(1) Plain and simple old dd
No matter what is said, I've yet to loose a dd backup or an irrecoverable one. It is quite easy to script dd backups to span more than one tape medium.
(2) HW and Software Split mirrors
EMC BCV, HDS HiCOpy, HP BusinessCopy, VxVM (FlashSnap), LVM LVSPLITS
(3) RMAN of course
(4) Commercial Backup Products that have RAW backup capability
Netbackup, Dataprotector, etc.. etc..
Of course if your "third party tool" is broke, you should have contingency plans before hand.
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2006 05:19 PM
тАО11-15-2006 05:19 PM
Re: Backup and restoring raw devices
one simple way to do your backup is follows:
Do a RMAN backup to DISK,
then Backup the RMAN backup files to tape or any other media you have at hand.
Of course, this will not work if you have a HUGE database when space may become a problem.
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2006 11:59 AM
тАО11-16-2006 11:59 AM
Re: Backup and restoring raw devices
thank you for your greate effort in helping me, and all your suggession will be considered.
thanks a lot.
amr elsayed