---
title: "tractorbeam storage"
description: "Read and upgrade the Workspace's storage."
sidebar:
  label: "storage"
  order: 19
---

```sh
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.

```sh
tractorbeam storage get [flags]
```

Examples:

```sh
# 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`.

```sh
tractorbeam storage upgrade [flags]
```

Examples:

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