Minor changes to backup files rotation.
* The .rotate_folder configurations also take care of handling .tar files. * Shortened retention days in export .rotate_folder configuration.
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
# This is a shell script excerpt for configuration purposes only.
|
||||
# Handle with care! Please don't put code here, only variables.
|
||||
|
||||
CLASSES_PATTERN="^([^.]*)\..*\.$HOSTNAME\.(dmp|sql\.gz|tgz|log)$"
|
||||
CLASSES_PATTERN="^([^.]*)\..*\.$HOSTNAME\.(dmp|sql\.gz|tgz|tar|log)$"
|
||||
DOIT="yes" # if empty the script makes a dry run
|
||||
# RETAIN_DAYS=7 # retains all files created within that many days
|
||||
# RETAIN_WEEKS=4 # retains one file per week/month,
|
||||
# RETAIN_MONTHS=12 # created within that many weeks/months
|
||||
|
||||
|
||||
Reference in New Issue
Block a user