Skip to content

SamDu1998/WebUI_BCK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebUI_BCK

Project Description

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.

Features

  • 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.

Requirements

  • Python 3.x
  • requests library
  • tkinter library

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/WebUI_BCK.git
  2. Navigate to the project directory:
    cd WebUI_BCK
  3. Install the required libraries:
    pip install requests

Usage

  1. Run the main script:
    python main.py
  2. Use the GUI to start and stop the download process.

Configuration

  • 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.

Download Executable

You can download the executable file from the GitHub Releases page.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages