> 
> > Kern Sibbald wrote:
> >> On Monday 23 November 2009 19:36:10 Steve Polyack wrote:
> >>
> >>> Steve Polyack wrote:
> >>>
> >>>> I've simply added another configuration option for any Storage {}
> >>>> resource in the Director's config.  An admin may set
> >>>> AllowCompression=No for a particular storage resource, causing
the
> >>>> director to prevent any GZIP compression options from being sent
to
> >>>> the FD when a job is run against that particular storage
resource.
> >>>> The default for the directive is Yes/true so that behavior is
> >>>> unchanged for anyone who does not choose to set it.  There may be
a
> >>>> better way to strip the compression flags from the fo->opts[]
going
> >>>> out to the FD, but this works great and appears readable to me.
> >>>>

What happens with a migrate/copy from a storage that supports
compression (as per your new option above) to one that doesn't, or the
other way around? I assume nothing different as this is an option that
impacts the FD only right?

Ideally, if you copied an uncompressed job from tape to disk, you might
like the option to compress the job if it wasn't compressed already (not
possible at the moment afaik as the compression is always done on the
fd?).

If you copied a compressed job from disk to tape (a much more likely
scenario) the job should stay compressed (no point undoing the
compression 'effort'), but the hardware compression on the tape drive
itself should be disabled. AFAIK, bacula has no way of turning tape
drive compression on or off at this time though.

If the items in the above two paragraphs are addressed at any time in
the future, the AllowCompression option would need to be in the
bacula-sd.conf file right?

James


------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to