# Directory Backup Script A simple script that backs up a directory to another directory, and removes old backups when over a specified limit. This script is currently used to backup git.getagripgal.nl to several backup sites over samba. ## Setup ```bash # Setup a venv (Optional) python -m venv . source bin/activate # Install the dependencies. python -m pip install -p requirements.txt # Run the script (After setting up the .env file.) python main.py ``` ## Config The config is stored in the `.env` file. ```env SOURCE_DIR= # The source directory to backup. BACKUP_DIR= # The resulting directory the backups get copied to. MAX_BACKUPS= # The maximum amount of backups stored at a time. ```