Overview
AutoBackup is a desktop solution designed specifically for pharmacies and SMBs that need to secure critical databases without manual intervention. The application runs in the background and uses an intelligent “key” detection system (specific files on USB drives) to automatically identify the correct backup destination. It allows for daily or weekly scheduling, manages the rotation of old files to save space, and minimizes unobtrusively to the Windows system tray, ensuring that vital business data is always backed up.
Technical details
This project is built entirely in Python. It uses tkinter for the Graphical User Interface (GUI) and pystray for system tray integration. The core logic relies on the schedule library for task timing and threading to run backups without freezing the UI. For file management, it implements compression via zipfile and recursive drive search algorithms to locate the authorized storage device. The final code is obfuscated and protected using PyArmor, compiled into a native Windows executable with PyInstaller, and distributed via an installer generated with Inno Setup.