Subscribe to Mailing Lists     FAQFAQ    SearchSearch      Register  Log in to check your private messagesLog in to check your private messages    Log inLog in 
These forums brought to you by Backup Central, where we also have the Mr. Backup Blog, Mailing Lists, FAQs,
and Directories of Backup Software and Hardware
Restoring acl files and directories

 
Post new topic   Reply to topic    Backup Central Forums Forum Index -> Bacula
View previous topic :: View next topic  
Author Message
Bruno Friedmann
Guest





PostPosted: Sat Aug 02, 2008 3:20 am    Post subject: Restoring acl files and directories Reply with quote

Hi All. I don't know if someone has encountered the same case.

We have an linux server acting as samba with lots of acls.
The old ldap schema contain groups and users.

As the factory change it's name, All the ldap was restructured.
like changing it's dc=toto,dc=local to dc=titi,dc=local

We keep the same users (uidNumber and cn) but on groups we keep only the gidNumber and change cn.

During the restore, I've seen bacula making error
02-Aug 13:00 dumbo-fd JobId 1857: Error: acl.c:224 acl_from_text error on file
"/data/secreta/Publications/Internet/gecomo.ch/Site/CSS/pdf/referencegc.pdf": ERR=Aucun fichier ou répertoire de ce type

And in fact bacula is trying to find cn for group.
What is stange is that bacula is using uidNumber for users.

With this error all acl aren't restored.

Did someone have any clue or ideas ?
Should this be reported as a bug ? (I think the most important part of acl is the uid )



In your opinion what the best I can do :

1 / Start the ldap with the old dc, restore, and start the new after
2 / Restore without the acl, and reapply them from the getfacl dump I have
3 / Do a magic key in bacula to do the restore correctly with the good uid and gid ?



PS: bacula is only a 2.2.6 version ( upgrade was post delayed after the rebuild of ldap and servers. )


--

Bruno Friedmann

Ioda-Net Sàrl - www.ioda-net.ch
2830 Vellerat - Switzerland

Tél : ++41 32 435 7171
Fax : ++41 32 435 7172
gsm : ++41 78 802 6760



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Backup Central Forums Forum Index -> Bacula All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Magic SEO URL for phpBB