Bacula-users

Re: [Bacula-users] Backup bigger than Original Files

2015-07-08 15:46:21
Subject: Re: [Bacula-users] Backup bigger than Original Files
From: Bill Arlofski <waa-bacula AT revpol DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 08 Jul 2015 15:43:25 -0400
On 07/08/2015 06:24 AM, Marcio Demetrio Bacci wrote:
> I have a problem with Bacula. The backup bigger than originals files.
> 
> My folder /opt/zimbra has 7 GB, and my backup has 28GB.
> 
> Below is my Fileset:
> 
> 
> FileSet {
> 
>      Name = fileset-Zimbra
> 
>      Include {
> 
>      Options {
> 
>           signature = MD5
> 
>           hardlinks=no
> 
>       }
> 
>      File = /opt/zimbra
> 
>    }
> 
>    Exclude {
> 
>      File = /opt/bacula/working
> 
>     }
> 
> }
> 
> 
> Does somebody has a idea?

Yes!  I have an idea!

But only because I ran into this a while ago. :)


In Zimbra directory structure, there is a sparse 40GB file under the data/ldap
tree.

Here is my Zimbra Fileset:

----8<----
FileSet {
  Name = Zimbra8FullFileSet
  Ignore FileSet Changes = yes
  Include {
    Options {
      compression = LZO
      signature = MD5
      # Omit the dir with the sparse file "data.mdb" it
      # will be picked up below
      wild = /backup/zimbra/data/ldap/mdb/db/*
      exclude = yes
    }

    File = /etc
    File = /var
    File = /home
    File = /root
    File = /backup
    File = /usr/local/src
  }

  Include {
    Options {
      compression = LZO
      signature = MD5
      # /backup/zimbra/data/ldap/mdb/db/data.mdb is a sparse 40GB file
      sparse = yes
    }

    File = /backup/zimbra/data/ldap/mdb/db
  }
}
----8<----


Hope this helps!

Bill


-- 
Bill Arlofski
http://www.revpol.com/bacula
-- Not responsible for anything below this line --

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
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>