Skip to content
Registry StackDocsDevelopment (unreleased)

bregctl data export command reference

View as Markdown

Export records through the ordinary authenticated list API.

This page is generated from the public Clap command tree for Registry Stack source version 0.30.0 and catalog SHA-256 2221f17eae216048d4cfaf7f66e3dcd68a250f6f6de4e24b177441819192b475. Hidden implementation commands are omitted.

bregctl data export [OPTIONS] --package <ABSOLUTE_DIRECTORY> --breg-url <URL> --access-token-file <ABSOLUTE_FILE> --entity <ID> --profile <ID> --field <ID> --output <FILE> --checkpoint <FILE>
OptionAlways requiredRepeatableDefaultValuesEnvironmentDescription
--package <ABSOLUTE_DIRECTORY>YesNon/an/an/aAbsolute closed package directory used only for deterministic planning. A symbolic link at any component of this path is refused.
--breg-url <URL>YesNon/an/an/aBase Registry Engine base URL. HTTP is accepted only for loopback hosts
--access-token-file <ABSOLUTE_FILE>YesNon/an/an/aFile containing one bearer access token and no other credential material. A symbolic link at any component of this path is refused.
--entity <ID>YesNon/an/an/aCompiled entity identifier
--profile <ID>YesNon/an/an/aCompiled non-anonymous export-enabled access profile identifier
--field <ID>YesYesn/an/an/aRequested readable field. Repeat for every exported field
--output <FILE>YesNon/an/an/aJSON Lines output file. Existing output resumes from its checkpoint. A resume continues after the last page the checkpoint records and discards the output beyond it, which is at most the one page a run stopped between appending a page and publishing its checkpoint left behind. A longer tail is refused rather than discarded. The output and the checkpoint are usable only as a pair: one present without the other is refused, and removing the file that remains starts a fresh export. A path holding a .. component is refused. A symbolic link at any component of this path is refused.
--checkpoint <FILE>YesNon/an/an/aExport checkpoint file written after every page. The checkpoint is published after the page it records reaches the output, so it names the position a resume continues from. Keep it for as long as the output it belongs to, and give each export its own pair. A path holding a .. component is refused. A symbolic link at any component of this path is refused.
--max-pages <COUNT>NoNon/an/an/aStop after this many pages, for bounded operator runs
--format <FORMAT>NoNohumanhuman, jsonn/aEmit the selected command’s report in this format
-h, --helpNoNon/an/an/aPrint help (see a summary with ‘-h’)

Run npm run generate from docs/site after changing a public command, argument, option, default, environment binding, or help description.