From cd683648d07a0b1e4cd3ae5691964c33a66abc4c Mon Sep 17 00:00:00 2001 From: "dave@tiredofit.ca" Date: Wed, 22 Nov 2023 15:40:38 -0800 Subject: [PATCH] Release 4.0.21 - See CHANGELOG.md --- CHANGELOG.md | 6 ++++++ install/assets/functions/10-db-backup | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3048e16..fa753d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 4.0.21 2023-11-22 + + ### Changed + - Fix for SQLite backups not being cleaned up properly due to a malformed base + + ## 4.0.20 2023-11-21 ### Changed diff --git a/install/assets/functions/10-db-backup b/install/assets/functions/10-db-backup index 19917e4..470f280 100644 --- a/install/assets/functions/10-db-backup +++ b/install/assets/functions/10-db-backup @@ -851,7 +851,7 @@ backup_sqlite3() { db=$(basename "${backup_job_db_host}") db="${db%.*}" backup_job_filename=sqlite3_${db}_${now}.sqlite3 - backup_job_filename_base=sqlite3_${db}.sqlite3 + backup_job_filename_base=sqlite3_${db} pre_dbbackup "${db}" write_log notice "Dumping sqlite3 database: '${backup_job_db_host}' ${compression_string}" if var_true "${DEBUG_BACKUP_SQLITE3}" ; then debug on; fi