AutoBackupTool reads its configuration from a file namedDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Eraiyanbupeterfrancis/AutoBackupTool/llms.txt
Use this file to discover all available pages before exploring further.
backup.env in your project directory. This file is loaded automatically at startup using python-dotenv (load_dotenv("backup.env")). It controls the two settings required for the app to function: your encryption key and the path to your Google OAuth credentials.
backup.env.example
The repository includesbackup.env.example as a starting point:
Variable reference
ENCRYPTION_KEY
| Field | Value |
|---|---|
| Required | Yes |
| Type | String — Fernet key (32 URL-safe base64 bytes) |
gAAAAAB.... Paste the entire string as the value — do not add quotes.
CLIENT_SECRETS_FILE
| Field | Value |
|---|---|
| Required | Yes |
| Default | client_secrets.json |
| Type | String — file path (relative or absolute) |
backup_gui.py, or an absolute path.
See Connect AutoBackupTool to Google Drive for instructions on obtaining this file.
How to create backup.env
Paste the key into backup.env
Open
backup.env and replace YOUR_ENCRYPTION_KEY_HERE with the key you copied:Keep backup.env out of git
The README includes the following.gitignore entries that cover all sensitive files AutoBackupTool uses:
.gitignore file if they are not already present.
Next steps
Oncebackup.env is configured, you are ready to run your first backup.
Running backups
Learn how to select a folder, choose a schedule, and start backing up to Google Drive.