Skip to content

Releases: ZettaIO/restic-compose-backup

0.7.1

05 Jan 02:53
Compare
Choose a tag to compare
  • rcb now dumps and escapes env vars (for cron) to more reliably escape env var values

0.7.0

10 Nov 21:30
Compare
Choose a tag to compare
  • Support mysql 8
  • Use --no-tablespaces option with mysqldump

0.6.0

27 May 23:30
5c33ccf
Compare
Choose a tag to compare
  • Added INCLUDE_PROJECT_NAME env var to include project names in backup destination paths
  • Added EXCLUDE_BIND_MOUNTS env var to globally ignore all bind mounts

0.5.0

07 Mar 02:41
Compare
Choose a tag to compare

Experimental swarm mode support. SWARM_MODE can be enabled for containers in swarm stacks to be evaluated.

0.4.2

16 Dec 21:45
Compare
Choose a tag to compare
  • Environment variables DOCKER_HOST, DOCKER_TLS_VERIFY and DOCKER_CERT_PATH can now be used to configure how to talk to the docker service.
  • Volumes mounted in the backup service can now also be marked for backup
  • Fixed an issue with identifying the backup process container

0.4.1

09 Dec 05:28
Compare
Choose a tag to compare

Bugfixes

  • Ensure snaphshots are grouped by path when applying the storage policy during forget / purge

0.4.0

08 Dec 14:50
Compare
Choose a tag to compare

New Features

  • We now gather stale backup process containers and purge them before every bakcup. This is to avoid filling up unnecessary disk space over time.
  • Support for multiple backup containers in the same docker engine (in different projects)
  • Automatically detect if a repository is initialize and initialize if this is not the case
  • The crontab is now automatically generated and is configurable through env vars
  • We now check the health if the repository after every backup. An alert is sent if something is wrong.

Improvements

  • Alert when backup process is already running when a backup starts
  • Alert when the backup process doesn't find anything to back up
  • The stdin/out buffer size is now set to 64kb when doing backups from stdin

Bugfixes

  • Include stdout output from commands when exit code is not 0
  • Properly truncate discord embed fields so we don't exceed the filed size limit preventing alerts from being sent
  • Properly error log if a backup process already running when a backup starts

0.3.3

06 Dec 08:10
Compare
Choose a tag to compare

Bugfixes

  • Fixed an issue with getting the backup process container exit code

0.3.2

06 Dec 06:41
Compare
Choose a tag to compare

Additions

  • Added rcb version

Bugfixes

  • More robust container log streaming. The stream can be bytes or str.

0.3.1

06 Dec 04:52
Compare
Choose a tag to compare

Improvements

  • The status command now displays the repository name
  • rcb status now attempts to initialize the repo
  • Properly log exceptions with call stacks
  • Bumped docker-py to 4.1.x
  • Remove references to old tags

Bugfixes

  • Forget and prune was never properly called after each backup
  • Properly detect when forget or prune commands fails and alert the user
  • Ensure the backup container is stopped before deleting it
  • Detect and alert issues with running the backup container