database commands#

Toolkit#

geonemo-services database#

Manage service-owned schemas.

geonemo-services database backup#

Dump all service-owned databases and write a verified manifest.

Parameter

Type

Required

Default

Description

destination

path

yes

null

geonemo-services database migrate#

Apply idempotent service-owned schemas to already provisioned databases.

Parameter

Type

Required

Default

Description

--online, --no-online

boolean

Verify the installed live-compatible baseline.

geonemo-services database migrate-layers#

Host-local installation of generic collection/ontology registry tables.

geonemo-services database migrate-retrieval#

Host-local installation of the shared retrieval registry, as the tools migrator.

The runtime role cannot create schemas; default privileges give it access to the tables this creates. The command is idempotent.

geonemo-services database reconcile-layer-dependencies#

Host-local bounded reconciliation; no remote administration route.

Parameter

Type

Required

Default

Description

--user-id

text

yes

null

Read sources as this collection owner.

--after

text

--limit

integer range

100

geonemo-services database restore#

Restore all service databases, requiring every destination to be empty.

Parameter

Type

Required

Default

Description

source

path

yes

null

--confirmation

text

yes

null

Required destructive confirmation phrase.

geonemo-services database verify-backup#

Verify PostgreSQL archive checksums and archive entry counts.

Parameter

Type

Required

Default

Description

source

path

yes

null