slapcat -l backup.ldif -f slapd.conf -n 1 slapadd -c -f slapd.conf -b o=mail.xyz.com -l backup.ldif
use the full directory naming when doing it. my example wrapped around ----- Original Message ----- From: "Doug Anderson" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, August 12, 2005 3:11 PM Subject: Re: [IMail Forum] LDAP Problems > FYI - we run with an external db, not the registry but have you tried the > slapcat command to make a ldif file? > We run scheduled batch file to make an ldif file every night : > > D:\Imail\OpenLDAP\Bin\slapcat -l d:\imail\backup.ldif -f > D:\Imail\OpenLDAP\Bin\slapd.conf -n 1 > > That ldif can be re-imported into the ldif with the slapadd command > > D:\Imail\OpenLDAP\Bin\slapadd -c -f slapd.conf -b o=mail.xyz.com -l > d:\imail\backup.ldif > > > ----- Original Message ----- > From: "Brad Morgan" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Friday, August 12, 2005 12:59 PM > Subject: RE: [IMail Forum] LDAP Problems > > > > > Seron Moore wrote: > > > From time to time our Ldap service will hog up 100% of the CPU usage > > > and cause the server to become non responsive. We then have to reboot > > > the server and rebuild the Ldap database (following Ipswitch's KB > Article > > > http://support.ipswitch.com/kb/IM-20041025-DM04.htm ). Every time the > > > Ldap database is rebuilt we lose all the user information such as > account > > > number, phone number and all that other jazz. This is a problem for us > > > because we then have no way of keeping track of which email address is > > > associated with which account number! Is there a way that we can backup > > > the ldap db and restore the information if we have to rebuild? > > > > I reported this problem to Ipswitch in March, 2005 and on March 17, 2005 > > I received my last communication on the matter: > > > > "The head of development is working on this issue. We will keep you posted > > as > > to what is going on." > > > > I haven't heard anything since then. I was running 8.15 at the time and > > I'm now running 8.2HF2. I haven't had the problem in a while (knock on > > wood). > > > > Regards, > > > > Brad Morgan > > IT Manager > > Horizon Interactive Inc. > > > > > > > > > > > > To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html > > List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ > > Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/ > > --- > > [This E-mail scanned for viruses by Declude Virus] > > > > > > --- > [This E-mail scanned for viruses by Declude Virus] > > > To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html > List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ > Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/ > --- > [This E-mail scanned for viruses by Declude Virus] > > --- [This E-mail scanned for viruses by Declude Virus] To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
