- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Backup raw volumes
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
10-11-2007 12:45 AM
10-11-2007 12:45 AM
I do a fbackup for the root by this command
fbackup -f /dev/rmt/0m -i /
and i do a make_tape_recovery -x inc_entire=vg00 (for ignite backup).
I think this should cover the whole system in case of a crash (we can rebuild with this backup).
But i noticed that we have recently created a lot of raw volumes (for oracle)..How do we back them up since they are not laid out as filesystems?
Please let me know.
Thanks
Brian.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2007 01:17 AM
10-11-2007 01:17 AM
Re: Backup raw volumes
There really is no other clean way to do it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2007 01:30 AM
10-11-2007 01:30 AM
Re: Backup raw volumes
Ignite is not the tool for backing up databases unless they are cold and shut down.
I experimented with this several years ago. I did manage to get software ag adabase raw devices from one system to another and then bring up the database.
Good backup strategy:
Use ignite for only vg00.
Use other tools for Oracle and the rest of the system.
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
10-11-2007 01:35 AM
10-11-2007 01:35 AM
Re: Backup raw volumes
(or some split mirror scheme)
That said, it is perfectly reasonable to backup Oracle used raw deviced using 'dd bs=1024k if=...'
You can even feed (and eventually retrieve) the data into a pipe into gzip (or bzip2 -c or such) and get out normal files at the other end.
It'll be tedious, to get it right though.
You'll have to script the whole thing specific to your environment.
For a best chance of succes you woudl already have a carefully maintainded table describing your raw devices and usage.
The Oracle file tables are also an excellent starting point for a script... Oracle knows what it is using right?!
You would adapt a script like the one I made below, to output the DD commands directly, or the base data to have a further perl/awk/sh script generate the commands (on the fly).
You would want to generate the restore commands at the same time.
And you really really really want to test the restore, possibly on a seperate box.
For starter script, see below.
hth,
Hein van den Heuvel
HvdH Peformance Consulting
column status format a9
column file format a40
column id format 999
column type format a10
set lines 80
set pages 9999
set heading off
set FEEDBACK off
select 'Redo' "type", l.group# "Id", l.status, l.bytes/(1024*1024) "MB",
MEMBER "File" from v$logfile f, v$log l where l.group# = f.group#
union
select tablespace_name "type", FILE_ID "Id", status, bytes/(1024*1024) "MB",
file_name "File" from dba_data_files
union
select 'Temp' "type", FILE# "Id", status, bytes/(1024*1024) "MB",
name "File" from v$tempfile
union
select 'Control' "type", rownum "Id", status, 0 "MB",
name "File" from v$controlfile
order by 1,2
/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2007 02:09 AM
10-11-2007 02:09 AM
Re: Backup raw volumes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2007 02:46 AM
10-11-2007 02:46 AM
SolutionIf the Oracle data has any value at all, purchase a commercial backup program such as Data Protector. And make sure it understands Oracle raw volumes (RMAN support is a good indicator).
You are doing the correct commands (fbackup and Ignite) for file and directories, but raw data requires very careful handling. It will be your 3rd backup process.
Bill Hassell, sysadmin