AutoBk is a set of custom Python scripts built to provide automated and centralized backup to devices and equipment that doesn't ordinarily have this functionality, or only provides properietary solutions.
Any protocol or method that Python can do can be used, from SSH and SCPing pre-built files, to web scraping a form, to clicking a "Backup Now" button in a web interface.
It works based on a constantly running process on the backup server itself (srvc_autobk.py), ordinarily run as a systemd service to allow cleaner stop/start/restart.
This service runs in a cycle, with a configurable sleep duration that defaults to 60 seconds. There are three tasks that are completed during the cycle, how often each task is run is determined in the configuration:
- Maintenance: Deletes expired backups (
op_autobk_maintenance.py) (Default: 24h) - Scheduling: Schedules backup times based on device settings (
op_autobk_scheduling.py) (Default: 5m) - Backup: The actual functional process that calls a specific set of scripts to backup devices. (
op_autobk_backups.py) (Default: 15m)