fbackup problem


 
Thread Tools Search this Thread
Operating Systems HP-UX fbackup problem
# 1  
Old 02-24-2009
fbackup problem

Hi,

I have a fbackup step as below in HP-UX

/bin/nice /etc/fbackup -f /dev/rmt/0m -i / -I /opt/monitrol/tmp/Index.full

Now the errors that i will get in case of the fbackup step, I want to redirect them to a file. Please help me how to redirect to a file.

Thanks,

Avik.
# 2  
Old 02-24-2009
Do you want to redirect the output (errors) that you would see from fbackup on the screen into a file?

If yes,

Just add 2 > /tmp/filename at the end of your command.

If you need more detailed information, use -v. We use 2 before redirection as fbackup sends the info to stderr rather than stdout. If you want detailed information on this, contact the guru below.

#man fbackup

-DB
# 3  
Old 02-24-2009
Oh oh oh, Just read the other post!

Smilie

-DB
# 4  
Old 02-24-2009
A few things puzzles me:
We dont know what kind of box nor OS version you are running, nor what type of device is your /dev/rmt/0m (dat dat2 dat3 dat4 or what?) or volumetry of what is backuped

Why would one use nice when doing backup?
More its going to take time and more chances you have to have reconnextions and files opened...

Dustbunny explained how to redirect... but in your other thread you said you wanted on the console and in a file, that means using the command tee
# 5  
Old 02-24-2009
Additional from DustBunny

Example:
LOG_FILE=/temp/mylog.txt
/bin/nice /etc/fbackup -f /dev/rmt/0m -i / -I /opt/monitrol/tmp/Index.full > $LOG_FILE 2>&1
echo "Backup completed" >> $LOG_FILE 2>&1
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Fbackup to multiple files

I suffered a fault on a tape drive and would like to redirect my fbackup from /dev/rmt/0m to a NFS Share. I have mounted a NFS share in /mnt/NFSShare. When I run the following command: /etc/fbackup -0 -uv -i /backup2/BEM/BEML1 -c /usr/local/scripts/backup/fbackup_config -f... (2 Replies)
Discussion started by: Iceman_Pol
2 Replies

2. HP-UX

Fbackup aborts exactly at 2 GB

i tried to take a backup by using fbackup command. But it exactly aborted after taking backup of 2GB data. pleasse guide me how should i proceed to overcome this problem. The command i used is: fbackup -0 -y -f /dir1 \ -g fbackup_graph \ -c fbackup_config ... (6 Replies)
Discussion started by: siva3492
6 Replies

3. HP-UX

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)... (4 Replies)
Discussion started by: miskin
4 Replies

4. Shell Programming and Scripting

fbackup redirection to a file.

Hi, I have a fbackup step as below /bin/nice /etc/fbackup -f /dev/rmt/0m -i / -I /opt/monitrol/tmp/Index.full Now the errors that i will get in case of the fbackup step, I want to redirect them to a file. Please help me how to redirect to a file. Thanks, Avik. (5 Replies)
Discussion started by: avik.nandi
5 Replies

5. 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

6. HP-UX

fbackup

Hey guys im trying fbackup, what kind of device should be used for the output. i tried to put the output into a disk that i LVM and to /tmp but it wont work, theres an error saying that its not a valid device for backup. (14 Replies)
Discussion started by: sbn
14 Replies

7. HP-UX

HP-UX 10.20 fbackup? restore help/guidance needed

Hello, We've recently had a multiple hardrive failure in our legacy HP9000. Now the drives are repaired and the filesystems are recreated, I went to restore the last of the database tables from our dds3 backup, but cannot. Here's what's going on: BTW, I'm an absolute novice w/ HP-UX The... (5 Replies)
Discussion started by: jastuart
5 Replies

8. HP-UX

fbackup endind with wraning how to check on a script fbackup is good

Hi, I am writing a script that is doing a fbackup during the night and before it shutdown the database then run the fbackup then at the end before restarted the data base, I would like to check the status that the fbackup is fine but I always have warning (about socket: fbackup(1102): WARNING:... (2 Replies)
Discussion started by: touny
2 Replies

9. HP-UX

HP fbackup/frecover to SUN UNIX format?

Hi All, We have about 7 years worth of data which used the HP fbackup utility. Is there any utility to read these tapes on Solaris? The goal is to create new tapes using Legato. Do we need to download them to a box first using frecover, then copy them from SUN using Legato? Any help in... (0 Replies)
Discussion started by: tinakumar
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