Operating System - HP-UX
1825002 Members
2652 Online
109678 Solutions
New Discussion юеВ

Re: System back up enquiry

 
SOLVED
Go to solution
Cat_4
Advisor

System back up enquiry

Can anyone give advise on how to do the system back up to my L1000 server ? This is production machine. What method ( ignite or fbackup ? ) and what is the step for that ?
How can I get more information about this ?

thanks in advance !!

Cat
7 REPLIES 7
Michael Tully
Honored Contributor
Solution

Re: System back up enquiry

Hi,

Depending on the size of the system you have will determine what backup you should use.

Generally speaking creating an ignite tape is sufficient for your OS (/dev/vg00). If your system is quite small you can use ignite to do all of it, if it fits onto a single tape.

To create an ignite tape assuming /dev/vg00 only
# /opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn (assuming your using /dev/rmt/0m device, also you must use the no-rewind device.)

To create an fbackup archive
# fbackup -i /my_otherfilesystem -f /dev/rmt/0m

You can get additonal information on ignite from here:
http://www.docs.hp.com/hpux/onlinedocs/B2355-90750/B2355-90750.html

Latest ignite software from here:
http://www.software.hp.com/products/IUX/download.html

If you have a database or two you need to be a little more cautious on what tools are used.

HTH
Michael
Anyone for a Mutiny ?
Michael Tully
Honored Contributor

Re: System back up enquiry

One further thought in regards to the use of 'fbackup' You can actually use 'sam' to create the 'fbackup' archive for you, and you can also generate a schedule. This schedule will get included in 'cron' so all you need to do is set it up, and change your tapes on a daily basis. (Mon-Fri)
Anyone for a Mutiny ?
Denver Osborn
Honored Contributor

Re: System back up enquiry

More information about ignite/ux is also available from http://www.software.hp.com/products/IUX

make_tape_recovery is designed for disaster recovery and shouldn't replace a daily backup schedule. Although it is possible to extract files from the archive some find it best to keep it separate from their backup strategy.

hope this helps
-denver
Sridhar Bhaskarla
Honored Contributor

Re: System back up enquiry

Hi,

You should be using both of them.

1. Ignite will help you to quickly restore the OS. Prepare a make_tape_recovery image once every month and before you make any change to the system.

This is an additional software available free of charge from HP.

http://www.software.hp.com/products/IUX/faq.html


2. You can use fbackup to selectively restore the data. This will help you during accidental deletions of files. fbackup will allow you to do full backup and incremental backups as well. So, you may want to take a full backup of the system once every week and incremental everyday. You can decide how you want to do it based on the criticality. However if you are using the database, backing up db* files will be of no use. You will need to export the database and take a backup of it.

Look at fbackup and frecover man pages.

-Sri

You may be disappointed if you fail, but you are doomed if you don't try
Ravi_8
Honored Contributor

Re: System back up enquiry

Hi,

You can use either ignite or fbackup method.

to backup using ignite
# /opt/ignite/bin/make_tape_recovery -I -v
-a /dev/rmt/0mn (assuming /dev/rmt/0m is the tape device)

fbackup archive:
# fbackup -i / -f /dev/rmt/0m
never give up
Norman_21
Honored Contributor

Re: System back up enquiry

Hello,

Like everbody said, you need the ignite recovery tape to be done before you change your system configuration and after changing it.
to get the tape drive:

#ioscan -funC tape

to backup using the ignite utiliy:

make_tape_recovery -I -v -x inc_entire=vg00
use the one ends with which will not rewind the tape at the end of the backup.

Also, take a Daily/Weekly backup using fbackup or tar.
I'm using the tar command which is the GNU version and supports more than 2GB.
#tar -cv /mydata1/* /mydata2/* etc..
to restore
#tar -xv *
I have enclosed a simple script which might help. You can customize it with any backup command you wish to use.

Good luck.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Norman_21
Honored Contributor

Re: System back up enquiry

Ooops, here is the script.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003