1847234 Members
2794 Online
110263 Solutions
New Discussion

Backup

 
SOLVED
Go to solution
ramesh_6
Frequent Advisor

Backup

I am going to backup a system for disaster recoery.
hence i am planning to do a make_recovery tape. After that in what way i should backup the system,i.e whether

i ) should backup each volume group in a separate tape
ii) Or just take the backup of system data using fbackup

Any ideas in this regard is highly appreciated.
5 REPLIES 5
David Burgess
Esteemed Contributor

Re: Backup

If your system only has vg00 as does a lot of ours, then a make_recovery tape will do it.
If not back up the remaining volume groups with fbackup.

For completeness backup all the volume groups. That way it will save you having to :-
mt -t /dev/rmt/0mn fsf 1

and then extracting any root vg files that you need from the tar archive at the end of the make_recovery tape.

That should do it.

HTH

Dave.
A. Clay Stephenson
Acclaimed Contributor

Re: Backup

In large measure, it makes very little difference. My preference would be to divide your non-vg00 backups into those VG's that will comfortably fit on a tape. If two or more will easily fit on a single tape then that would constitute one backup. If a given VG needs to span multiple tapes then I would limit that backup to just that VG. There's no 'correct' answer here. Moreover, there no real reason to limit yourself to VG's but rather think in terms of mounted filesystems (unless you are also using raw volumes).
If it ain't broke, I can fix that.
Sachin Patel
Honored Contributor

Re: Backup

If you are not planning to keep that backup for long time then and
If you have enough space in remote system copy whole file system using rdist or rcp to remote system and when your current system come back with new os or new modification put it back.

if you have only vg00 then make_recovery will be good.
IF you still want to use fbackup create a graph file and include rest of file system in it

for example

Say you have /data1 /data2
your graph file should look like.
i /data1
i /data2

Then run fbackup
#fbackup -0vug graph -f /dev/rmt/?m
This will start backing up both file system and will ask you for next tape if it requires.

To recover
#frecover -f /dev/rmt/0? -r
this will recover both file system.

Sachin
Is photography a hobby or another way to spend $
ramesh_6
Frequent Advisor

Re: Backup

Hi,

There is a small correction and just now i found out there was no ignite to do a make recovery tape. So now i have to go for a traditional fabckup. I've 9 volume groups which contain 25 file systems. What will be the best way to back it up so that i will able to recover it smoothly and quickly? Also can you pls tell me the recovery process it will be good.

Your help is highly appreciated,
Michael Tully
Honored Contributor
Solution

Re: Backup

Hi Ramesh,

Given that you have a fair number of filesystems it maybe in your best interests to purchase a commerical backup software package such as omniback.

If you can't this could be the steps to think about.

Download the ignite (make recovery) filesets from here:

www.software.hp.com/products/IUX/download.html

To create an ignite tape:

# /opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn

Create you fbackup tapes, by placing each of the filesystems into a text file called a graph file. Us the example from Sachin.

# fbackup -g /tmp/graph -f /dev/rmt/0m (substitute
your tape device here)

# frecover -I /tmp/index.out (tape index)
# frecover -V /tmp/header.out (tape head info)
# frecover -x -f /dev/rmt/0m

Have a good read of the man pages before starting.

Cheers
~Michael~

Anyone for a Mutiny ?