HP-UX Full System Backup with fbackup


 
Thread Tools Search this Thread
Operating Systems HP-UX HP-UX Full System Backup with fbackup
# 1  
Old 09-23-2010
HP-UX Full System Backup with fbackup

Hello,

I'm still new in HP-UX backup and I want to do a FULL BACKUP of HP-UX server to TAPE device. After reading on several forums and posts, i have list down several steps on how to do a full backup on HP-UX with fbackup. I would like the gurus here to comment/advise on the steps below

1) Insert tape

2) mount tape with command below. This command will mount the tape device and automatically rewind
Quote:
mt -t /dev/rmt/0mnb rew
3) To speed up the backup to tape process, use the configuration file below:
Quote:
Create file as /etc/fbackup.cfg:

blocksperrecord 4096
records 64
checkpointfreq 4096
readerprocesses 6
maxretries 5
retrylimit 5000000
maxvoluses 200
filesperfsm 2000
4) Then run fbackup with command:
Quote:
fbackup -vf /dev/rmt/0m -c /etc/fbackup.cfg -i /
5) Have a jug of coffee to drink until the backup process finish Smilie

So now, i have several questions in mind:

1) Is there any error if i do a backup on "/" while system is running ? Maybe permission error. If yes, how can i make a backup on "/" ?

2) If the whole data , let say 35GB, and the tape capacity only, let say 20GB, can i continue the backup to 2nd tape ? . Is there another command or just put another tape after the 1st tape ejected ? Any advice ?

Thanks in advance.
# 2  
Old 09-24-2010
If fbackup isnt a bad tool, it will not replace a real backup/restore utility such as omniback, TSM, netbackup etc...
Nevertheless in older days (HPUX8 and 9) I only had fbackup...
As an admin I will always separate the system and the rest on all boxes I install:
vg00 is purely OS and OS related (users, OS software e.g. Java etc...) the rest in other vg groups and preferably on external disks.
I will therefore backup the system (entire vg00) with Ignite (make_recovery, make_tape_recovery ,etc...).
the rest with the backup software (or fbackup...).

At the time fbackup used to ask for the next tape... but if not changed but pressed <enter> it would continue on your system disk... In other words you would have to be present...
I suppose things have changed since...
# 3  
Old 09-24-2010
vbe is right. "fbackup" is not enough.

I would also like to add that "fbackup" in common with many of the unix feebies such as "dump" does not deal with large files (above 2Gb). It is also not accepted as a backup by HP support.


If you want to be able to recover from a system disc failure you should first make an Ignite backup and repeat that backup every time you make a significant change to the system configuration. Don't forget to record the current root password against that backup.

Then also use proper backup software (e.g. HP Omniback aka. Data Protector) to back up every file bearing in mind that "files" backups do not back up the Operating System properly - hence the Insight backup.

Don't forget to quiesce filesystems before you run a backup. In the basic case this mean stopping any databases and ensuring that no files are open. There are techniques available to keep database engines such as Oracle running during a backup.

It is advisible to rehearse and document the restore again-and-again to an expendable computer until you are confident that the restore works. If you are meticulous in your Insight backups or /dev/vg00 you may just need to bring /etc/passwd up to date before restoring the individual filesystems from the secondary backup.


Dealing with "fbackup" or "dump" process which go onto a continuation tape needs technical knowledge and planning. Imho you need to break the backup down into separate tapes by careful sizing and planning. i.e. Make each tape a separate backup operation containing one or more distinct disc partitions and don't let the backup software ask for a continuatation tape.
Imho. The best technique is to place each filesystem backup onto a separate tape partition and then use "mt" commands to navigate the tape. This is not necessary with HP Omniback because it recognises different mountpoints.
# 4  
Old 09-25-2010
That is right. After performed the backup process using fbackup and ignite, i can say that fbackup only backup your data while make_tape_recovery is for backing up your vg00(image system).

As for my 2nd question, if your data is more that your tape capacity, it will ask you to put another tape to continue the backup until the process finish.

I manage to backup 3 HP server (rp7400 (1) and rp5470 (2))
# 5  
Old 09-25-2010
It is advisible to not fill a tape and go onto a continuation tape. This will give you problems when reading the backup.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Help - Chosing backup way (full system + zones)

Hello i am new on Solaris, and i need to migrate my old AIX 5.3 to Solaris 11.2 Now i have all apps working fine but i have the backup cause i was reading and i have not idea about what method must i choose. Btw on AIX i had a mksysb backup to restore all system and obviously another backups to... (4 Replies)
Discussion started by: thorin666
4 Replies

2. UNIX for Advanced & Expert Users

Grub - how to boot a copy of Linux (full system backup)

Hi All, I have successfully backup & restore (using tar) one of my Debian Lenny Servers. On the restore server (standby machine), everytime i have to erase the disk & extract the tar backup. I want to extract the tar on the running restore server on a directory for e.g /systembackup-01,... (11 Replies)
Discussion started by: coolatt
11 Replies

3. UNIX for Advanced & Expert Users

how to make a full system backup excluding data and restoring it to a new system

Hi, In order to have a sand box machine that I could use to test some system changes before going to production state, I'd like to duplicate a working system to a virtual one. Ideally, I'd like to manage to do it this way : - Make a full system backup excluding the user file system (this... (7 Replies)
Discussion started by: pagaille
7 Replies

4. HP-UX

Backup Script using fbackup command Help Needed.

Hi Friends, I'm new to unix, I have the below script which takes regular backup. Now if fbackup fails I get the below messages in my log as fbackup(3047): could not open output file /dev/rmt/0m fbackup(3019): would you like to enter a new output file? fbackup(3004): writer aborting... (4 Replies)
Discussion started by: avik.nandi
4 Replies

5. UNIX for Dummies Questions & Answers

Full System Backup Sco 5.0.5

I would like to know if I can do a full system back up on my Unix Sco openserver 5.0.5 Machine. If so, What is the syntax to do this or where can I find this information at? Also, is it possible to make this tape bootable so that I can easily do a full system restore? Any information on... (2 Replies)
Discussion started by: nellenodrog
2 Replies

6. Solaris

full system backup

I have unix server with OS 5.8 ,,, I tried ufsdump 0ua -f /dev/rmt/0 / to perform full system backup on tape but I failed could any one give a procedure for full system backup on solaris machine using tapes??? (1 Reply)
Discussion started by: mm00123
1 Replies

7. UNIX for Dummies Questions & Answers

System full backup to tape

hi, Recently, I had receive one system. it's run on the unix tru64 server. I looking some log files when i know don't work few months age system backup to tape. Below error: INFO:Tape backups to tape tape0 starting for backup list: slot2:/disk4 Backup Command Variable... (0 Replies)
Discussion started by: Tlg13team
0 Replies

8. Linux

full system backup script

Please help. I am new to linux. I wrote a script to run the backup on lunix machine but the job gave me an error. I am using Linux 2.6.14.3. Below is the sample of my script can anyone tell me where went wrong? Thanks in advance. #!/bin/sh dat=$(date +%d%b%y)... (5 Replies)
Discussion started by: clement
5 Replies

9. UNIX for Dummies Questions & Answers

Full System Backup / Cloning HPUX

I am new to UNIX and need help in cloning a HPUX 10.2 Ace 5, can anybody please guide me in making a full system backup. Real Chess (0 Replies)
Discussion started by: real-chess
0 Replies

10. HP-UX

Backup using fbackup

Dear All, We have Universe database on HP-UX Servers, when we take back on DDS3 it completes around 48 Gb data on just one tape. As per DDS media specs it can hold upto 24 GB compressed data. How it is managing more than double data..? (3 Replies)
Discussion started by: Kashif Raees
3 Replies
Login or Register to Ask a Question