1819777 Members
3161 Online
109607 Solutions
New Discussion юеВ

fbackup question

 
SOLVED
Go to solution
Jeff Nyberg
Advisor

fbackup question

Howdy,

I want to move from using ftio as my secondary backup method to fbackup. I'd like to keep a record of when a backup was run and what was backed up. From the man pages I see that I can use the -I to create the index file with whatever path I want. The -V also looks like it will be helpful and that it appears to behave much the same way. My question is this - if I run a full backup of a particular directory each night will the -I and -V options overwrite each night, does it append to the file that is already there, or does it create a new file? The man page didn't answer this question and I couldn't find anything else on the website. Any help is appreciated!

Thanks much,

Jeff
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: fbackup question

A quickie:

fbackupscript 2>&1 | mailx "fbackup report" backups@yourdomain.com

This routes the output with errors to an email box that can be set to retain as long as you need. WE use this to track batch processs.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bryan D. Quinn
Respected Contributor

Re: fbackup question

Hello Jeff,

As for the -I option, it will overwrite the previous file. I am not sure about -V, I have not used that before.

Hope this helps!
-Bryan
Bryan D. Quinn
Respected Contributor

Re: fbackup question

Hello again Jeff,

I just checked the -V option and it overwrites the file also. You know you could just change the file name each time you run the backup. I do that on some of my log files, by manipulating the date command. It just depends on the amount of space you have available and how big the files are going to be.

Here is an example of what I am talking about:

$FILE.$(date +%m%d%y)

-Bryan

-Bryan
Bryan D. Quinn
Respected Contributor

Re: fbackup question

Ooops!

Jeff,

Sorry, but the -I and -V options I was thinking of deal with the frecover and pulling information off of the tape. I am checking it with the fbackup command and it looks as though they work the same way with both. I will let you know when I have completed my little test.

-Bryan
Bryan D. Quinn
Respected Contributor
Solution

Re: fbackup question

Hello Jeff,

Both the -I and -V options are the same for the fbackup and frecover commands. Both do overwrite the file.

-Bryan
Hoefnix
Honored Contributor

Re: fbackup question

If you do a fbackup to a tape it's alway wise to use frecover after the backup just to readback the tape (bot now restore). Do not test the tape reading back the index, thats not a full scan of the tape.

Use frecover -v -r -N -f /dev/rmt/...
It will read back the tape without a recover.

Doing the frecover at the end of the backup script takes longer then just grep the output of fbackup in a email, but it gives more sureness that you can read back your tape when needed to recover data.

Regards,
Peter