mirror of
https://github.com/tiredofit/docker-db-backup.git
synced 2025-12-21 21:33:28 +01:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
859ce5ffa3 | ||
|
|
4d1577e553 |
@@ -1,3 +1,9 @@
|
||||
## 1.20.1 2020-04-24 <dave at tiredofit dot ca>
|
||||
|
||||
### Changed
|
||||
- Fix Auto Cleanup routines when using `root` as username
|
||||
|
||||
|
||||
## 1.20.0 2020-04-22 <dave at tiredofit dot ca>
|
||||
|
||||
### Added
|
||||
|
||||
@@ -78,7 +78,7 @@ The following directories are used for configuration and can be mapped for persi
|
||||
| Directory | Description |
|
||||
|-----------|-------------|
|
||||
| `/backup` | Backups |
|
||||
| `/assets/custom-scripts | *Optional* Put custom scripts in this directory to execute after backup operations`
|
||||
| `/assets/custom-scripts` | *Optional* Put custom scripts in this directory to execute after backup operations
|
||||
|
||||
|
||||
## Environment Variables
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user