Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

tractorbeam storage

Read and upgrade the Workspace's storage.

tractorbeam storage <subcommand> [flags]

Shared flags

Every subcommand takes these flags.

Flag Description
--config <string> The Project’s tractorbeam.config.ts. Defaults to the one in the current directory or its nearest ancestor.
--workspace <string> Workspace name. Environment variable: TRACTORBEAM_WORKSPACE.
--origin <string> The Tractorbeam origin to call instead of the default, such as a proxy’s. Environment variable: TRACTORBEAM_ORIGIN.
--token <string> Access token. Defaults to the saved interactive session. Environment variable: TRACTORBEAM_TOKEN.

storage get

Read the Workspace’s storage format, the latest format, and where its upgrade stands, with its progress while it runs.

tractorbeam storage get [flags]

Examples:

# Say where the Workspace's storage and its upgrade stand
tractorbeam storage get

storage upgrade

Start an upgrade of the Workspace’s storage to the latest format, and wait for it to end, showing its progress. The Workspace serves nothing else while it runs. Running it again resumes a stopped upgrade. Needs account:manage.

tractorbeam storage upgrade [flags]

Examples:

# Upgrade the Workspace's storage and wait for it to end
tractorbeam storage upgrade