Networking Forums

Networking Forums > Computer Networking > Linux Networking > OpenLDAP backup

Reply
Thread Tools Display Modes

OpenLDAP backup

 
 
Dm
Guest
Posts: n/a

 
      10-16-2003, 10:08 AM
Hi!
What's the best way to backup the data stored in OpenLDAP 2.1.22 directory?
I'm using ldbm database type.
Currenty I copy .dbb files while slapd server is online. What's wrong with that?
Thanks,
Dm
 
Reply With Quote
 
 
 
 
dkoleary@attbi.com
Guest
Posts: n/a

 
      10-16-2003, 06:39 PM
Dm <(E-Mail Removed)> wrote:
> Hi!
> What's the best way to backup the data stored in OpenLDAP 2.1.22 directory?
> I'm using ldbm database type.
> Currenty I copy .dbb files while slapd server is online. What's wrong with that?


That will probably work; however, you run the risk of corrupted data files
if someone is writing to the directory when you're backing it up.

I've generally used slapcat to dump out the directory. Over 12,000 user
accounts results in a ldif file that's slightly over 5 megs. I back
that up, the scripts I use for modifying the directory and the directory
config file every night.

I can still miss an entry if someone were updating their entry during
the 30 seconds it takes to dump the directory; however, since I run
this at 0200 every morning *and* the users don't currrently have the
capability of updating their entries, I'm reasonably safe. Even if I
did miss an entry, it'd get caught the next night

My $.02...

Doug


--------
Senior UNIX Admin
O'Leary Computer Enterprises
(E-Mail Removed) (w) 630-904-6098 (c) 630-248-2749
resume: http://home.attbi.com/~dkoleary/resume.html
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Full daily backup with MS backup on W2k3 Herm Windows Networking 4 12-21-2004 01:45 PM
Authenticating with OpenLDAP Arron Linux Networking 1 09-30-2003 04:30 PM
OpenLDAP 1.2.13 and BerkeleyDB 2.7.7 tylernt Linux Networking 0 09-22-2003 04:45 PM
OpenLDAP Schemas Chris Fowler Linux Networking 2 09-10-2003 05:12 PM
Emplimenting OpenLDAP Keegan Alex Linux Networking 0 07-12-2003 11:51 PM



1 2 3 4 5 6 7 8 9 10 11