Re: [Bacula-users] Question about Filesize from tape files
2012-12-03 04:25:23
Zitat von Dimitrij Hilt <dimitrij.hilt AT fhe3 DOT com>:
> Am 03.12.2012 02:21, schrieb Dan Langille:
>> On Dec 2, 2012, at 6:40 PM, Dimitrij Hilt wrote:
>>
>>>
>>> Hi there,
>>>
>>> i have bacula system on debian squeeze with packages from back ports.
>>
>> What version of Bacula are you running?
> Version: 5.2.6 (both DIR and SD) comming from Debian backports package
> 5.2.6+dfsg-1~bpo60+1.
>>
>>> I
>>> use file based backups and i'm wondering why tape files are created as
>>> sparse file:
> du --block-size 1 file-0399
>>> 134742016 file-0399
> du --bytes file-0399
>>> 70112117 file-0399
>>
>> What does the above represent? What command did you issue?
>>
>>> Any idea how i can avoid it? It waste to much disc space.
>>
>>
>> Not yet. I don't know what I'm looking at. :)
>
> Thanks.
>
> Once more. If i copy this file localy and back, it shrinks to normal
> size and both 'du' are same. Restore from shrinked file is still possible.
Not sure but from my knowledge Bacula does not delete/truncate files
by default when they are reused but simply overwrite them. You could
try "Action On Purge = Truncate" to "shrink" the files before reuse.
Regards
Andreas
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|