Re: LDAP database

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Darrin Chandler
Date:  
To: nathan, Main PLUG discussion list
Subject: Re: LDAP database
On Tue, Mar 06, 2007 at 10:09:42AM -0700, Nathan Aubrey wrote:
>
> Is is safe to compress an ldap database or a mysql database for archival
> purposes?


Yes/No for both...

Any time you have something that can be updated, you can't take
copies/compress it without worrying about the internal state being out
of sync.

Without thinking about such issues, you can guarantee it'll be ok if you
do an orderly shutdown of the service, THEN copy it off.

MySQL comes with various means to take backups, such as mysqlhotcopy (or
whatever), which take care of locking for you. Once you have a good,
internally consistent copy, you can compress it.

Same kind of thing for LDAP.

-- 
Darrin Chandler                   |  Phoenix BSD Users Group
          |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/darrin/  |
---------------------------------------------------
PLUG-discuss mailing list - 
To subscribe, unsubscribe, or to change  you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss