> 
> The sparse option is intended to work only for *real* sparse files, and you
> are trying to apply it to reduce or compress zeros in certain images.  This
> could probably be better done through a plugin where one could tune it to
> do exactly what you want.
> 

If your goal is simply to save space from sectors filled with 0's then you'd be 
struggling to get better efficiency than gzip for the effort involved.

For disk images though, a plugin that can skip unused space (which may not be 
0's in the source but wouldn't matter if it was 0's when restored) might be 
useful. partimage (http://www.partimage.org) can do this for a good number of 
modern filesystems (except ext4 and btrfs according to the main page), so you 
might be able to use a pipe plugin to make it happen, although a better 
solution would be something that could create a snapshot (if on lvm), a VSS 
snapshot (for Windows) or otherwise pause the source machine, then invoke 
partimage, and handle restores too.

James


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to