All projects
SampleSample · unsupportedUnsupported · no SLA

Far Region Bulk Ingest

A Python CLI that wraps rclone to move capture batches from many sites into Backblaze B2 over unstable links, with a checksum manifest, rerunnable copy, rclone check, manifest comparison, transfer report and a verified marker for every batch.

Built for: Teams that collect video, lidar and telemetry at several sites and push it over slow or unreliable links into one B2 training corpus, and need proof of what arrived before downstream jobs run.

MIT licensed · Updated Nov 28, 2026

Terminal output of make demo showing the transfer report with every batch verified and a single round-trip success line
The demo runs several sites and batches through the link shaper, interrupts and reruns them, and prints the transfer report ending in one round-trip line.

What it's built with

Each piece of the stack, and the job it does in this project.

Python 3.11+
CLI that orchestrates each batch
rclone
Pinned transfer engine for rclone copy --checksum and rclone check
boto3
Manifests, reports, verified markers, destination inspection and payload readback over the S3-compatible API
Backblaze B2
S3-compatible storage for batches, manifests, reports and verified markers
moto
Local S3 emulator for the offline test suite, used behind the link shaper

Core capabilities

What the project does out of the box, before you write any code of your own.

  • Checksum manifest per batch

    Hashes every source file (size, SHA-256, MD5) and writes a manifest to B2 before anything is copied, so a rerun can refuse source files that changed.

  • Rerunnable copy

    Runs rclone copy --checksum, so a rerun after an interruption uploads only what is missing and never duplicates a file.

  • Two independent checks

    Compares source and destination with rclone check, then compares the destination with the manifest through boto3, using the multipart MD5 from object metadata rather than the multipart ETag.

  • Transfer report and verified marker

    Writes a report listing every file, its verification state, attempts and retries, and writes the verified marker only after both checks pass. Source files are never moved or deleted.

  • Offline tests and a realistic demo

    make test runs against a local S3 emulator behind a link shaper with no B2 credentials. make demo runs the real flow on B2 with latency, a bandwidth cap and dropped connections, then reads one ingested payload back and compares its SHA-256.

Choose it for the right job

Far Region Bulk Ingest is a head start for a specific shape of project, not a supported, general-purpose product.

Use it when

  • Many capture sites push batches into one training corpus, each under its own site prefix.
  • Links are slow, far from the bucket's region or drop out, and transfers must survive reruns.
  • Downstream jobs need a manifest, a report and a marker as evidence of what arrived before they start.
  • Your team already uses rclone and wants to keep it as the transfer engine.

Choose another path when

  • You need continuous directory mirroring: rclone sync or b2 sync fit better, since ingest never deletes destination batch files.
  • You need to delete source data after upload, replicate across regions or migrate from another provider: these are out of scope.
  • You want transfer tuning or throughput numbers: the sample makes no speed claims.
Sample · unsupported

Project status and support

Open an issue on the GitHub repository; there is no SLA.