Manta Flow Server Repository Management

The metadata repository of the Manta Flow Server application is stored in its installation directory. It is shared by all modules, including visualization, import, export, and query. It can be filled, cleaned, or queried by Manta Flow client applications.

Back Up and Restore

Physical Copy

To back up the metadata repository:

To restore a previous backup of a metadata repository:

Physically copying the repository usually goes fast, but it depends on the OS and the version of Manta Flow.

Dump

The metadata repository can be exported and imported in binary format, which is independent of the OS and the version of Manta Flow. This dump applies to the whole repository including all versions and all technical metadata.

Note: Importing dump requires that Manta Flow Server application is allocated at least double the size of the file with name dump which is stored in the to-be-imported zip file. See Manta Flow Memory Settings- Server for adjusting the Manta Flow Server memory.

Dumps are only accessible to users with the role ROLE_MERGER.

Warning: Importing a dump will erase the old data in the target repository!

Links for the dump:

Dump size is affected by the number and content of the revisions in the repository. To reduce the dump size, delete and prune revisions that are no longer needed.

REST API

It is also possible to export and import dumps through the REST API.

See API Token-Based Authentication for instructions on how to obtain the authorization token. A postman collection sample is available here.

ServerDump.postman_collection.json

There are several links to maintain the repository.

Location of Persistent Files

The configuration Configurations > Server > Common > Repository Configuration in Manta Admin UI contains the locations of all repository files and directories that should persist across Manta Flow Server reboots.

Property name

Description

Examples

repository.storage.neo4j

The relative or absolute path to the directory with the Neo4j metadata database

manta-dataflow-server-dir/data/neo4j

repository.sourcecode.dir

The relative or absolute path to the directory containing source codes

manta-dataflow-server-dir/data/sourcecode

repository.usage-stats.db

The relative or absolute path to the database containing usage statistics; should not contain the database file extension

manta-dataflow-server-dir/data/usageStatsDb

repository.script-metadata.db

The relative or absolute path to the database containing script metadata; should not contain the database file extension

manta-dataflow-server-dir/data/scriptMetadataDb

repository.permissions.views

The relative or absolute path to the file containing the configuration of views of the metadata

manta-dataflow-server-dir/conf/repositoryViews.csv

repository.permissions.view-permissions

The relative or absolute path to the file containing the permission configuration of views to the metadata

manta-dataflow-server-dir/conf/repositoryViewsPermission.csv

repository.horizontal-filters

The relative or absolute path to the file containing the configuration of horizontal filters

manta-dataflow-server-dir/conf/horizontalFilters.json

repository.horizontal-filter-groups

The relative or absolute path to the file containing the configuration of horizontal filter groups

manta-dataflow-server-dir/conf/horizontalFilterGroups.json

Session Policy

It is also possible to adjust the behavior of Manta Viewer sessions.

The file for changing the default configuration is <MANTA_SERVER_HOME>/manta-dataflow-server-dir/conf. It is possible to change the default 30-minute session timeout by adding the following entry.

server.servlet.session.timeout=<timeout in minutes>m

Version Control System

The metadata repository supports the version control system. This system can theoretically hold an unlimited number of revisions, but each revision takes up space on the disk. The maximum number of revisions is maintained by the prune feature, which deletes older revisions that exceed the configured amount.

It is possible to turn off the version control system. One reason to do so could be to only use the Manta Flow Server for exporting to third-party applications. In this case, the client workflow must be changed.

Revision System

Two types of revisions exist.

  1. Major revisions — Work like revisions in older versions of Automatic Data Lineage. Each major revision is identified by an integer.

  2. Minor revisions — Enable the incremental update of repository metadata. Loaded metadata is merged with metadata from the previous revision. Each minor revision is identified by a six-digit float number.

Basic API