Dear bacula users, since some time I have problems recovering the owner, group and permission of (some) directories. Today I took the time to trace that down:
I am doing an interactive restore of nfs2:/export/user2/litauer/mgmt/backend/mailman and nfs2:/export/user2/litauer/mgmt/backend/live. Baculas index shows the correct ownership, group and permissions: $ pwd cwd is: /export/user2/litauer/mgmt/backend/ $ dir mailman drwx--x--x 3 litauer 1050 65 2012-05-18 23:20:10 /export/user2/litauer/mgmt/backend/mailman/ $ dir live drwx--x--x 3 litauer 1050 4096 2012-05-18 23:20:10 /export/user2/litauer/mgmt/backend/live/ I "mark" both directories and start a recover to the original backup-client and filesystem. Bacula dir and client fd are running version 5.2.13. The clients filesystem is of type xfs. The recovered directories look like this: nfs2:/export/user2/litauer/mgmt/backend # pwd /export/user2/litauer/mgmt/backend nfs2:/export/user2/litauer/mgmt/backend # ll -d live mailman drwxr-x--x 3 root bacula 4096 Mar 15 10:38 live drwx--x--x 3 litauer employee 65 Mar 15 10:38 mailman nfs2:/export/user2/litauer/mgmt/backend # ll -dn live mailman drwxr-x--x 3 0 114 4096 Mar 15 10:38 live drwx--x--x 3 14255 1050 65 Mar 15 10:38 mailman As you can see, permissions of both dirs are correct. Ownership and group or "mailman" too. But owner and group of "live" are not restored. While restoring I did an strace on chown-calls at the clients bacula-fd. I can see lots of chown calls for all restored files, e.g. [pid 12033] chown("/export/user2/litauer/mgmt/backend/mailman", 14255, 1050) = 0 [pid 12033] chown("/export/user2/litauer/mgmt/backend/mailman/.svn", 14255, 1050) = 0 [pid 12033] chown("/export/user2/litauer/mgmt/backend/mailman/.svn/prop-base", 14255, 1050) = 0 [pid 12033] chown("/export/user2/litauer/mgmt/backend/live/.svn/prop-base", 14255, 1050) = 0 [pid 12033] chown("/export/user2/litauer/mgmt/backend/live/.svn/prop-base/CommandLine.exe.config.svn-base", 14255, 1050) = 0 But I miss the chown call for /export/user2/litauer/mgmt/backend/live and its subdirectory ".svn". Other subdirectories inside of "live" are restored correctly. The problem is not exclusively present for this example recovery. It happens nearly at every restore I am doing, regardless on which client the data is restored. I wonder if this is a bug in bacula-dir or bacula-fd ... but this bug would be that serious, I cannot believe nobody else would have registered. So it seems as if it is a local problem. Any ideas? -- Kind regards Christoph _________________________________________ Christoph Litauer Uni Koblenz, Computing Centre, Office A 022 Postfach 201602, 56016 Koblenz Fon: +49 261 287-1311, Fax: -100 1311 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users