Hello all,
I am using openldap 2.3.36.
Is it better to use slapcat to backup the data and use it during recovery (after disk partition crash) using slapadd ?
Or backup the transaction log files of BDB , so that recovery will be done using openldap's automatic recovery functionality or dbrecover utility of bdb ?
Please correct me if I am wrong in the process of data maintenance.
Thanks in advance,
Arunachalam.
**************************************************************************** **************************** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!
Arunachalam Parthasarathy a écrit :
Hello all,
hi
I am using openldap 2.3.36.
good choice :-)
Is it better to use slapcat to backup the data and use it during recovery (after disk partition crash) using slapadd ?
For me, I do a full ldapsearch which provide nice ldif file to use with ldapadd
just at the end of the file, there is 2 lines with the number of result which provide errors with ldapadd. You can just remove these lines.
Or backup the transaction log files of BDB , so that recovery will be done using openldap’s automatic recovery functionality or dbrecover utility of bdb ?
I've never use that way of recovery
Please correct me if I am wrong in the process of data maintenance.
Thanks in advance,
No problem
Arunachalam.
Guillaume
Arunachalam Parthasarathy wrote:
Hello all,
I am using openldap 2.3.36.
Is it better to use slapcat to backup the data and use it during recovery (after disk partition crash) using slapadd ?
Or backup the transaction log files of BDB , so that recovery will be done using openldap’s automatic recovery functionality or dbrecover utility of bdb ?
Please correct me if I am wrong in the process of data maintenance.
Thanks in advance,
Arunachalam.
This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!
Please see our archive for threads that have discussed this numerous times.
Thanks.
On Thursday 09 August 2007 19:22:27 Arunachalam Parthasarathy wrote:
Hello all,
I am using openldap 2.3.36.
Is it better to use slapcat to backup the data and use it during recovery (after disk partition crash) using slapadd ?
Or backup the transaction log files of BDB , so that recovery will be done using openldap's automatic recovery functionality or dbrecover utility of bdb ?
Please correct me if I am wrong in the process of data maintenance.
Depending on your requirements, and the expertise of the admins, there may be advantages to both.
If you have a small database (e.g. < 10 000 entries) with a low update rate (e.g. less than 1 modification per second), then slapadd is probably the best option.
If you have a very large database, and you have frequent updates, using the transaction logs may provide a better means to doing a point-in-time recovery (especially if you need backups to be in sync with some other system).
Using an ldif dump is more portable (across different backends and database libraries).
So, unless you have specific requirements, an LDIF export via slapcat is probably the best option.
Regards, Buchan
Arunachalam Parthasarathy wrote:
Hello all,
I am using openldap 2.3.36.
Is it better to use slapcat to backup the data and use it during recovery (after disk partition crash) using slapadd ?
Or backup the transaction log files of BDB , so that recovery will be done using openldap’s automatic recovery functionality or dbrecover utility of bdb ?
I don't know about transaction log files of BDB, but we use slapcat/slapadd for backup/restore...
Just slapcat to a different Filename each night and you even have different revisions in your backup.
bye Christian
openldap-software@openldap.org