Databases
cancel
Showing results for 
Search instead for 
Did you mean: 

Raw Device backup on mounted filesystem

samboom71
Occasional Contributor

Raw Device backup on mounted filesystem

Hi all,
I would like to know if there is a way to do an image backup of a mounted filesystem, knowing that it will be inconsistent and then use another backup utility to read this image and do the correction of the corrupted files?

HP UX 11.11
Data Protector 5.5

Regards,
5 REPLIES
Steven E. Protter
Exalted Contributor

Re: Raw Device backup on mounted filesystem

Shalom,

In general, the application using the raw disk area has a utility for backing up the data to a regular file system or tape.

For example, Oracle ships with rman, DP has a module for backing up oracle databases. These utilities can do what you want.

To provide more specific help, you will need to tell us what application is using the raw disk area.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Eric Antunes
Honored Contributor

Re: Raw Device backup on mounted filesystem

Hi,

If it is an Oracle database, you will always need to start with a consistent cold (cp, tar, fbackup, DP, etc...) or hot (RMAN) backup to restore your database. Then, if you are in archivelog mode and have those archivelogs in the appropriate fs directory (parameter log_archive_dest) you can recover to a specific date/time.

Eric
Each and every day is a good day to learn.
Ganesan R
Honored Contributor

Re: Raw Device backup on mounted filesystem

Hi,

Not clear about your requirement. If it is a mounted filesystem, you can use tar to take the image bakcup.

#tar cvf /tmp/imagefile.tar /
Best wishes,

Ganesh.
samboom71
Occasional Contributor

Re: Raw Device backup on mounted filesystem

Hi there,
in fact, it's a huge filesystem which is in the production (Not Oracle files), I want to take a hot image (mounted) of it and find a way to repair the inconsistency. I hope you've got my point.

thanx
Volker Borowski
Honored Contributor

Re: Raw Device backup on mounted filesystem

No, I think it will not work this way.

You can consider to mount a snapshot and
backup the snapshot instead of the real filesystem.

Volker