Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Release #2

Merged
merged 1 commit into from
Jan 11, 2025
Merged

Initial Release #2

merged 1 commit into from
Jan 11, 2025

Conversation

lawndoc
Copy link
Owner

@lawndoc lawndoc commented Jan 11, 2025

I found this repo while looking for a simple solution for backing up the volumes in my compose stacks. The original maintainers did some great work on this! Unfortunately, the project was abandoned, and some things have broken over time. I have returned this project to a working state and added some enhancements.

Updates and Fixes

  • Updated pip commands in Dockerfile because current Alpine python3 version no longer allows pip system installs
  • Updated Postgres client from the Alpine edge repo because the current Alpine Postgres client package doesn't support Postgres 17
  • Updated docker Python package used in rcb because original version now throws an error due to deprecated protocol handler when interacting with the docker socket
  • Updated restic base image version to the current release

Enhancements

  • Added --single-transaction flag to mysqldump to prevent inconsistent backups for live databases
  • MariaDB environment variables updated to MARIADB_USER and MARIADB_PASSWORD from MYSQL_* to match the supported variables for the official mariadb container image
  • If MYSQL_ROOT_PASSWORD or MARIADB_ROOT_PASSWORD are available, use that for backup instead of the regular user account.
  • Created image build and publish workflow to automatically publish the container image on ghcr.io on updates to master or tag push / release.
  • .env template file changed to .env.template and added .env to .gitignore to prevent accidental commits
  • Updated README to make examples clear and concise
  • Automated tests and release workflow with GitHub Actions

@lawndoc lawndoc merged commit 3106479 into main Jan 11, 2025
3 checks passed
@lawndoc lawndoc deleted the initial-release branch January 11, 2025 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant