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
Enter fullscreen mode
Exit fullscreen mode
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.…