how to backup LDAP Server in linux

How to backup LDAP Server in linux

How to backup LDAP Server in linux  LDAP सर्वर बैकअप First of all  install ldap client tools. in your machine #yum install ldap Now Use below scripts to take complete backup of ldap server database. #!/bin/bash datestamp=`date +%Y%m%d` filename=”/backup/ldap/dump.$datestamp.ldif” #echo $filename /usr/local/openldap/bin/ldapsearch -x -h 192.168.1.1 -D “cn=root,ou=QMAIL-LDAP” -w “passwordn” -b […]

Read more

Repair Qmail Log

Repair Qmail Queue log, if your server become irresponsible in term’s of getting more worning in Qmail log with no index found for given mail Trsn ID. #!/bin/bash #Writter by vikas kushwaha #stop all incomine mails /sbin/iptables -A INPUT -p tcp –dport 25 -j REJECT #greped all corrept data from […]

Read more
1 2