User Setup
It is recommended to create a dedicatedmetadb user to run the server:
/home/metadb.
Building from Source
Build the server
Compile the server using the build script:The build script creates a
bin/ subdirectory with the metadb executable.Command Structure
In general, runningmetadb takes the form:
Common Commands
init- Initializes a new Metadb instancestart- Starts the serverstop- Shuts down the serverupgrade- Upgrades a Metadb instance to the current versionsync- Begins synchronization with a data sourceendsync- Ends synchronization and cleans up stale dataversion- Prints the Metadb version
Getting Help
For more information about a specific command:Connecting to the Server
The PostgreSQL terminal-based clientpsql is used to connect to a Metadb server:
Metadb implements part of the PostgreSQL communication protocol to allow
psql to be used as a client. It is not a full database system.psql.