LDAP database

Darrin Chandler dwchandler at stilyagin.com
Tue Mar 6 10:20:03 MST 2007


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
dwchandler at stilyagin.com          |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/darrin/  |


More information about the PLUG-discuss mailing list