Bacula-users

[Bacula-users] Handle files that have st_ctime changed often in bacula

2014-12-04 10:22:23
Subject: [Bacula-users] Handle files that have st_ctime changed often in bacula
From: Sieu Truc <sieutruc AT gmail DOT com>
To: "Bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 4 Dec 2014 16:19:51 +0100
Hello,

I have a problem when bacula tried to backup a folder that contains some files changed often.

For example: i backup the folder /var/samba

And for some reason, some big files in this folder are accessed by other programs and therefore their attribute "chang" (st_atime) is changed. As a consequence of that, bacula backups that file in the following incremental backup.


The final result is that those such files eat up all of my disk space.

In my opinion, i have 2 ways to solve that problem but i dont know if they're feasible.
1) Do a full backup, but incremental backup don't include those files .  Is it possible to create a fileset for a full backup and another fileset for the incrementals.for that case ?

2) In the fileset, those files will be treated in a different way like the configuation below:

FileSet {
        Name = "fs_samba_system"

    File = /var/samba
        Include {
                Options {
                        signature = SHA1
                        _onefs_ = no
            Wildfile = "*badFile.pdf"
                  Exclude = yes
                }   
        }
    Include {
        File = /var/samba
        Options {
            WildFile = "*badFile.pdf"
            Signature = SHA1
            mtimeonly=yes
        }
        Options {
            Exclude = yes
            RegexFile = ".*"
        }
    }
                       
} Is it right for what i described above ?

and is there another better solution ?

Thanks in advance,

Truc
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
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>