Backup tool for the Fusion Metadata Registry SDMX structural metadata registry.
2.2K
fmrcl Backup Toolfmrcl is a command-line tool used to export the full contents of an operational FMR installation to disk and is the basis of the backup and restore process.
An account with administrative privileges on the FMR installation is required.
fmrcl can be run on any machine provided it has network access to the FMR installation's REST API.
export ADMIN_USER=root
export ADMIN_PASSWORD=******
docker run --rm -v ./:/out sdmxio/fmrcl:latest -u ${ADMIN_USER} -p ${ADMIN_PASSWORD} -url http://registry.example.org
The backup is written to the container's /out directory on which a host volume should be mounted. In the example above, the current working directory is used specified by the -v ./:/out parameter.
For FMR installations on localhost, the URL should instead use the special hostname host.docker.internal.
Thus http://localhost:8080 becomes http://host.docker.internal:8080.
docker run --rm -v ./:/out sdmxio/fmrcl:latest -u ${ADMIN_USER} -p ${ADMIN_PASSWORD} -url http://host.docker.internal:8080
Using localhost will fail because it references the container rather than host.
The FMR Wiki has full guidance on both the fmrcl tool and FMR's backup and restore process.
Content type
Image
Digest
sha256:0a2c7cf30…
Size
233.8 MB
Last updated
5 months ago
docker pull sdmxio/fmrclPulls:
8
Last week