> Hi,
>
> Is bacula aware about files modified during backup ?
> (like log or open database files)
> 
> I never seen thing like that in my log :
> "Warning /var/log/syslog have been modified during backup"
> 
> Bye

I have wrote a small patch to add this feature to bacula.
you can find it on the current svn 
(bacula/patches/testing/fd_checkchanges.readme)

This patch asks to fd to do an extra check (syscall stat(2)) after
each file backup. mtime, ctime and size are compared with
"before backup" informations. If time or size mismatch, an
error will raise.

It adds a new fileset option

FileSet {
        Include {
                Options {
                        CheckChanges = yes        # no by default
                }
                File=/var/log
        }
}

Output :

17-fév 18:03 zog-fd: Client1.2007-02-17_18.02.21 Error: /tmp/bacula/etc/toto 
have changed during backup.
17-fév 18:03 zog-fd: Client1.2007-02-17_18.02.21 Error: 
/tmp/bacula/var/bacula/working/bacula.db size have changed during backup.
17-fév 18:03 zog-sd: Job write elapsed time = 00:00:03, Transfer rate = 22.94 M 
bytes/second
17-fév 18:03 zog-dir: Bacula 2.1.4 (12Feb07): 17-fév-2007 18:03:01
  JobId:                  3
  Job:                    Client1.2007-02-17_18.02.21
  Backup Level:           Incremental, since=2007-02-17 17:58:56
  Client:                 "zog-fd" 2.1.4 (12Feb07) 
i686-pc-linux-gnu,debian,testing/unstable
  FileSet:                "Full Set" 2007-02-17 17:57:36
  Pool:                   "Default" (From Job resource)
  Storage:                "File" (From Job resource)
  Scheduled time:         17-fév-2007 18:02:19
...
  Volume Session Time:    1171731706
  Last Volume Bytes:      5,973,631 (5.973 MB)
  Non-fatal FD errors:    2
  SD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Backup OK -- with warnings

Could be useful for backup setup isn't it ?

Bye

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to