[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bacula-devel] Can bacula change the ctime on files during a backup?


(269 + 58 lines of quotes trimmed -- hint hint :-)

Hemant Shah <hjrrs@xxxxxxxxx> writes:
> --- On Wed, 8/6/08, Kern Sibbald <kern@xxxxxxxxxxx> wrote:
>> I would recommend that you talk to Veritas about the problem
>> without mentioning Bacula.  Unless you configure Bacula
>> differently, it checks both mtime and ctime, so if netbackup
>> modified either one of them, Bacula would treat the file as having
>> changed.  If you configure Bacula differently, you can make it
>> ignore ctime changes.
>
>   I did more research and found that Netbackup has
>   DO_NOT_RESET_FILE_ACCESS_TIME option which is not enabled on any
>   of the systems, so it is likely that netbackup is changing ctime
>   but does not do it consistently.
>
>   How do I configure bacula to only use mtime for incremental
>   backup?

mtimeonly = yes in your fileset.

http://www.bacula.org/en/rel-manual/Configuring_Director.html#6556

>   What are the side effects of looking only at mtime?

changes to permissions and ownership will not be picked up.  files
created with mtime in the past (e.g., tar may do this when
extracting) will not be included in the backup.

-- 
best regards,
Kjetil T.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-devel mailing list
Bacula-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bacula-devel


This mailing list archive is a service of Copilotco.