On May 11, 2007, at 11:19 AM, Justin Lott wrote:

> On May 11, 2007, at 10:56 AM, Jorj Bauer wrote:
>
>>> I think I've figured this out. What clue'd me in was you saying  
>>> "in a
>>> simple test without PKI" :-)
>>
>> My test yesterday was without PKI. I was thinking about your setup,
>> not
>> mine. :)
>>
>> But I didn't have ACL support turned on.
>>
>> Here's my fileset from yesterday's test, which did back up and  
>> restore
>> resource forks:
>>
>> FileSet {
>>   Name = "Full Set"
>>   Ignore FileSet Changes = yes
>>   Include {
>>     Options {
>>         hfsplussupport = yes
>>         verify = s
>>         compression = GZIP
>>         onefs = yes
>>
>>         IgnoreCase = yes
>>
>>         signature = MD5
>>     }
>>     File = /Users/jorj/tmp/bacula-test-root
>>   }
>> }
>>
>> -- Jorj
>
> Well I'm convinced this is a bug. Using the FileSet you included
> above with only one change:
>
> FileSet {
>    Name = "oxygen-FileSet"
>    Ignore FileSet Changes = yes
>    Include {
>      Options {
>          hfsplussupport = yes
>          verify = s
>          compression = GZIP
>          onefs = yes
>          IgnoreCase = yes
>               signature = MD5
>       }
>       File = /Users/jcl/Desktop/Test
>    }
> }
>
> Produces this:
>
> *estimate job=oxygen
> Using Catalog "MyCatalog"
> Connecting to Client oxygen-fd at oxygen.millbrookprinting.com:9102
> 2000 OK estimate files=5 bytes=437,919
>
> Adding only an Options{Exclude} statement like so:
>
> FileSet {
>    Name = "oxygen-FileSet"
>    Ignore FileSet Changes = yes
>    Include {
>      Options {
>          hfsplussupport = yes
>          verify = s
>          compression = GZIP
>          onefs = yes
>          IgnoreCase = yes
>               signature = MD5
>       }
>       Options {
>               Exclude = yes
>               WildFile = "/Users/jcl/Desktop/Test/.DS_Store"
>      }
>       File = /Users/jcl/Desktop/Test
>    }
> }
>
> Produces this after issuing a "reload" in bconsole:
>
> *estimate job=oxygen
> Using Catalog "MyCatalog"
> Connecting to Client oxygen-fd at oxygen.millbrookprinting.com:9102
> 2000 OK estimate files=5 bytes=0
>
> These test files are of course, 100% RSRC data (some select Mac OS X
> system fonts to be precise).
>
> I'll file a bug report later today. Thanks for your help
> troubleshooting this!
>
> - justin

As is usually the case, this ended up being user error rather than a  
bug.

For the edification of the list subscribers; the problem lay in the  
usage of two Options{} statements. The File = /Users/etc/etc portion  
is only modified by the single previous Options{} statement.  
Essentially this was causing files to be backed up without the  
hfsplussupport flag being turned on. This is covered pretty clearly  
by the "FileSet" section of the fine manual.

- justin

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to