Bacula-users

Re: [Bacula-users] Strange issue with backup size

2013-04-05 13:46:44
Subject: Re: [Bacula-users] Strange issue with backup size
From: "Alberto Caporro" <a.caporro AT consulthink DOT it>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 05 Apr 2013 19:43:07 +0200
Hi Adrian,

the "estimate" command gives more or less what I actually get:

*estimate job=BackupMailserver
Using Catalog "MyCatalog"
Connecting to Client mail.lab.retis.it-fd at 10.10.200.10:9102
2000 OK estimate files=417,626 bytes=145,337,578,064

It seems that despite the "sparse = yes" option the big file is being 
counted in as with its "apparent" size.

Just to clarify, this is what I get for the apparent and real size of 
that file

root@mail:/opt/zimbra/data/ldap/mdb/db# ls -l data.mdb && du -hs 
data.mdb
-rw------- 1 zimbra zimbra 85899345920 Apr  5 17:18 data.mdb
1.9M    data.mdb

Subtracting those 80G from 145G I get 65G, which is a much closer 
approximation to the real size of the fileset to be backed up.

Regards,
Alberto


---
Alberto Caporro
Director of Security Services - Consulthink Srl
Via dell'Archivio di Stato, 15
00144 Rome, Italy
http://www.consulthink.it
M. +39 335 1217 394
F. +39 06 4549 2454

GPG key fingerprint
46B5 2D38 2D48 3EFA 5C12 B86B 157D 80BA 2EAD DF41
On 5 Apr 2013, at 18:59, Adrian Reyer wrote:

> Hi Alberto,
>
> On Fri, Apr 05, 2013 at 12:58:22PM +0200, Alberto Caporro wrote:
>> Hi Adrian, thanks for your advice, I was actually already thinking of
>> switching to a full backup strategy; unfortunately that would not 
>> solve
>> tho size issue, which at this point is becoming quite puzzling :-)
>
> Sorry, I read your original issue already as solved.
> Perhaps the 'estimate' command is helpful:
> estimate job=YOURJOB level=Full listing
> should give you a file list of what is actually backed up. Perhaps 
> this
> sheds some light.
> Other posiblities depend on your mailserver software/storage format 
> and
> filesystem.  How are the sizes compared with
> - df
> - du -s dir
> - tar cf - dir | wc
> - tar cSf - dir | wc
>
> Regards,
>       Adrian
> --
> LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
> Fon: +49 (7 11) 78 28 50 90 - Fax:  +49 (7 11) 78 28 50 91
> Mail: lihas AT lihas DOT de - Web: http://lihas.de
> Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 
> Stuttgart

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>