Hello,
On 2/9/2006 10:10 AM, Wolfgang Denk wrote:
In message <[EMAIL PROTECTED]> you wrote:
uses the unix time stamps to determine which files to store - together
with mv'in files to different directories this can become a problem!
You scare me. What sort of problem? Moving or renaming files is a
regular operation in a filesystem - what sort of problems will ist
cause ?!?
It might lead to omission of files in a backup.
The scenario that was discussed some time ago:
You have /dir1 and /dir2
/dir1 is in your fileset to backup, /dir2 is not.
Now, imagine the following sequence of actions:
touch /dir2/testfile
run full backup of everything in /dir1
mv /dir2/testfile /dir1/
run incremental backup of /dir1
In many cases (i.e. when, during the mv operation, to time stamp of the
testfile inode was modified) /dir1/testfile will not be stored because
it's not recognized as new - it's time stamps are older than the last
full backup.
The above depends on your OS, filesystem, and perhaps on the fact that
/dir1 and /dir2 are on the same file system, I guess.
Two common work-arounds: Do Full backups fom time to time, or, in case
of really very important data you have to move, use touch.
The possible future solution: Bacula could find files not only based on
time stamps, but also by comparing with the list of previously saved
files. This would, obviously, require massive code changes in the DIR
and the FD.
Concerning your worries - with a proper setup (i.e. don't exclude file
system trees with important data, and don't move important data around
too much) this won't be a serious problem. In my opinion, of course.
Arno
Best regards,
Wolfgang Denk
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users