Move openldap to new node

Hello

I tried NS8 on a small server, but now I migrated the installation to a bigger server.

How could I move openldap1 to another node, so I could delete node1?

I tried to restore from backup to node2 with following result:

restic dump latest state/environment
Assertion failed
File “/var/lib/nethserver/cluster/actions/restore-module/50restore_module”, line 93, in
agent.assert_exp(restore_task_result[‘exit_code’] == 0)

If we talk about openLDAP and samba, backup and restore are for single node disaster recovery. In your case, use a replica

https://docs.nethserver.org/projects/ns8/en/latest/user_domains.html#provider-replicas

You add a replica to node 2 and remove the old one from node 1

3 Likes