diff --git a/CHANGELOG.md b/CHANGELOG.md index 20a40b7..ae5f96e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.20.1 2020-04-24 + + ### Changed + - Fix Auto Cleanup routines when using `root` as username + + ## 1.20.0 2020-04-22 ### Added diff --git a/install/etc/s6/services/10-db-backup/run b/install/etc/s6/services/10-db-backup/run index 100e2e2..2b945be 100755 --- a/install/etc/s6/services/10-db-backup/run +++ b/install/etc/s6/services/10-db-backup/run @@ -380,7 +380,7 @@ print_info "Initialized on `date`" ### Automatic Cleanup if [[ -n "$DB_CLEANUP_TIME" ]]; then - find $DB_DUMP_TARGET/ -mmin +$DB_CLEANUP_TIME -iname "$DBTYPE_$DBNAME_*.*" -exec rm {} \; + find $DB_DUMP_TARGET/ -mmin +$DB_CLEANUP_TIME -iname "*" -exec rm {} \; fi ### Post Backup Custom Script Support