2
0
Files
docker-skeleton/.recipes/redmine_mariadb/storage/backups/dumps/.rotate_folder.conf
Kovács Zoltán 89b86d0988 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.
2026-01-29 15:51:17 +01:00

9 lines
492 B
Plaintext

# 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|tar|tgz|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