A backup orchestrator for your fleet of servers.
One binary on your machine pulls encrypted, verified backups from all of them over SSH.
bunker backs up your databases and files from every server in one run. It pulls them over SSH (read-only), then compresses, encrypts and checksums everything on your machine. It does not reinvent backup tools. It orchestrates them.
By default bunker pulls from your servers over SSH. Optionally, a server can run bunker as an agent and push to S3 by itself (dotted line): nothing logs in, and no machine of yours has to be on.
flowchart LR
subgraph fleet["your servers"]
V1["vps-01<br/>databases · files"]
V2["vps-02<br/>databases · files"]
V3["vps-03<br/>bunker agent (optional)<br/>systemd or Docker"]
end
subgraph you["your machine: bunker"]
O["orchestrator<br/>concurrency · timeouts · keepalive"]
P["zstd → age → sha256"]
end
V1 -->|ssh, read-only| O
V2 -->|ssh, read-only| O
O --> P --> S[("storage: disk or S3<br/>snapshots + manifest.json")]
V3 -.->|upload-only key| S
curl -LO https://github.com/kushal1o1/bunker/releases/latest/download/bunker-linux-amd64
chmod +x bunker-linux-amd64 && sudo mv bunker-linux-amd64 /usr/local/bin/bunkermacOS, Windows, checksums and go install: see
Getting Started.
# bunker.yaml
servers:
web-01:
host: 203.0.113.10
ssh: { user: bunker }
backup:
postgres: { dbs: [shop_db] }
paths: [/var/www/shop/media]bunker keygen # create the encryption key once
bunker backup run --all # back up every server
bunker backup list # see your snapshotsIPs in these docs (192.0.2.x, 198.51.100.x, 203.0.113.x) are reserved
documentation addresses (RFC 5737),
not real servers.
https://kushal1o1.github.io/bunker/
go build -o bunker ./cmd/bunker && go test ./...Issues and pull requests are welcome: see CONTRIBUTING.md. Security issues: see SECURITY.md.