Operating System - HP-UX
1847056 Members
5509 Online
110261 Solutions
New Discussion

Ignite Differential Backup

 
SOLVED
Go to solution
sk800i
Advisor

Ignite Differential Backup

Hi,

Does Ignite-UX can run Differential/Incremental Backup? I'm using v11.23

If no, how can I use backup for system backup with Diff/Incr Backup?

--SS
11 REPLIES 11
Pete Randall
Outstanding Contributor

Re: Ignite Differential Backup

No, Ignite is intended as more of a DR solution, thus it backups and restores a whole system. You probably should look at fbackup for your needs.


Pete

Pete
sk800i
Advisor

Re: Ignite Differential Backup

Hi Pete,

Can fbackup command backup a whole system too?

I want to use full backup on Sunday and Diff backup on week day and weekend. When the system crash, I can restore it using Full backup tape + Diff backup tape.

regards,
Simon
john123
Trusted Contributor
Solution

Re: Ignite Differential Backup

Hi.,

It would be a good idea if you do an ignite backup too once in month..
With Ignite backup it allows you to boot from the ignite server or tape when the system crashes and recover the system as it were when the ignite backup taken.

And once the system is recovered you can restore your other data from fbackup tapes.

Torsten.
Acclaimed Contributor

Re: Ignite Differential Backup

Please think about the concept.

Ignite takes a full "image" of the operating system (vg00) and is able to restore it - even to an empty disk.

fbackup can take full and incremental backups, but it needs an running OS prior to restore a backup.

Depending on your hardware, an ignite backup could take ~15 to 20min (fast hardware) for a full backup of the OS (vg00).

No incremental backups with ignite are possible.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Davis Paul
Valued Contributor

Re: Ignite Differential Backup

Hi Simon,
I would like to add following:
To take a full backup of vg00 in a tape use the command:
#make_tape_recovery -a /dev/rmt/XXmn -I -v -x inc_entire=vg00
If the system crashes you can recover the operating system very easily from this Ignite backup.

To take the fbackup use-
#fbackup -v -f /dev/rmt/0m -i /etc â e /etc/lp
The above backup will includes every file under the /etc directory tree except the /etc/lp subdirectory.
Hope this will help.

Regards,
Davis Paul.


Davis Paul
Valued Contributor

Re: Ignite Differential Backup

Hi Simon,
I would like to add the following:
To take a full backup of vg00 in a tape use the command:
#make_tape_recovery -a /dev/rmt/XXmn -I -v -x inc_entire=vg00
If the system crashes you can recover the operating system very easily from this Ignite backup.

To take the fbackup use-
#fbackup -v -f /dev/rmt/0m -i /etc -e /etc/lp
The above backup will includes every file under the /etc directory tree except the /etc/lp subdirectory.
Hope this will help.

Regards,
Davis Paul.


sk800i
Advisor

Re: Ignite Differential Backup

Dear Davis,

Thanks your info. If I use fbackup to backup a whole HPUX OS (/, /etc, /var, /usr, /opt, etc), when I use frecover to recover all mount point. Do I need to use lvlnboot to root mount point otherwise it cannot boot up the system?

If yes, how to use the lvlnboot command? Can you give an example too?

Platform: rx2660 (v11.23)

--Simon
Steven E. Protter
Exalted Contributor

Re: Ignite Differential Backup

Shalom,

Your last post is a bad plan.

Use Ignite to back up the boot volume, vg00.

Use fbackup to backup user data. Put oracle databases and such in backup mode so with some sql code before attempting to get a backup of them.

fbackup is good for regular files, not really good at database backups. A professional tool, like DP 5 or Veritas Netbackup or Legato is better.

A complete DR solution includes two things:
1) Ignite for the Core OS.
2) Another tool for the user data.

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
yassyboy
Frequent Advisor

Re: Ignite Differential Backup

Hi,

Try reading OReilly.Backup.and.Recovery. it provides in depth Bare Metal Restore and Different backup types guide.

It also list many OPen Source and commercial backup solutions for Unix/Linux/Windows/Oracle/MySQL

I recommend reading....a definite good guide and good source of information.

This book got me interested in researching about AMANDA and Backula backups..

According to me backup itself is a big subject and requires alot of planning and practice.
yassyboy
Frequent Advisor

Re: Ignite Differential Backup

We have two HP-UX systems running each at two different sites.

We occasionally have site change over.

Both system has exact same hardware with FC Raid HDD.

They are running M/C service Guard and Oracle Database systems.

I follow the following backup solution : -

1. IGNITE to make_tape_recovery -Av # To backup vg00

2. Stop the running Cluster "cmhaltcl"
# Stopping the cluster dis-mounts the global file system.

3. Manually mounting using the cmtools.
eg. root% /etc/cmcluster/cmtools/sgsdskmx.sh disown db
root% /etc/cmcluster/cmtools/sgsdskmx.sh -a mount db
root% /etc/cmcluster/cmtools/sgsdskmx.sh disown system
root% /etc/cmcluster/cmtools/sgsdskmx.sh -a mount system

4. root% fbackup -v -f /dev/rmt/0m -i /d # Optionional if want to exclude directory "-e /d/application "

N.B. : Please note 2 Tapes are used. One for IGNITE and second for FBACKUP seperately

-------------Restore of ignite backup on HP-UX server-----

1. On HP-UX server as root stop the cluster:
root% cd /
root% cmhaltcl â fv
Wait until the cluster halts totally
(Cluster is totally halted when you get back the console prompt for write access)

2. On HP-UX server console as root:
root% shutdown -ry 0
This command will restart the server

3. Boot server from Ignite tape.

When message â Press any key to discontinue the boot process ...â press a key in 10 seconds from the message is displayed.

4. From console: sea

5. From console: bo Px
"x" is a number which should be choosen from the sea list. The number represents the DAT tape device

For question: Interact with IPL: N

The server will reboot twice before it's ready.

-------Restore of offline backup------

1. On HP-UX server as root stop the cluster if it's running:
root% cd /
root% cmhaltcl â fv
Wait until the cluster halts totally
(Cluster is totally halted when you get back the console prompt for write access)

2. Mount the global filesystems manually:
root% /etc/cmcluster/cmtools/sgsdskmx.sh disown db
root% /etc/cmcluster/cmtools/sgsdskmx.sh -a mount db
root% /etc/cmcluster/cmtools/sgsdskmx.sh disown system
root% /etc/cmcluster/cmtools/sgsdskmx.sh -a mount system

3. Insert the tapes used for fbackup into the dat drive of HP-UX server

4. root% frecover -r -v -f /dev/rmt/0mn
This step is used for restore of global disks

5. Unmount the global filesystems manually:
root% /etc/cmcluster/cmtools/sgsdskmx.sh -a umount db
root% /etc/cmcluster/cmtools/sgsdskmx.sh -a umount system


6. Start the cluster:
root% /usr/sbin/cmruncl â v

7. Check the cluster state with command:
root% /usr/sbin/cmviewcl


----------------THE END------------

Ofcourse if you are not using MC Service guard you can skip that part and concentrate on IGNITE and FBACKUP.

KR...



Davis Paul
Valued Contributor

Re: Ignite Differential Backup

Hi,
Please check the following link also:
http://docs.hp.com/en/5992-1959/index.html
Regards,
Davis Paul.