kiorky / db_smart_backup

Another database(db) smart backup tool (mysql/postgresql/slapd/mongo/es/redis)
http://www.makina-corpus.com
Other
28 stars 7 forks source link

log retention error #11

Closed PeterGarlic closed 8 years ago

PeterGarlic commented 8 years ago

The scripts doen not honur the KEEP_LOGS configuration parameter and keeps only last 3 days of log files.

Tested with: mongodb Parameters: first test assigned KEEP_LOGS=20 and then second test with the var commented (to set default value KEEP_LOGS=60) without any difference. scripts launched as: /usr/bin/run_dbsmartbackups.sh