sagcc export templates snapshot
DEPRECATED. Use composite templates to provision installations.
Exports the template available under the specified alias into a compressed file.
Syntax
Command Central syntax:
sagcc get templates snapshot export template_alias
{--output | -o} filename.zip [options]
Platform Manager syntax:
sagcc get templates export template_alias
{--output | -o} filename.zip [options]
Arguments and Options
Argument or Option | Description |
template_alias | Required. The alias for the template to export. You can determine the template alias using the sagcc list templates command. |
{--output | -o} filename.zip | Required. The output zip archive file to which to export the template. For more information about the [{--output | -o} file] option, see output. |
[options] | The command allows all options supported by the Command Line Interface. For a description of the options, see Common Options. |
Example When Executing on Command Central
To export a template, under the alias “myAlias”, from the Command Central server with host name “rubicon” and port “8090”:
sagcc get templates snapshot export myAlias
--server http://rubicon:8090/cce -p mypassword
--output template-output-file.zip
Example When Executing on Platform Manager
To export a template, under the alias “myAlias”, from the Platform Manager server with host name “rubicon” and port “8092”:
sagcc get templates export myAlias --server http://rubicon:8092/spm
-p mypassword --output template-output-file.zip