Is Copying of a CMS from one cluster to another possible?

We are running Experience Manager v15.7 and need to move (migrate) the systems to another datacenter.
I’ve added new configurations for hst:platform and hst:project/hst:hosts to the project.
Since we have a lot of content in production (several millions of nodes) we are trying to avoid deploying an empty project followed by a huge content migration via export import. So we stopped the CMS from the origin system (cms-test.xyz.de) and copied consistent versions of database and datastore to the new system (cms-stage.xyz.de).

The system started without any complain, but once i tried to change content i ran into this problem:
18.12.2024 10:22:09 [main] ERROR [org.onehippo.repository.lock.db.DbLockManager.releasePersistedLock():378]
Database Lock ‘/hcm:hcm’ cannot be released for thread ‘main’ and cluster ‘cms-cms-stage.xyz.de’ because lock is not owned.

I assume that this lock is bound to the former cluster (‘cms-cms-test.xyz.de’)
So i’d like to know if is it possible to release it manually (and where this lock is persisted) and
if there are more dependencies to look after?

you should copy whole database (database dump).

Locks are located in HIPPO_LOCK table

Thanks for the information, we will test again.

Hi @Michael ,

We are happy you are part of Bloomreach Developer’s Community.
Thank you for reaching out to us.

Should you have any additional inquiries, please do not hesitate to contact us.

Thank you