type: bunny uploads archives to a bunny.net Storage Zone through the bunny.net HTTP API. No external binaries required.
You need a Storage Zone with read and write API access. For signed direct download links — recommended for large archives — you also need a Pull Zone connected to the storage, plus its token authentication key.
Example
snapr.yaml
Options
Download behavior
By default snapr serves downloads by streaming bytes from the bunny.net Storage API through its own HTTP server. This works without any Pull Zone setup, but the Storage API has tight per-zone connection limits — bunny.net throttles aggressive parallel reads with429 Too Many Requests.
When both pullZoneHostname and pullZoneTokenAuthKey are set, snapr instead returns a signed Pull Zone URL and the browser fetches directly from the CDN edge. This is the recommended setup for large archives or busy installations:
snapr.yaml
defaultStorage) if full-archive streaming matters more than direct CDN delivery.
Retention and notes
- Retention deletes the oldest files under the job’s sub-path once more than
retention.lastbackup sets exist; see Storages → Retention. - The Pull Zone must point at the same Storage Zone you upload to; otherwise signed URLs return 404.
pullZoneHostnameaccepts both bare hostnames (my-zone.b-cdn.net) andhttps://...URLs — snapr strips the scheme.