Bacula-users

Re: [Bacula-users] backup size is bigger that sum of size of files

2009-07-08 12:30:26
Subject: Re: [Bacula-users] backup size is bigger that sum of size of files
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 8 Jul 2009 17:26:19 +0100
>>>>> On Mon, 6 Jul 2009 09:42:37 -0400, Victor Hugo dos Santos said:
> 
> hello,
> 
> today I receive a strange report from bacula (about my two proxys servers), 
> see:
> 
> ============= yesterday ========
>   JobId:                  13223
>   Job:                    proxy2.2009-07-05_00.05.41
>   Backup Level:           Full
>   FileSet:                "Linux-Proxy" 2008-02-29 00:05:14
>   Scheduled time:         05-Jul-2009 00:05:00
>   Start time:             05-Jul-2009 03:40:54
>   End time:               05-Jul-2009 03:57:52
>   Elapsed time:           16 mins 58 secs
>   FD Files Written:       2,275
>   SD Files Written:       2,275
>   FD Bytes Written:       6,381,070,677 (6.381 GB)
>   SD Bytes Written:       6,381,342,582 (6.381 GB)
> =============== today ======
>   JobId:                  13246
>   Job:                    proxy2.2009-07-06_00.05.40
>   Backup Level:           Incremental, since=2009-07-05 03:40:54
>   FileSet:                "Linux-Proxy" 2008-02-29 00:05:14
>   Scheduled time:         06-Jul-2009 00:05:00
>   Start time:             06-Jul-2009 00:19:57
>   End time:               06-Jul-2009 00:35:26
>   Elapsed time:           15 mins 29 secs
>   FD Files Written:       431
>   SD Files Written:       431
>   FD Bytes Written:       6,296,577,452 (6.296 GB)
>   SD Bytes Written:       6,296,630,147 (6.296 GB)
> =====================
> 
> 
> now.. my FileSet:
> =====================
>  FileSet {
>          Name = "Linux-Proxy"
>          Include {
>                  Options { signature = SHA1; compression=GZIP5 }
>                  File = /home
>                  File = /etc
>                  File = /root
>                  File = /var/log/squid3
>                  File = /var/log/dansguardian
>                  File = /var/spool/cron
>          }
>  }
> =====================
> 
> and finally the size of my folders.
> =====================
> $ sudo du --max-depth=0 -h /home/ /etc/ /root/ /var/log/squid3/
> /var/log/dansguardian/ /var/spool/cron/ -c
> 67M    /home/
> 156M  /etc/
> 36K    /root/
> 2.5G   /var/log/squid3/
> 43M   /var/log/dansguardian/
> 20K   /var/spool/cron/
> 2.8G  total
> =====================
> 
> can you view the problem ??.. my file system only have 2.8GB, but my
> backup have a a size > that 6 GB.

Maybe you have some sparse files?  You could check this by looking for large
files using something like this:

sudo find /home /etc /root /var/log/squid3 /var/log/dansguardian 
/var/spool/cron -xdev -size +2000000 -ls

You could also do this in bconsole to see which files are in the Incremental
backup and check their sizes:

list files jobid=13246

I assume one of those files is sparse.

Bacula has a fileset option to handle sparse files.

__Martin

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
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>