Skip to content

KeyZox71/borgBak-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

💾 A borg backup docker image with cron automation

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published