Ralf Gross schrieb: > Ralf Gross schrieb: > > > > I just tested a restore of files with ACL's. The restored file is missing > > the > > ACL's. The file was restored to the same ACL capable filesystem. > > > > org. file: > > > > # getfacl acltest > > > > # file: acltest > > # owner: root > > # group: root > > user::rw- > > user:rg:rwx > > group::--- > > mask::rwx > > other::--- > > > > restored file: > > > > # getfacl acltest > > > > # file: acltest > > # owner: root > > # group: root > > user::rw- > > group::rwx > > other::--- > > Some additional information. The above file is located on a xfs fs. > Today I tried to backup/restore a file from/to an ACL aware ext3 fs, > same result, no ACL's were restored. > > The server is running up to date debian etch with kernel > 2.6.18-4-amd64. bacula 2.0.2 was compiled from source with libacl and > aclsupport for the file set is enabled. > > Is there a way to check if bacula did back up the ACL's but can't > restore them, or if they weren't backed up at all?
Ok, I started the client's fd and all bacula daemons on the backup server with -d400 and started one more backup. client's fd: VU0EM003: find_one.c:210 File ----: /home/ralfgro/acltest3 VU0EM003: find_one.c:261 Non-directory incremental: /home/ralfgro/acltest3 VU0EM003: backup.c:243 FT_REG saving: /home/ralfgro/acltest3 VU0EM003: backup.c:328 bfiled: sending /home/ralfgro/acltest3 to stored VU0EM003: backup.c:1004 File /home/ralfgro/acltest3 attribs=P0A K+Gr IG4 B A A A A BAA I BF4X4B BF4X4B BF4YD0 A A C attribsEx= VU0EM003: backup.c:1021 >stored: attrhdr 76 1 0 VU0EM003: backup.c:1049 >stored: attr len=86: 76 3 /home/ralfgro/acltest3 on the director: VU0EM005: catreq.c:417 dird<stored: stream=1 /home/ralfgro/acltest3 VU0EM005: catreq.c:418 dird<stored: attr=P0A K+Gr IG4 B A A A A BAA I BF4X4B BF4X4B BF4YD0 A A C VU0EM005: catreq.c:433 dird<filed: stream=1 /home/ralfgro/acltest3 VU0EM005: catreq.c:434 dird<filed: attr=P0A K+Gr IG4 B A A A A BAA I BF4X4B BF4X4B BF4YD0 A A C VU0EM005: catreq.c:394 UpdCat msg=UpdCat Job=VU0EM003.2007-02-25_13.40.10 FileAttributes VU0EM005: catreq.c:396 UpdCat VolSessId=2 VolSessT=1172406686 FI=77 Strm=1 data_len=81 VU0EM005: catreq.c:400 Cached attr. Stream=1 fname=/home/ralfgro/acltest3 >From src/filed/backup.c /* Send the buffer to the storage deamon */ Dmsg2(400, "Backing up ACL type 0x%2x <%s>\n", acltype, jcr->acl_text); If ACL's were backed up, shouldn't I see this messages somewhere in the debug output? Ralf ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users