rebase volume
Manage persistent file volumes mounted into deployed functions and apps.
Synopsis
rebase volume create <name>
rebase volume list
rebase volume get <name>
rebase volume ls <name> [path]
rebase volume put <name> <local-path> [remote-path]
rebase volume download <name> <remote-path> [local-path]
rebase volume rm <name> <remote-path>
rebase volume delete <name> [--force]Subcommands
| Subcommand | Description |
|---|---|
create | Create a volume. Idempotent: returns the existing volume if the name is taken. |
list | List volumes in the active workspace. |
get | Show volume metadata (provider, bucket, prefix). |
ls | List files in a volume, optionally under a path prefix. |
put | Upload a local file or directory. Directories upload recursively. |
download | Download one file from the volume. |
rm | Delete one file from the volume. |
delete | Delete the volume and every file in it. Prompts unless --force. |
Behavior
Volume names use lowercase letters, digits, ., _, and -. Uploads and downloads
move bytes over presigned URLs directly between your machine and object storage.
Attach volumes to deployed code with the SDK:
@rb.function(volumes={"/models": rb.Volume.from_name("model-cache", create_if_missing=True)})
def train(): ...See Volumes for the full guide.

