Container image for s3-backup-restore
151
Backs up a folder to an S3 bucket on a schedule and restores it, built from bloveless/docker-images on a distroless static base. Typical use: a sidecar or CronJob next to an application that keeps its state in a volume.
docker run --rm ghcr.io/tuxpeople/s3-backup-restore:latest -h
s3-backup-restore [options] backup (hourly|daily|weekly|monthly)
s3-backup-restore [options] restore
s3-backup-restore [options] cron # default command
Configuration is read from environment variables (e.g. S3_BUCKET, credentials, the folder to back up, RESTORE_FILE). See the upstream source for the full list.
s3-backup-restore/, cross-compiled for amd64/arm64static-debian13:nonroot, no shell, runs as UID 65532git-60f5b0c until it does, but the image is rebuilt with new base imagesgit-<sha>, latestNo Goss tests (no shell for dgoss). test.sh checks the help output and that cron refuses to start without configuration:
docker build --build-arg VERSION=$(./get-version.sh) -t s3-backup-restore:test .
./test.sh s3-backup-restore:test
Content type
Image
Digest
sha256:e3773d55b…
Size
4.6 MB
Last updated
10 days ago
docker pull tdeutsch/s3-backup-restore