sagcc exec repository products export
Generates a product image archive from a product repository.
Syntax
Command Central syntax:
sagcc exec repository products export repo_Name
dest=filename.zip artifacts={productId1[_version],
productId2[_version]|ALL} platform=OS_Id [options]
Not supported by
Platform Manager.
Arguments and Options
Argument or Option | Description |
repo_name | Required. Specifies the name of a local product repository from which you want to generate a product image archive. |
dest=filename.zip | Required. A name for the generated product image archive. |
artifacts={productId1[_version], productId2[_version]|ALL}
| Required. The names of the products to include in the image file. Specifying the product version is optional. If you set the argument to ALL, Command Central exports all products from the product repository into the image archive. |
platform=OS_Id | Required. The operating system ID of the products to include in the image archive. You can include products for one operating system in the product image archive. |
[options] | Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see
Common Options. |
Usage Notes
When exporting a list of specific product IDs, specified in the
artifacts argument, JDK, license file, and the
Installer libraries are not added to the exported image archive, though they are required to install products in a new installation directory. The exported image archive includes
only the required product plug-ins for the specified products. It does not include all product plug-ins normally included in the
Platform ManagerALL distribution. The exported image archive does not include
Update Manager as a dependency.
If you want to use a product mirror repository for the exported image archive, you must specify only mirror repositories created on the local
Platform Manager installation.
When listing a product in the
artifacts argument, you must enclose the
productId in single quotes ('') if the ID includes underscore (_), followed by a number. The single quotes ensure that
Command Central does not interpret the (_) character in the
productId as the version delimiter in
[artifacts=productId[_version]. For example, to list the product with ID "WmPSFT_E1_898" and version 8.98.6282010.0.0, enter
artifacts='WmPSFT_E1_898' (without the optional version) or
artifacts='WmPSFT_E1_898'_8.98.6282010.0.0 (with the version).
Example When Executing on Command Central
To generate a product image archive with name “myproducts.zip” that contains products with IDs “SPM” and “OSGI” for the operating system with ID "LNXAMD64" from a local product repository with name “productRepo”:
sagcc exec repository products export productRepo dest=myproducts.zip
artifacts=SPM,OSGI platform=LNXAMD64