Skip to content

systemslab import context

Description Import a previously exported SystemsLab context.
Usagesystemslab import context [OPTIONS] <SOURCE>

Description

The systemslab import context command imports an context tar file that was generated by a previous systemslab export context command. This allows you to move entire contexts between different SystemsLab servers.

TIP

systemslab import context does not handle compressed tar files on its own. You can import compressed tar files by passing them to stdin like so

bash
gzip -d experiment.tar.gz -c | systemslab import context -

Options

OptionDefaultDescription
<SOURCE> Tarball or folder containing the context to import. This can be - to read the tar file from stdin.
-j, --parallel1 Number of requests allowed to be made in parallel. Passing 0 will make this use the number of CPUs on the current machine.

Common Options

OptionDefaultDescription
--systemslab-url The URL at which to access the systemslab server.
--colorauto Controls when color is used in the output. Possible values are auto, always, and never.
--output-formatlong Output format to use when outputting messages. long will result output designed to be human-readable while short is short output meant to be used within scripts.

Environment Variables

VariableDescription
SYSTEMSLAB_URLSpecify the URL used to contact the SystemsLab server. Equivalent to --systemslab-url.