CLI Tutorial: Environment Cloning

The environment cloning feature is also supported by CLI and can be easily called to help you in creation of new branches/multiple versions of your application. So, to duplicate your environment, just execute the next line:

~/jelastic/environment/control/cloneenv --appid {src_env} --domain {new_env}
  • {src_env} - name of the environment you’d like to clone
  • {new_env} - name for your the environment copy

CLI clone environment method

In a few minutes, you’ll get a new environment within your account, that is similar to the source one.