Fast LDAP backup and Data Restore
- If datarestore takes too much time to restore LDAP data
- Constraints : - MCS version should be greater than 220.127.116.113 - Platform of machine from which backup is taken should be same as platform of machine where we are restoring the data.
- How to take backup
- New option is added 'ldapfolderbackup' - /mithi/mcs/bin/databackup.sh -d -ldapfolderbackup - If Option 'ldapfolderbackup' is given then LDAP service is stopped while taking backup - It creates tar of '/var/lib/ldap/mithiconnect' folder so need to stop LDAP service
- How to restore backup
- New option is added 'fastldaprestore' - /mithi/mcs/bin/datarestore.sh -r -fastldaprestore - If Option 'fastldaprestore' is given then LDAP data is restored by using tar file of '/var/lib/ldap/mithiconnect' folder - Instead of ldapadd it uses tar file so time to restore LDAP data is less.