uec / Issue.Tracker

Automatically exported from code.google.com/p/usc-epigenome-center
0 stars 0 forks source link

final ldiff push to webapp-dev #774

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
do a final ldiff

Original issue reported on code.google.com by zack...@gmail.com on 10 Jul 2014 at 12:08

GoogleCodeExporter commented 8 years ago
How to backup and restore an LDAP db from one system to another

dump ldap db from system A:
slapcat  > /root/ldap-2014-07-11.ldiff
scp /root/ldap-2014-07-11.ldiff root@B.usc.edu

to rebuild ldap from a ldiff txt dump on system B:
service slapd stop
cd /var/lib ldap
rm everything except DB_CONFIG
slapadd -l /tmp/ldap-2014-07-11.ldiff
chown ldap.ldap *
chmod g+rw *
service slapd start

#done

Original comment by zack...@gmail.com on 11 Jul 2014 at 10:27

GoogleCodeExporter commented 8 years ago

Original comment by zack...@gmail.com on 11 Jul 2014 at 10:36