Hello, I am having issues with restoring Mac OS X resource forks stored on a HFS+ filesystem. I noticed while researching the problem that a post to bacula-devel[1] mentioned that HFS+ resource fork restoration was broken as of early December last year. I'm curious to know if this is still the case, or if I have a different problem. I was unable to find a bug related to HFS+ support in the bug database, but that may very well be because I am not familiar with its use.
I have a Linux director[2] and storage daemon[3], and file daemons of all shapes and colors (Linux, Mac OS X, and Windows). The Mac OS X file daemon[4] is set to back up the system to a pool of file volumes on the storage daemon (as are the other file daemons). I've included the director configuration file for this client at [5]. When I try to restore a file with a resource fork, I get the file (restored to /tmp/bacula-restores by default), but no resource fork. The SplitForks utility provided with the Developer Tools does not notice a resource fork worth creating an AppleDouble file for, and doing a ls of the resource fork (ls -l filename/rsrc) shows a size of zero. Also, the console message for the successful restore command tells me that a total of X bytes were restored, being exactly equal to the number of bytes in the data fork of the file, instead of the size of the data fork and the resource fork like I'd expect. If it is the case that HFS+ resource fork support is still broken, I'd be more than happy to help test any fixes, although I don't know that I'd be able to contribute much in the way of code. If it has been fixed, is there any way for me to verify that resource forks are being backed up properly, and are there any special procedures that I need to take in order to restore them? Thanks in advance for your time. Adam Compton Network Administrator Sierra Canyon School [1] http://article.gmane.org/gmane.comp.sysutils.backup.bacula.devel/7662/match=hfs [2] hercules-dir Version: 2.0.3 (06 March 2007) x86_64-pc-linux-gnu gentoo [3] hercules-sd Version: 2.0.3 (06 March 2007) x86_64-pc-linux-gnu gentoo [4] hestia-fd Version: 2.0.2 (28 January 2007) powerpc-apple-darwin8.8.0 darwin 8.8.0 [5] bacula-dir-hestia-fd.conf: # Client Config # Client { Name = hestia-fd Address = hestia FDPort = 9102 Catalog = MyCatalog Password = <redacted> File Retention = 2 weeks Job Retention = 1 week AutoPrune = yes } # Jobs Config # Job { Name = "Hestia OS" JobDefs = "Default OS Job" Client = hestia-fd FileSet = "Hestia OS FileSet" } # FileSet Config # FileSet { Name = "Hestia OS FileSet" Include { Options { signature = MD5 sparse = yes compression = GZIP hfsplussupport = yes } File = / } Exclude { # Be sure to put the excluded files from Carbon Copy Cloner in here too File = /StudentHomes File = "/Shared Items" <snip> File = /Volumes File = /.hotfiles.btree } } ------------------------------------------------------------------------- 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