1835569 Members
2449 Online
110078 Solutions
New Discussion

fbackup log

 
SOLVED
Go to solution
Ionut Grigorescu_2
Super Advisor

fbackup log

Hi all,

a simple question for you - were is the log file of the fbackup. I always used sam for filesystem backup and now I have used fbackup like
#fbackup -0i / -v -f /dev/rmt/c0t3d0BEST
The backup was completed with warnings but I don't know were is the backup log - in /var/adm/fbackupfiles there is only one file dates which is from 17'th of April 2003.

Thank you in advance,
ionut
If it weren't for STRESS I'd have no energy at all
6 REPLIES 6
twang
Honored Contributor

Re: fbackup log

Check logfiles:
/var/sam/log/samlog
/var/sam/log/br_log
/var/sam/log/br_index.full
Tim Adamson_1
Honored Contributor
Solution

Re: fbackup log

Hi ionut,

You will need to redirect stdout and stderr to get your log file. You might also want to consider creating an index file too.

eg:

fbackup -0i / -v -I /tmp/fbackup.index -f /dev/rmt/0m >/tmp/fbackup.log

Then look at the files /tmp/fbackup.index and /tmp/fbackup.log

Hope it helps.

Yesterday is history, tomorrow is a mystery, today is a gift. That's why it's called the present.
Con O'Kelly
Honored Contributor

Re: fbackup log

Hi

You need to send it to a log file, by default goes to standard out.

Use:
# fbackup -0i / -v -f /dev/rmt/c0t3d0BEST > /tmp/fbackup.log 2>&1

Cheers
Con
malay boy
Trusted Contributor

Re: fbackup log


Hi,
Alternatively you can used tee command.Example :
fbackup -0i / -v -f /dev/rmt/c0t3d0BEST|tee /tmp/index

regards
mB
There are three person in my team-Me ,myself and I.
Rajeev  Shukla
Honored Contributor

Re: fbackup log

Hi,
When you use backup through SAM it uses
/usr/sam/lbin/br_backup to backup the files and the logs for it are created in /var/sam/logs

Now when you do fbackup you have redirect the output to a log (use 2>&1)file to see it..

Rajeev
Ionut Grigorescu_2
Super Advisor

Re: fbackup log

Thank you all - case closed.
So I have to redo the backup and wait another 8 hours :-(...
If it weren't for STRESS I'd have no energy at all