what is the scm command line API to create snapshot on a stream without baselines ?
One answer
You can use lcm create snapshot command to create snapshot of a stream -
For example -
lscm create snapshot -r https://<server>:9443/jazz -u <userid> -P <password> -n "<Snapshot Name>" "<Stream Name>"
This command will create snapshot. Baselines are created only if necessary. You can force creation of baselines by using option "-f". I do not believe you can avoid creating baselines though.
The reason baselines are automatically created is that the current configuration of components in your stream may not have already been captured in a baseline.
The Eclipse UI option you are referring to is actually same as "-f" option in CLI, which is to force creation of baseline.
For example -
lscm create snapshot -r https://<server>:9443/jazz -u <userid> -P <password> -n "<Snapshot Name>" "<Stream Name>"
This command will create snapshot. Baselines are created only if necessary. You can force creation of baselines by using option "-f". I do not believe you can avoid creating baselines though.
The reason baselines are automatically created is that the current configuration of components in your stream may not have already been captured in a baseline.
The Eclipse UI option you are referring to is actually same as "-f" option in CLI, which is to force creation of baseline.
Comments
1 vote
1 vote