1827595 Members
2789 Online
109966 Solutions
New Discussion

Backup problems

 
SOLVED
Go to solution
Carter Jay
Advisor

Backup problems

Hello,

I want to put in place a backup policy on my HP. Each time I try to do this with SAM (Automated Inc and Full Bck), I've got some errors (exit 2 and 4)and I can't back files up. Is there a good Hp documentation, or is there better way than another to do this?
I also want to do a make_recovery tape (we never know).

Thanks in advance for your help

Regards

Jerome

PS: Perhaps using a free automated bck tool???
6 REPLIES 6
Jean-Luc Oudart
Honored Contributor
Solution

Re: Backup problems

ignite backup is certainly not only a good thing but a *MUST* do

have 2 tapes of each (just in case).

check the link
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4e35eea29889d611abdb0090277a778c,00.html

Jean-Luc
fiat lux
James R. Ferguson
Acclaimed Contributor

Re: Backup problems

Hi:

SAM uses 'fbackup'. A return status of <2> indicates an error (tape not write-enabled, etc.). A return status of <4> simply means that a warning was announced (file not copied after 'maxretries' exhausted, etc.).

You don't indicate what OS version. There was a time when SAM treated exit status of <4> as an error instead of a warning, but patches fixed this.

There are volumes of threads in this forum dealing with 'fbackup'. The man pages for 'fbackup' and 'frecover' also offer an insight into this powerful utility.

There are also numerous threads on Ignite recovery here. Documentation and software for download can be obtained here:

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

Regards!

...JRF...
Steve Steel
Honored Contributor

Re: Backup problems

 
If you want truly to understand something, try to change it. (Kurt Lewin)
Paula J Frazer-Campbell
Honored Contributor

Re: Backup problems

Hi

The file :_

/etc/sam/br/fbackup_config

blocksperrecord 32
records 32
checkpointfreq 32
readerprocesses 2
maxretries 20
retrylimit 5000000
maxvoluses 100


Sets the config for Fbackup if you are getting file locking errors change the maxretries setting and monitor.


Ignite is here:-

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


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

Will craete an ignite tape for all of vg00



HTH
Paula

If you can spell SysAdmin then you is one - anon
Frank Slootweg
Honored Contributor

Re: Backup problems

The *mail* message you (root) get says:

> For more information, see the log file /var/sam/log/br_log

Have you looked in that file? If so, what does it say? If not, why not?
Dirk Wiedemann
Respected Contributor

Re: Backup problems

Hello Jerome,

as a endorsement to the accurate tips before some fundamental informations for your better understanding:
- you can use fbackup and frecover for your normal backups of application data etc. Create a backup strategy.
- anyway you should use make_recovery to create disaster recovery tapes of your boot logical volumes (in case you use lvm)
make_recovery is an excellent tool to create a bootable tape with all your data of the most important logical volumes. If your boot-disk isn't to big, you can use make_recovery with the Option "-A" to create a tape with all logical volumes of the whole boot-disk.
In case of disaster failure (the system dosn't boot, your boot-disk crashed e.g.) you can boot from the tape and automatically your system is recovered.
You should use make_recovery after all essential modifications of your system configuration. Make it a rule to create a second tape because a tape could be damaged, too.
Some aditional notes:
- You can use the tapes to clone a system. Please note that after a cloning you have also to change the mac-adress in the config-file in /etc/rc.config.d of your lancard. This is very important if both systems are in the same subnet.
- be careful with make-recovery tapes created without the option -i (interactive). That means if you boot from the tape: by default the boot-lv's are overwritten, if you don't interrupt the automatic recovery process within 10 seconds after the according message.
- if your boot-disk has a mirror-copy, you have to recreate the mirror-copy manual after a recovery process and make it bootable (have a look at http://support4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062683954)

Dirk