CLI Tutorial: Environment Cloning
You can also clone your environment using the Command Line Interface (CLI) with just a simple call, making it effortless to create new branches or multiple versions of your application. To duplicate your environment, all you need to do is run the following command:
~/jelastic/environment/control/cloneenv --appid {src_env} --domain {new_env}
where:
- {src_env} – name of the environment you would like to clone
- {new_env} – name for your environment copy
Soon, your account will be updated with a fresh environment that resembles the original.