Skip to content

systemslab export experiment

Description Export a SystemsLab experiment to a tar file.
Usagesystemslab export experiment [OPTIONS] <EXPERIMENT>

Description

The systemslab export experiment command exports a experiment to a tar file. This tar file can then be used with systemslab import experiment to import the experiment. This can be used to move entire experiments between SystemsLab servers.

TIP

systemslab export experiment is not able to generate a compressed tar file on its own. You can generate a compressed tar file by piping the output through a compressor like so

bash
systemslab export experiment 018ec8b0-1b8b-7169-46d4-8fead04845e2 | gzip -9 > experiment.tar.gz

Options

OptionDefaultDescription
<EXPERIMENT>The ID of the experiment to be exported.
-o, --output- The path at which to produce the output tar file. Can be - to output to stdout.
-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.