egmusadb export

The egmusadb export command exports all of the United States database resource information to a database property file, EgmDbResource.txt, at the specified location. If the location for the output file is not provided, the EgmDbResource.txt file is written to the current folder. The database property file can subsequently be used with the egmusadb import command to configure the databases on another system.

Usage

egmusadb export --o directory
Required Argument Description
No --o directory Specifies the output directory to store the JSON-formatted output file, EgmDbResource.txt, which contains the database properties information.

Example

This example exports the database information to the designated location.

egmusadb export --o C:\DBs\

The EgmDbResource.txt output file contains database property information similar to the following:

[{"product":"GeoStan",
"module":"geostan",
"name":"TomTomStreets",
"maxActive":4,
"properties":{"BASE_DB_PATHS":"C:/Dataset/DVDGDT",
"DataSetName":"TomTomStreets"}},
{"product":"GeoStan",
"module":"geostan",
"name":"CentrusPoints",
"maxActive":4,
"properties":{"BASE_DB_PATHS":"C:/Dataset/DVDCPoints;C:/Dataset/DVDGDT",
"DataSetName":"CentrusPoints"}}]