1847501 Members
4918 Online
110265 Solutions
New Discussion

Re: fbackup - How do I?

 
SOLVED
Go to solution
ajsobers
New Member

fbackup - How do I?

How do I copy the contents of two source directories directly to a compressed file on tape.

I'm thinking:

fbackup -f -g /my_graph_file_location | compress > /dev/rmt/0m/FILE.Z

The contents of my graph file contain two entries:

-i /source/dir/location/1
-i /source/dir/location/2
7 REPLIES 7
Ludovic Derlyn
Esteemed Contributor
Solution

Re: fbackup - How do I?

hi,

-f specify your destination

so you can use -f /dev/rmt/0m
For compress, i don't know if you can use | compress

Regards
L-DERLYN
OldSchool
Honored Contributor

Re: fbackup - How do I?

I would be wary of running the backup thru compress. I can be done, but:
1) most tape drives today have hardware compression anyway. If you feed such a drive "compress"ed data, you may actually use more tape than if you didn't.
2) it may slow down the ability to selectively recover files. (see the man pages for fbackup regarding separator marks w/ DLTs)

If your goal is to increase through-put, see Bill H's config file recommendations in this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=733227

ajsobers
New Member

Re: fbackup - How do I?

Ok, maybe I'll skip the compress part and just copy directly to tape. Now I have:

fbackup -f /dev/rmt/0m -g /graph/file/dir

Ludovic Derlyn
Esteemed Contributor

Re: fbackup - How do I?

Hi again

Add -I "path" to have an index
Files saved are specified, with size etc...

It will be interisting to debug

Regards
L-DERLYN
ajsobers
New Member

Re: fbackup - How do I?

Aren't the two lines:

-i /source/dir/location/1
-i /source/dir/location/2

inside my graph configuration file enough?

Are you saying that I have to include it (the i, option) at the command line as well?
James R. Ferguson
Acclaimed Contributor

Re: fbackup - How do I?

Hi:

you are confusing '-I path' (an uppercase "I") with "-i path" (a lowercase "i"). The uppercase switch is for creating an index file. The lowercase switch is for including a path and as you know can be a '-g'raph file specification, too. See the manpages for 'fbackup(1M)'.

Regards!

...JRF...
ajsobers
New Member

Re: fbackup - How do I?

Thanks James!