2
0
Files
docker-skeleton/storage/backups/export/.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=1 # retains all files created within that many days
RETAIN_WEEKS=0 # retains one file per week/month,
RETAIN_MONTHS=0 # created within that many weeks/months