On Saturday, May 20, 2017 at 1:32:17 PM UTC-4, MotS wrote:
> I figured it out. If I add the "sparse=yes" option to the fileset then 
> it works correctly. Without that option the LDAP database on the client 
> is 81GiB after a restore.
> I wonder why "sparse=no" is the default, even though setting it to yes 
> doesn't break anything according to the docs.

 snipped

Ahh, that makes sense.  With sparse  = no you get the whole device or partiton 
such as /dev/sda1.  I image it's not default yes because according to the docs 
it has some small additional overhead but more importantly if Bareos detects a 
buffer of all zero it writes a sparse block which will causes a hole in the 
file which may not be good so we shouldn't use sparse on things that are not 
really sparse.

I may try that option.

Glad you found the answer..

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to