]> git.sur5r.net Git - bacula/bacula/blob - bacula/patches/testing/fd_checkchanges.readme
ebl fix compilation
[bacula/bacula] / bacula / patches / testing / fd_checkchanges.readme
1 From: Eric Bollengier <eric at homelinux dot org>
2
3 Check size, age of each file after their backup to see if
4 they have changed during backup.
5
6 This patch ask to fd to do an extra check (stat(2)) after
7 each file backup. mtime, ctime and size are compared with
8 "before backup" informations. If time or size mismatch, an
9 error will raise.
10
11 You must upgrade FD and DIR at the same time.
12
13 TODO:
14  - Add documentation
15  - Add informations on warning/error messages
16
17 Configuration :
18
19 FileSet {
20   Name = "Full Set"
21   Include {
22     Options {
23       checkchanges = yes           # use this to enable it
24     }
25     File = /tmp/bacula
26   }
27 }
28
29 Output : 
30
31 17-fév 18:03 zog-fd: Client1.2007-02-17_18.02.21 Error: /tmp/bacula/etc/toto have changed during backup.
32 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.
33 17-fév 18:03 zog-sd: Job write elapsed time = 00:00:03, Transfer rate = 22.94 M bytes/second
34 17-fév 18:03 zog-dir: Bacula 2.1.4 (12Feb07): 17-fév-2007 18:03:01
35   JobId:                  3
36   Job:                    Client1.2007-02-17_18.02.21
37   Backup Level:           Incremental, since=2007-02-17 17:58:56
38   Client:                 "zog-fd" 2.1.4 (12Feb07) i686-pc-linux-gnu,debian,testing/unstable
39   FileSet:                "Full Set" 2007-02-17 17:57:36
40   Pool:                   "Default" (From Job resource)
41   Storage:                "File" (From Job resource)
42   Scheduled time:         17-fév-2007 18:02:19
43 ...
44   Volume Session Time:    1171731706
45   Last Volume Bytes:      5,973,631 (5.973 MB)
46   Non-fatal FD errors:    2
47   SD Errors:              0
48   FD termination status:  OK
49   SD termination status:  OK
50   Termination:            Backup OK -- with warnings
51
52
53
54 $Log$
55