Files
supabase/apps/docs/content/guides/storage/management/download-objects.mdx
Colum Ferry d97a410577 docs: add a Supabase CLI v2 to v3 migration guide (#52147)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

Docs update

## What is the current behavior?

There's no page covering the breaking changes between Supabase CLI v2
and v3. v3.0.0 was released on 2026-11-02.

## What is the new behavior?

Adds a migration guide at
`/docs/guides/local-development/cli/migrating-to-v3`, linked from the
Local Dev / CLI nav just under "Install and run the CLI". It's modelled
on [Vite's migration guide](https://vite.dev/guide/migration): a short
summary, what to do before upgrading, how to install (or stay on v2), a
CI quick-reference table, then one section per change, ending with the
removed commands, flags, config keys and env vars as tables.

The content comes from the `BREAKING CHANGE` footers of the breaking PRs
on supabase/cli `next`, checked against the code there:
supabase/cli#6609, supabase/cli#7064, supabase/cli#7066,
supabase/cli#7074, supabase/cli#7109, supabase/cli#7116,
supabase/cli#7172, supabase/cli#7176, supabase/cli#7188 and
supabase/cli#7221.

## Additional context

The page describes v3.0.0 as released: npm `latest`, Homebrew, Scoop and
the Linux packages all install v3.

The "Staying on v2" channels are live with v2.122.1: npm `v2.stable`,
`supabase/tap/supabase@2`, `supabase-v2-stable` on Scoop, and `version:
v2.stable` or a semver range like `^2` on `supabase/setup-cli@v3`
(ranges need v3.2.0).

It also updates about 60 existing guides and troubleshooting pages for
v3. Hosted examples pass `--remote`, CI examples that change a hosted
project pass `--yes`, deprecated target flags and removed commands are
replaced, and pages that described migra as the default now describe
pg-delta.

It adds a new concept page, "Running commands against local and hosted
projects" at `/docs/guides/local-development/local-and-hosted-projects`,
linked from the Local Dev nav after "Local development workflow". It
covers how a command picks its target (local by default, `--remote` and
its forms, the linked project, the `Target:` line), how settings resolve
(flag, then shell env, then project env files, then config), and when
the CLI asks before changing a hosted project (`--yes`, `SUPABASE_YES`,
`--dry-run`, seeding), with a CI recipe and a section for AI coding
agents. The migration guide links to it from its target, consent and
config sections.

Tracks CLI-2747

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2026-11-02 13:44:40 +00:00

53 lines
2.4 KiB
Plaintext

---
id: 'storage-management'
title: 'Download Objects'
description: 'Learn about downloading objects'
subtitle: 'Learn about downloading objects'
sidebar_label: 'Download Objects'
---
You can download Supabase Storage files can in a variety of ways depending on your use case.
## From the Dashboard
You can download individual files directly from the [**Storage > Files**](/dashboard/project/_/storage/buckets) section of the Dashboard by browsing to your bucket and selecting files.
## Using the Supabase CLI
You can use the `supabase storage` commands to list and [copy objects](/docs/guides/storage/management/copy-move-objects) from your linked project by passing `--remote`.
See the [CLI reference](/docs/reference/cli/supabase-storage) for available commands.
## Using an S3-compatible client
Supabase Storage exposes an S3-compatible endpoint, which means you can use tools like [Cyberduck](https://cyberduck.io/) (via a connection profile), AWS CLI, or rclone to browse and download your files.
To connect:
1. Go to [**Storage > Configuration > S3**](/dashboard/project/_/storage/s3) section of the Dashboard.
2. Enable the S3 protocol and generate an access key + secret key pair (Save it immediately as it is shown once).
3. Use your S3-compatible tool with the endpoint and credentials from the Dashboard.
See the [S3 authentication doc](/docs/guides/storage/s3/authentication) for full connection details.
<Admonition type="note">
For downloading a large number of objects, using an S3-compatible tool like rclone or Cyberduck is significantly more efficient than downloading files individually.
</Admonition>
## Using migration scripts
For bulk downloads or project migrations, you can use the scripts from our migration docs:
- **Node.js script** — see "Migrating storage objects" in the [migration guide](/docs/guides/platform/migrating-within-supabase/backup-restore)
- **Google Colab script** — see "Migrate storage objects to new project's S3 storage" in the [dashboard restore guide](/docs/guides/platform/migrating-within-supabase/dashboard-restore)
## File metadata
<Admonition type="note">
File metadata is stored separately from the actual files. It lives in the `storage.buckets` and `storage.objects` tables in your Postgres database. If you need a complete backup (files + metadata), see the [backup and restore guide](/docs/guides/platform/migrating-within-supabase/backup-restore).
</Admonition>