Re: [Bacula-users] Unchanged files still saved in incremental backup
2009-10-05 22:17:50
Guillaume_h wrote:
> Kevin Keane a écrit :
>
>> Bacula uses the file date to determine which files have changed. So a
>> file with a future file date would be backed up by each incremental backup.
>>
>> Since you say that your file was NOT backed up on 9/15 and 9/16, my
>> guess is that some application may be opening the file for writing
>> without actually making a change. Whatever application is responsible
>> for that probably wasn't running on 9/15 and 9/16.
>>
>>
>>
> No. The history posted by "Le Dahut" does not end on 9/17. Beginning
> from 17/09, all files are backed up every day with incremental backup
> whatever the mod date is (I have some files that has not been modified
> since 2k8 and bacula backup these files every day).
>
>
Run "stat" on one of those older files. Look at the ctime. Is it very
recent -- perhaps a day or less? By default, bacula uses both the mtime
and ctime of a file to determine if it has been changed. If EITHER one
of those is newer than the last backup, bacula will include the file in
an incremental.
For example:
lithium:/data/temp > dir testfile
-rwxr-xr-x 1 cedric cedric 2.1K 2004-06-24 08:01 testfile
lithium:/data/temp > stat testfile
File: `testfile'
Size: 2137 Blocks: 8 IO Block: 4096 regular file
Device: fe03h/65027d Inode: 2899 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 500/ cedric) Gid: ( 500/ cedric)
Access: 2009-09-30 22:02:46.005409891 -0700
Modify: 2004-06-24 08:01:58.000000000 -0700
Change: 2009-10-05 19:10:58.906666135 -0700
- Cedric
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|