We've switched our hosting provider.
Right now, we're using MarkLogic 10.0-6.1
, but we've just set up MarkLogic 11.3.1
in the new hosting environment. I'm wondering how to transfer the users, roles, and other security info from MarkLogic 10.0-6.1
to the new MarkLogic 11.3.1
.
Is it just a matter of restoring, or should I use MLCP or another tool for a smoother transition? Any advice would be appreciated!
Yes, you should be able to restore an older Security database backup. After doing so, you will want to upgrade the Security database.
If you have any TLS/SSL enabled appservers, it is best to disable SSL prior to restoring.
Restoring from a different server version
When restoring the Security database from a backup made on an older version of the MarkLogic server to a newer version of MarkLogic, a manual upgrade of the Security db is also required after the restore. With this additional step, there is a match between the server and the security database versions, and some features will work as expected. There will be issues with reindexing, query results, etc.
To upgrade a security database, navigate to Admin UI -> 'Support' tab -> click on the 'Upgrade' button at the bottom right corner.
Note that MarkLogic does not support restoring a backup made on a newer version of MarkLogic Server onto an older version of MarkLogic Server.
Restoring Security Database with different Certificate template content
If your AppServer is associated with Template and Security DB you intend to restore has a different Template, then to avoid lingering Template ID, we recommend that you detach AppServer to Template association for app servers(disabling SSL) prior to restoring security DB.
Please read - Security Database restore leading to lingering Certificate Template id in Config files