View Code? Open in Web Editor
NEW
RemoveOldBackups-Script to remove old iterative file sets per cronjob, identified by path and prefix
Python 94.26%
Dockerfile 5.74%
rob's Introduction
๐ญ I'm currently working as software developer and DevOps for digital projects within a public open science institute
๐ฑ Iโm currently learning k8s, GOlang and IoT gardening
๐ I like automation, bash and linux
โก Fun fact: "If your process has Excel, it's broken!"
rob's People
Watchers
rob's Issues
File: config.yml
- backups :
- one
- keep_files : 10
- keep_path : /tmp/rob-test-files
- keep_file_prefix : db-backup
- two
- keep_files : 5
- keep_path : /tmp/rob-test-files2
- keep_file_prefix : db-backuper
A common place to store these files would be cool.
So I can install the script in /usr/bin
and find the config on all systems in user-home (or app folder (to support current cronjobs)) and support multiple runs per user