FeministWiki:Server setup: Difference between revisions

No edit summary
Line 145: Line 145:
=== Copy over LDAP databases ===
=== Copy over LDAP databases ===


TODO
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 ===