Sometimes, a user needs to clone an CloudBees CD (CloudBees Flow) server from an existing one to test different configurations, test upgrade, and other tasks. Cloning an CloudBees CD (CloudBees Flow) server is a complicated task and could harm the existing environment if not taken carefully. This article describes the tasks that need to be done when cloning an CloudBees CD (CloudBees Flow) server to avoid troubles.
Before cloning an CloudBees CD (CloudBees Flow) server, it is recommended to read the “Maintenance” chapter in the CloudBees CD (CloudBees Flow) Installation Guide carefully.
But cloning a server is different because it creates another server, not replacing the existing one. So we must be careful when we activate the cloned new server.
As we all know that almost all CloudBees CD (CloudBees Flow) data is stored in the database, so after cloning the database, we must modify the cloned database to make sure that nothing points to the OLD environment.
The following tasks must be done: