From 656bca02cd1911299c7dc3a0973726eadeb4d728 Mon Sep 17 00:00:00 2001 From: Dave Conroy Date: Mon, 21 Mar 2022 09:44:05 -0700 Subject: [PATCH] Release 3.0.5 - See CHANGELOG.md --- CHANGELOG.md | 6 ++++++ README.md | 2 +- install/etc/services.available/10-db-backup/run | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e85694..d60554b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 3.0.5 2022-03-21 + + ### Changed + - Add more detail regarding manual modes + + ## 3.0.4 2022-03-21 ### Changed diff --git a/README.md b/README.md index 72db13a..5980c0a 100644 --- a/README.md +++ b/README.md @@ -197,7 +197,7 @@ docker exec -it (whatever your container name is) bash ### Manual Backups Manual Backups can be performed by entering the container and typing `backup-now` -- Recently there was a request to have the container work with Kukbernetes cron scheduling. This can theoretically be accomplished by setting the container `MODE=MANUAL` and then setting `MANUAL_RUN_FOREVER=FALSE` - You would also want to disable a few features from the upstream base images specifically `CONTAINER_ENABLE_SCHEDULING` and `CONTAINER_ENABLE_MONITORING`. This should allow the container to start, execute a backup and then exit cleanly. +- Recently there was a request to have the container work with Kukbernetes cron scheduling. This can theoretically be accomplished by setting the container `MODE=MANUAL` and then setting `MANUAL_RUN_FOREVER=FALSE` - You would also want to disable a few features from the upstream base images specifically `CONTAINER_ENABLE_SCHEDULING` and `CONTAINER_ENABLE_MONITORING`. This should allow the container to start, execute a backup by executing and then exit cleanly. An alternative way to running the script is to execute `/etc/services.available/10-db-backup/run`. ### Restoring Databases Entering in the container and executing `restore` will execute a menu based script to restore your backups. diff --git a/install/etc/services.available/10-db-backup/run b/install/etc/services.available/10-db-backup/run index 6d0e749..9b8308c 100755 --- a/install/etc/services.available/10-db-backup/run +++ b/install/etc/services.available/10-db-backup/run @@ -11,6 +11,7 @@ bootstrap_variables if [ "${MODE,,}" = "manual" ] ; then DB_DUMP_BEGIN=+0 manual=TRUE + silent s6-svc -d /var/run/legacy-services/10-db-backup fi case "${1,,}" in