1,106
edits
Technician (talk | contribs) No edit summary |
Technician (talk | contribs) |
||
Line 145: | Line 145: | ||
=== Copy over LDAP databases === | === Copy over LDAP databases === | ||
Stop the LDAP server and delete the existing configuration on the new server: | |||
systemctl stop slapd | |||
rm -r /etc/ldap/slapd.d/* | |||
Then copy over the config and data by running these commands from the old server: | |||
slapcat -n 0 | ssh feministwiki.dev 'slapadd -n 0 -F /etc/ldap/slapd.d' | |||
slapcat -n 1 | ssh feministwiki.dev 'slapadd -n 1' | |||
=== Copy over SQL databases === | === Copy over SQL databases === |