惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
人人都是产品经理
人人都是产品经理
爱范儿
爱范儿
aimingoo的专栏
aimingoo的专栏
博客园 - 叶小钗
H
Help Net Security
Microsoft Security Blog
Microsoft Security Blog
The Cloudflare Blog
S
SegmentFault 最新的问题
小众软件
小众软件
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 司徒正美
The GitHub Blog
The GitHub Blog
量子位
H
Hackread – Cybersecurity News, Data Breaches, AI and More
V
V2EX
Martin Fowler
Martin Fowler
博客园 - 【当耐特】
J
Java Code Geeks
D
DataBreaches.Net
云风的 BLOG
云风的 BLOG
F
Fortinet All Blogs
Blog — PlanetScale
Blog — PlanetScale
Last Week in AI
Last Week in AI

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
How to Download Your Entire Supabase Storage Bucket Locally
jigz · 2026-05-03 · via DEV Community
Cover image for How to Download Your Entire Supabase Storage Bucket Locally

jigz

If you've been building with Supabase, you know their Storage API is fantastic for web apps. But sometimes, you just need your files on your local machine—whether for a manual backup, bulk editing, or migrating data.

While you could write a script using the Supabase SDK, there is a much faster, "no-code" way to manage your files like a Pro: Cyberduck.

Note: Cyberduck is an official Supabase partner integration. It is a secure, open-source tool that Supabase explicitly recommends for managing storage via the S3 protocol. You can find the official integration page here.


Phase 1: Generate Your S3 Credentials

Before opening Cyberduck, you need to give it permission to talk to your Supabase project via the S3 protocol.

  1. Log in to your Supabase Dashboard.
  2. Navigate to the S3 Settings tab in the sidebar (under Storage).
  3. Under Access Keys, click Create Access Key.
  4. Give it a description (e.g., "Local Backup") and click Create.
  5. Important: Copy your Access Key ID and Secret Access Key immediately. You won't be able to see the secret again!

Phase 2: Configure the Cyberduck Profile

Cyberduck needs a specific "handshake" configuration to understand Supabase’s structure.

  1. Download Cyberduck: Get the latest version from their official download page.
  2. Create the Profile: Create a file on your computer named supabase.cyberduckprofile.
  3. Paste the following code into that file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
    <dict>
        <key>Protocol</key>
        <string>s3</string>
        <key>Vendor</key>
        <string>Supabase Storage S3</string>
        <key>Scheme</key>
        <string>https</string>
        <key>Description</key>
        <string>Supabase Storage (S3)</string>
        <key>Default Hostname</key>
        <string>YOUR_PROJECT_REF.supabase.co</string>
        <key>Default Port</key>
        <string>443</string>
        <key>Region</key>
        <string>YOUR_REGION</string>
        <key>Properties</key>
        <array>
            <string>s3.storage.class.options=STANDARD</string>
            <string>s3.bucket.virtualhost.disable=true</string>
        </array>
        <key>Context</key>
        <string>/storage/v1/s3</string>
    </dict>
</plist>

Enter fullscreen mode Exit fullscreen mode

  1. Edit the file: Replace YOUR_PROJECT_REF with your project ID (found in your Supabase URL) and YOUR_REGION (e.g., ap-south-1).
  2. Save and Run: Double-click the file. Cyberduck will open and ask for your credentials. Enter the Access Key ID and Secret Access Key you generated earlier.

Cyberduck


Phase 3: Downloading Your Bucket

Once connected, you will see your Supabase buckets listed just like folders on your computer.

  1. Select your Bucket: Locate the folder you wish to bring local.
  2. Download: Right-click the bucket and select Download. You can choose the destination folder on your machine, and Cyberduck will handle the transfer.
  3. Sync/Mirror: If you want to keep your local folder updated with the latest changes from the cloud without re-downloading everything, use the Mirror feature. This compares the local and remote folders and only transfers the differences.

Other Powerful Use Cases

Connecting via S3 is about more than just backups. Here’s what else you can do:

  • Bulk Uploads: Drag and drop thousands of assets (like product images or icons) directly into Supabase. It’s much more stable than using a browser-based dashboard for large volumes.
  • Direct Media Editing: Some editors allow you to open a file directly from Cyberduck, edit it, and save it back to the cloud instantly.
  • Cross-Cloud Migration: If you are moving files from AWS S3 or Cloudflare R2 into Supabase (or vice-versa), you can open two windows in Cyberduck and simply drag-and-drop between the two services.
  • Infrastructure Testing: It's an excellent way for developers to verify that their S3 policies and IAM-style permissions are working correctly before writing a single line of frontend code.