Bacula-users

Re: [Bacula-users] does Bacula detect file renames?

2008-08-29 09:34:33
Subject: Re: [Bacula-users] does Bacula detect file renames?
From: Dan Langille <dan AT langille DOT org>
To: Tomasz Chmielewski <mangoo AT wpkg DOT org>
Date: Fri, 29 Aug 2008 09:34:02 -0400
Tomasz Chmielewski wrote:
> I have a couple of users which sporadically edit video files.
> 
> These files can take several hundred megabytes and are also subject to 
> backup.
> 
> The thing is, users often move these files, i.e. from directory A to 
> directory B. And copy to directory C two days later. The next day, they 
> change files name from movie_a.avi to new_commercial.avi.
> 
> All these file renames/copying/moving make a big problem for our current 
> backup setup - the files are transferred again and again over slow 
> Internet, although files didn't change and their checksums are still the 
> same.
> 
> 
> Can Bacula deal with file renames, copying (their time stamp can 
> differ), moving etc.?

Bacula will backup everything in a Full backup.

For the next Incremental or Differential, it uses mtime.  That is, the 
last time the file was modified.  If the mtime has not changed, the file 
will not be backed up, regardless of name.

So, for your example: if the file is copied, mtime [usually] changes. 
So it will be included in the next inc/diff backup.  Renaming a file 
does not change mtime.  Therefore the renamed file will not be included 
in the next inc/diff backup.

Referring to another post of yours: the "accurate restore" mentioned by 
Frank will still continue to backup files that are identical.  That is, 
if you have 10 files that contain identical content, all ten will be 
backed up.

-- 
Dan Langille

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference:     http://www.pgcon.org/

-------------------------------------------------------------------------
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-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users