Skip to content

sweeps through and removes backups for OPNsense router after some time. we don't need daily backups piling up on us

License

Notifications You must be signed in to change notification settings

mike-seagull/backup_creeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backup_creeper

Sweeps daily backups of OPNsense config files


Build Status

alt text

It only keeps 2 weeks of daily backups, 3 monthly backups, and 1 annual backup by default. It also converts all '%Y-%m-%d_%H:%M:%S' date strings to epoch time

python src/backup_creeper.py --backupdir ${FULLPATH_TO_BACKUP_DIRECTORY}

To compile it into a binary

pyinstaller --distpath bin --onefile src/backup_creeper.py

About

sweeps through and removes backups for OPNsense router after some time. we don't need daily backups piling up on us

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages