Move 1tb from vimeo to claudflare in minutes 😲
Introduction

8 hours
I had 8 hours to move 232 GB of video — nearly 1,000 recordings across 91 folders, from 4K fireside chats and masterclasses to product demos and community sessions.

The Naive Attempt: Download One by One, Then Re-Upload
Like anyone under a ticking clock, I started the old-fashioned way right away. I clicked download on a video, waited for it to hit my laptop, and started uploading it to Cloudflare.
1.2 GB
I timed a single 1.2 GB video. Between downloading it to my machine over office Wi-Fi and pushing it back up to cloud storage, that one file took nearly 30 minutes. Worse, trying to download multiple large files at once just choked my local bandwidth and caused browser downloads to fail halfway through — meaning I had to baby-sit them one at a time.
Four hours later, at 3:00 PM, I checked my progress.
I had moved 23 GB.
I had moved 23 GB.

over 209 GB
I still had over 209 GB sitting on Vimeo, and 5hours left on the clock. At my current pace of ~6 GB an hour, it was going to take me another 35 hours. Mathematically,
A Step Back: Why Was My Laptop the Middleman?
I closed the download tab and asked myself a simple question:
Why am I pulling 232 GB of video from Vimeo’s multi-gigabit CDN down to my laptop, just to push the exact same bytes back up to Cloudflare’s multi-gigabit network?

Both Vimeo and Cloudflare sit on massive global edge networks. My laptop had no business sitting in the middle of that pipe.
Cloudflare R2
And there were two specific reasons I had chosen Cloudflare R2 as the destination in the first place:
Zero egress fees: With traditional cloud object storage, storing 232 GB is cheap, but the moment you want to migrate, egress bandwidth fees eat you alive. Cloudflare R2 charges $0 for egress.
Cloudflare Workers sit right next to R2: Because Workers run on Cloudflare’s edge and bind natively to R2 buckets (
env.BUCKET), a Worker canfetch()a signed video stream directly from Vimeo’s CDN and pipe that readable stream straight into R2 at data-center speeds.
If I could make Cloudflare’s edge talk directly to Vimeo’s edge, my local internet speed wouldn’t matter at all. My laptop would only need to send tiny JSON instructions — a few kilobytes — telling the Worker which video to pull next.

Building the Edge-to-Edge Pipeline (With the Clock Ticking)
Instead of clicking “Download” 900 more times, I spent the next 45 minutes building a two-part migration tool:
1. Secure the Catalog & Signed Links First
1. Secure the Catalog & Signed Links First
962 playable videos
Using a Vimeo Personal Access Token with the video_files scope, I wrote a scanner that paged through GET https://api.vimeo.com/me/videos (100 videos per page). In under two minutes, it extracted a complete manifest of all 962 playable videos—their original folder names, titles, descriptions, tags, high-res thumbnails, and highest-resolution source .mp4 download URLs.
2. Streaming Directly from Vimeo CDN → Cloudflare Worker → R2
2. Streaming Directly from Vimeo CDN → Cloudflare Worker → R2
On the Cloudflare side, I deployed a lightweight Worker bound to our R2 bucket (BUCKET).
For smaller videos (under 95 MB), a single streaming pass in the Worker is all it takes — no buffering the file in the Worker’s 128 MB RAM limit:
const upstream = await fetch(sourceUrl);
await env.BUCKET.put(key, upstream.body,
{
httpMetadata: { contentType: "video/mp4" },
customMetadata: { vimeo_id, title, folder },
});3. Solving the Multi-Gigabyte Problem on the Free Tier (Multipart Range Streaming)
3. Solving the Multi-Gigabyte Problem on the Free Tier (Multipart Range Streaming)
2 GB to 3.6 GB each
Some of our recordings were 2 GB to 3.6 GB each. A single Worker execution can’t hold a connection open forever, especially on the Workers Free plan.
R2’s Multipart Upload API
To make large transfers bulletproof without paying for queues or dedicated servers, I used R2’s Multipart Upload API(env.BUCKET.createMultipartUpload) paired with HTTP Range requests:
First, the Worker probes Vimeo’s CDN with
Range: bytes=0-0and reads theContent-Rangeheader to get the exact byte length on disk (I discovered the hard way that Vimeo's APIsizefield is sometimes off by 1–2 MB from the real CDN file size, which causes the final chunk to 416/502 if you don't probe first!).Next, the orchestrator slices the file into 50 MB byte ranges (
bytes=0-52428799,bytes=52428800-104857599, etc.).For each 50 MB slice, the Worker fetches just that range from Vimeo’s CDN and streams it directly into
upload.uploadPart(partNumber, upstream.body).Once all parts finish,
upload.complete(parts)stitches the multi-gigabyte MP4 together inside R2—and automatically writes a sidecarmetadata.jsonandthumbnail.jpgright next tovideo.mp4.
videos (R2 Bucket)
├── catalog.json
└── videos/
└── full-videos/
└── 1052935494-myvideo/
├── video.mp4
├── metadata.json
└── thumbnail.jpgThe Result: 200+ GB Moved in Under 90 Minutes
I spun up 10 parallel workers.

10 videos were landing in R2 every few seconds
Instead of 30 minutes for a single 1.2 GB video, 10 videos were landing in R2 every few seconds. Total bandwidth consumed on my laptop? A few megabytes of JSON API calls.
With more than two hours to spare before the 9:00 PM cutoff:
962 / 962 playable videos were safely inside Cloudflare R2.
91 folders preserved with their original titles, descriptions, tags, and high-res thumbnails.
0 failures.
Turning a Panic Script into an Open-Source Chrome & Brave Extension
I realized how many teams, creators, and startups sit on hundreds of gigabytes of video on Vimeo — either paying steep annual renewal tiers just so they don’t lose their raw files, or wanting an off-site backup in Cloudflare R2 where storage is cheap and egress is free.
Chrome & Brave Extension
Not everyone wants to battle Python scripts and CLI flags . So I packaged the entire workflow into an open-source Chrome & Brave Extension: Vimeo → Cloudflare R2 Migrator.
With the extension, you can:
Open it in your browser’s Side Panel or a Full Dashboard Tab.
Copy the Cloudflare Worker code in one click, generate a
MIGRATION_SECRET, and paste your Vimeo token.Scan your entire Vimeo library, filter by folder or resolution, and migrate or back up hundreds of gigabytes edge-to-edge while watching the live multipart progress bar.
If you ever need to back up your Vimeo library — or migrate to Cloudflare R2 — you don’t need 35 hours or gigabit fiber at home. Let the edge servers do the heavy lifting.




