Hitachi Vantara Pentaho Community Wiki
Child pages
  • System Import Zip authoring

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin


BA-Server 5.0 introduces a new Import / Export feature which allows you to transport Repository content, models and connections via a ZipFile. Through this feature, you can export from one server to import into another. You can also have predefined content which can be setup to be imported into the system on startup. This simplifies provisioning of new servers and lifecycle management.

Contents of the Import Zip

The Import / Export zip file is composed of repository content in standard file/folder structures representing the repository content and a descriptor file "manifest.xml" at the top of the zip which contains metadata about the repository content such as owner, access control, as well as containing definitions for Mondrian Catalogs, Metadata Domains and Pentaho Datasources (JDBC connections).

Metadata Definitions

Metadata imports are done with a combination of an domain XMI file (produced from Pentaho Metadata Editor) and an XML entry in the manifest. The XMI file can be placed anywhere in the zip. The corresponding XML describing the Metadata model is as follows:

Code Block
    <ExportManifestMetadata domainId="testDomain" file="metadata/steel-wheels.xmi"/>

ExportManifestMetadata tags are top-level tags in the document right under the main <ExportManifest> element.

Mondrian Definitions

Mondrian is similar to Metadata in that there's a file in the zip, in this case the Mondrian Schema XML and corresponding XML defining additional information used by the system.

Code Block
    <ExportManifestMondrian file="mondrian/steelwheels.mondrian.xml">
                <entry key="Provider" value="mondrian"/>
                <entry key="datasourceName" value="SampleData"/>
                <entry key="EnableXmla" value="false"/>

Pentaho Datasources

Pentaho managed JDBC datasources are defined in XML alone. All you need to have a datasource imported is to define it as follows in the exportManifest.xml

Code Block


Schedules can also be described using the following XML element. Any resource which can be scheduled through the PUC UI can be scheduled thought this as well.

Code Block
    <jobName>Your Schedule Name</jobName>