> ## Documentation Index
> Fetch the complete documentation index at: https://getfloo.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# storage

> CLI reference: inspect and restore noncurrent versions of floo-managed Storage objects

Managed Storage keeps noncurrent object versions for 30 days. Use `floo storage` to inspect those versions and restore one over the live object.

## versions

```bash theme={null}
floo storage versions uploads/report.json --app my-app
floo storage versions uploads/report.json --app my-app --name uploads --env prod
```

| Flag          | Description                  | Default              |
| ------------- | ---------------------------- | -------------------- |
| `--app APP`   | App name or UUID             | inferred from config |
| `--name NAME` | Managed Storage service name | `default`            |
| `--env ENV`   | `dev` or `prod`              | `dev`                |

The output identifies restorable GCS generation IDs. It does not return object contents.

## restore

```bash theme={null}
floo storage restore uploads/report.json --generation 1740000000000000 --app my-app
```

Use `--name` and `--env` to target a named service or production bucket. Check the object path and generation with `floo storage versions` before restoring. Restore copies the selected generation over the live object path and records the operation.

See [Managed Storage](/docs/guides/cloud-storage) for runtime access through the native GCS SDK.
