Sign inSign up

keyzox/borg-backup

By keyzox

•Updated 12 months ago

💾 A borg backup docker image with cron automation

Image
Databases & storage
0

2.0K

keyzox/borg-backup repository overview

icon

⁠borgBak-docker

A borg backup docker image with cron automation

⁠Compose example

services:
  backup:
    image: keyzox/borg-backup:latest
    environment:
      - CRON_INTERVAL=0 2 * * *
      - BORG_PASSPHRASE_FILE=/run/secrets/borg-passphrase
      - BORG_PRUNE_KEEP_DAILY=3
      - BORG_PRUNE_KEEP_WEEKLY=2
      - BORG_PRUNE_KEEP_MONTHLY=1
      - BORG_LOG_LEVEL=info
      - BORG_CHECK_LAST=3
      - BORG_CHECK_DATA=1
    volumes:
      - src:/source
      - backup:/backup
    secrets:
      - borg-passphrase
    restart: unless-stopped

volumes:
  src:
  backup:

secrets:
  borg-passphrase:
    file: ./borg-passphrase.txt

⁠Contributing

Feel free to contribute to this project but there is a few rule you need to follow in CONTRIBUTING.md⁠
On this repo KeyZox71/borgBak-docker⁠

⁠License

This project is licensed under the MIT license - see the LICENSE⁠

Tag summary

Content type

Image

Digest

sha256:e4e67b89b…

Size

23.3 MB

Last updated

12 months ago

docker pull keyzox/borg-backup