Repository navigation
v0.3.0
bunker v0.3.0
Snapshots can now go to S3, to local disk, or to both.
Storage: local, S3 or both
Where you set a location is where snapshots go:
storage:
dir: ~/backups # local
s3: # S3-compatible: AWS S3, Cloudflare R2, Backblaze B2, MinIO
endpoint: https://s3.eu-central-1.amazonaws.com
bucket: my-bunker
region: eu-central-1 # optional
prefix: prod/ # optional- dir only: local disk
- s3 only: streamed straight to S3, nothing on disk
- both: written locally first, then uploaded
New
- bunker storage sync [server...] uploads local snapshots that are not in S3 yet.
- bunker backup verify --remote verifies the S3 copy. It is streamed and never saved to disk.
- backup list shows LOCAL and S3 columns when both are set.
- retention apply deletes from both places.
- If an upload fails, the local snapshot is kept and bunker exits with code 1. Retry with bunker storage sync.
- manifest.json is written last on S3 too, so a half-uploaded snapshot never counts as complete.
Also since v0.2.0-dev
- Connect timeout, SSH keepalive, and a clean Ctrl-C during a transfer
- CI: gofmt, vet, build and go test -race on every PR
- CONTRIBUTING.md, SECURITY.md, issue and PR templates
- Install guide for the prebuilt binaries
Breaking
storage.type has been removed. Delete it from bunker.yaml, or config loading will fail with an unknown field error.
Full docs: https://kushal1o1.github.io/bunker
The "Also since" section exists because the previous stable release was v0.1.0, so the keepalive work in v0.2.0-dev is also new to anyone upgrading from stable.