Operating System - HP-UX
1836599 Members
2557 Online
110102 Solutions
New Discussion

Re: SAM Auto backup failed

 
Henry Chua
Super Advisor

SAM Auto backup failed

Hi guys I tried backing up my box (running HPUX 10.20b)data remotely to a sun solaris 8 box. Using SAM automated backup but was prompted :
"fbackup (3301: could not open output file "

/var/sam/log/br_log shows this "

Full backup started on wtws03 : Mon Dec 13 14:00:02 SST 2004 (Scheduled Backup)
{ fbackup -0 -u -g /etc/sam/br/graphXAAa03052 -I /var/sam/log/br_index.full -
c /etc/sam/br/fbackup_config -d /var/adm/fbackupfiles/dates -f wtwfbm02:/HOST3/D
ECO_HOST3_BACKUP } 2>&1
Full backup failed on wtws03 : Mon Dec 13 14:04:59 SST 2004 .
Exit code = 2

Full backup started on wtws03 : Mon Dec 13 14:44:01 SST 2004 (Scheduled Backup)
{ fbackup -0 -u -v -g /etc/sam/br/graphXAAa03052 -I /var/sam/log/br_index.full
-c /etc/sam/br/fbackup_config -d /var/adm/fbackupfiles/dates -f wtwfbm02:/HOST3
/DECO_HOST3_BACKUP } 2>&1

Full backup started on wtws03 : Mon Dec 13 16:26:07 SST 2004 (Scheduled Backup)
{ fbackup -0 -u -v -g /etc/sam/br/graphXAAa03052 -I /var/sam/log/br_index.full
-c /etc/sam/br/fbackup_config -d /var/adm/fbackupfiles/dates -f wtwfbm02:/HOST3
/DECO_HOST3_BACKUP } 2>&1 "


anyone got any idea wat i did wrong? thanks!
9 REPLIES 9
OZ_4
Occasional Advisor

Re: SAM Auto backup failed

does the sun box ask for a password when you remsh to it?
In order for fbackup to function properly, SystemA needs to either
remsh, or rlogin to SystemB, without being prompted for a password.

you can test it by trying remsh to system b the sun box and see if it ask for a password
if it does then do this to systemB

$ pwget -n root -> determine root's home
directory
$ who -R -> hostname is SystemA.bla.bla.com
$ vi /.rhosts -> add the following line
SystemA.bla.bla.com root

then test it again, it should work
if
Henry Chua
Super Advisor

Re: SAM Auto backup failed

Hi,does that mean I only have to add a line in /.rhost file?.. but I cant seem to find this file.. anyone know where it is?
Henry Chua
Super Advisor

Re: SAM Auto backup failed

Hi guys, I have created the .rhost file on the target server. Have rlogin to it wihout it promptin password. Try invoking the automated backup from SAM again. But failed

error msg on /var/sam/log/br_log:
"Full backup started on wtws03 : Tue Dec 14 10:12:21 SST 2004 (Scheduled Backup)
{ fbackup -0 -u -v -g /etc/sam/br/graphXAAa03052 -I /var/sam/log/br_index.full
-c /etc/sam/br/fbackup_config -d /var/adm/fbackupfiles/dates -f
wtwfbm02:/HOST3
/DECO_HOST3_BACKUP } 2>&1
Full backup failed on wtws03 : Tue Dec 14 10:17:44 SST 2004 .
"

anyone know what i did wrong?.. Please advise..
thanks!!

Darren Prior
Honored Contributor

Re: SAM Auto backup failed

Hi,

fbackup is an HP-UX utility and is only able to remotely backup to another HP-UX box.

regards,

Darren.
Calm down. It's only ones and zeros...
Eric Antunes
Honored Contributor

Re: SAM Auto backup failed

Hi Henry,

Try to use Interactive Backup first to check if you see the remote backup device:

SAM -> Backup and Recovery -> Interactive Backup and Recovery -> Action -> Use Remote Backup Device -> Back Up Files Interactively... -> Specify Remote Backup Device... -> (Here you must enter the name of the remote server and the device file: /dev/rmt/0m). Are you able to finish this step successfuly?

Regards,

Eric Antunes
Each and every day is a good day to learn.
OZ_4
Occasional Advisor

Re: SAM Auto backup failed

the .rhost file fixed the issue with error 3301,
now fbackup is giving you the exit code 2

exit code 2 is one of the problems i'm going to list

Most common causes for exit code 2:

Problem: No tape in the tape drive.
Solution:If the backup solution does not include an autoloader verify that
tape changes are properly carried out. Also, with the prevalence of servers
with two or more tape drives verify that tape is installed in device
being written.

Problem: Dirty heads on the tape drive.
Solution: Setup and follow a regular cleaning schedule for all tape drives


Problem: Defective media in the tape drive.
Solution: Do not assume the tape you are using is good. Follow usage
instructions provided by tape manufacturer. Never use tapes more than
recommended by manufacturer

Problem: Tape is full and requests second tape and didn't receive it.
Solution: Use bdf(1M) to verify that the files being archived will fit onto
the media used. If a second volume is required, place volume in drive and
respond when fbackup prompts for a response

Problem: Mechanism failure with the tape drive.
Solution: Contact HP support


hope it helps, let me know
Henry Chua
Super Advisor

Re: SAM Auto backup failed

I have tried the interactive backup suggested by Eric, the same error messages were prompt... I think Darren might be right in saying that the remote backup may be able to work only to system with UX platform...

Anyway if this is the case what do you guys reckon I used for this case?..

I need to do a incremental backup from an UX to a Solaris Box every week...

THank u all!!
Bill Hassell
Honored Contributor

Re: SAM Auto backup failed

fbackup expects to schedule a remote tape drive handler which is only available for HP-UX, so fbackup is not going to work. You'll have to use a remsh pipe with tar or cpio.


Bill Hassell, sysadmin
Rashid Hamid
Regular Advisor

Re: SAM Auto backup failed

Use 3rd party backup software such as Omniback, Veritas, Legato or Bakbone
I'm Parit Madirono/Parit Betak Boyz