GranularExportImport - metadata

GranularExportImport - metadata

Description :

This command gets the metadata from a source object and its dependent objects, and writes this metadata to the file metadata.xml. You run this command on the source system. You must run this command before you can run the export command or the compare command.

For objectType, specify one of the following strings:

  • ACL_PUSH_JOB
  • AIX_PACKAGE_INSTALLABLE
  • AIX_PATCH_INSTALLABLE
  • AUDIT_JOB
  • BATCH_JOB
  • BLPACKAGE
  • COMPLIANCE_JOB
  • COMPONENT_DISCOVERY_JOB
  • CUSTOM_SOFTWARE_INSTALLABLE
  • DEPLOY_JOB
  • DEPOT_FILE_OBJECT
  • FILE_DEPLOY_JOB
  • HOTFIX_WINDOWS_INSTALLABLE
  • HP_BUNDLE_INSTALLABLE
  • HP_PATCH_INSTALLABLE
  • HP_PRODUCT_INSTALLABLE
  • IIS_HOTFIX_WINDOWS_INSTALLABLE
  • INSTALLSHIELD_WINDOWS_INSTALLABLE
  • MSI_WINDOWS_INSTALLABLE
  • NSHSCRIPT
  • NSH_SCRIPT_JOB
  • PATCH_ANALYSIS_JOB
  • RPM_INSTALLABLE
  • SERVICEPACK_WINDOWS_INSTALLABLE
  • SNAPSHOT_JOB
  • SOLARIS_PACKAGE_INSTALLABLE
  • SOLARIS_PATCH_CLUSTER_INSTALLABLE
  • SOLARIS_PATCH_INSTALLABLE
  • TEMPLATE
  • UPDATE_SERVER_PROPERTY_JOB

Return type : String

Command Input :

Variable Name

Variable Type

Description

objectType

String

The object type. Set this to one of the strings listed above.

objectPath

String

Fully qualified path to the group containing the object.

ObjectName

String

Name of the object.

path

String

Path to the location where you want to write metadata.xml. Include the file name metadata.xml in this path.

Example

The following example gets metadata for a Batch Job and its dependents, and writes the metadata to metadata.xml.

Script





GranularExportImport metadata BATCH_JOB /test batch_job c:/temp/metadata.xml 



Was this page helpful? Yes No Submitting... Thank you

Comments