Bacula-users

Re: [Bacula-users] Strange Problem backing up Macs

2009-02-13 15:27:16
Subject: Re: [Bacula-users] Strange Problem backing up Macs
From: Arno Lehmann <al AT its-lehmann DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 13 Feb 2009 21:24:43 +0100
Hi,

13.02.2009 20:59, mavrick77 wrote:
> Hi im a newbie to Bacula and im having a strange problem.  I am able to make
> a full backup and everthing is good.  
> 1) When I "drag and drop" a file/dir in the directory that is being saved
> and then run a incremental backup the new file doesn't show up. 

This indicates that the file inode's ctime and mtime are not modified, 
i.e. the file is moved using the rename() system call.

> 2) If I go to the terminal and vi the file, then run a incremental backup
> the file shows up

Because the file inode's mtime is modified.

> 3) If I copy and paste a file in the directory,  then run a incremental
> backup the file shows up

Which shows us that your GUI probably reads and writes the whole file 
in this case.

> Is there something that im missing...is "drag and drop" doing something to
> the file?

You just found out how Bacula decides which files to back up (on 
incremental and differential jobs): Look at the file's timestamps. 
That's what most backup programs do. When Bacula 3.0 is released, 
there will be the option to run "accurate" backups, where moved and 
deleted files are recognized and handled more correctly.

There's not much you can do, actually, except to run a full backup 
from time to time.

If you're doing lots of file move operations, you might want to run 
full backups more often, I guess...

Arno

> Here is my FileSet:
> 
> FileSet {
>   Name = "Full Set"
>   Ignore FileSet Changes = yes
>   Include {
>     Options {
>        hfsplussupport = yes
>        aclsupport=yes
>        signature = SHA1
>     }
>     File = /Users/{user}/Documents/test
>     #File = /etc/mail
> }
> }
> 

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>