This project is designed to periodically download a remote database file and keep backups for the last 7 days. It also includes a GUI to start and stop the download process.
- Downloads a remote database file every 4 hours.
- Keeps backups for the last 7 days.
- Deletes old backups automatically.
- Provides a GUI to start and stop the download process.
- Python 3.x
requestslibrarytkinterlibrary
- Clone the repository:
git clone https://github.com/yourusername/WebUI_BCK.git
- Navigate to the project directory:
cd WebUI_BCK - Install the required libraries:
pip install requests
- Run the main script:
python main.py
- Use the GUI to start and stop the download process.
- REMOTE_FILE_URL: URL of the remote file to be downloaded.
- BACKUP_DIR: Directory where backups will be stored.
- DOWNLOAD_INTERVAL: Interval between downloads (in seconds).
- KEEP_DAYS: Number of days to keep backups.
You can download the executable file from the GitHub Releases page.
This project is licensed under the MIT License.