Appearance
systemslab import context
| Description | Import a previously exported SystemsLab context. |
|---|---|
| Usage | systemslab 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
| Option | Default | Description |
|---|---|---|
<SOURCE> | Tarball or folder containing the context to import. This can be - to read the tar file from stdin. | |
-j, --parallel | 1 | 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
| Option | Default | Description |
|---|---|---|
--systemslab-url | The URL at which to access the systemslab server. | |
--color | auto | Controls when color is used in the output. Possible values are auto, always, and never. |
--output-format | long | 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
| Variable | Description |
|---|---|
SYSTEMSLAB_URL | Specify the URL used to contact the SystemsLab server. Equivalent to --systemslab-url. |