tarsnap + tarsnapper in a 100MB Alpine container
391
This container lets you run Tarsnapper on top of tarsnap. It uses configuration files for tarsnap and tarsnapper, mounted inside the container.
make only, since make expires old backups as well.tarsnap --fsck when statring the container vs with every backup (it costs money to run since it transfers data from tarsnap)By tarsnapper version: 0.4, latest
docker run \
-v ./tarsnap.key:/root/tarsnap.key:ro \
-v ./tarsnap.conf:/etc/tarsnap.conf:ro \
-v ./tarsnapper.conf:/etc/tarsnapper.conf:ro \
-v /path/to/backup:/backup:ro \
-v tarnsap_cache:/usr/local/tarsnap-cache \
-e "BACKUP_PERIODICITY=* 3 * * *" \
coaxial/tarsnapper:0.4
If not set, BACKUP_PERIODICITY defaults to * * * * 7 which translates to
making a backup weekly on Sundays. Uses the crontab format.
Define your jobs (cf. tarsnapper
docs) in a
configuration file mounted at /etc/tarsnapper.conf and you're off to the
races.
PRs welcome, fork the repo and hack away.
MIT (c) Coaxial 2018
Content type
Image
Digest
Size
33.6 MB
Last updated
over 8 years ago
docker pull coaxial/tarsnapper:0.4