AutoBackupTool runs on any system with Python 3.8 or higher and internet access. This page walks you through cloning the repository, setting up an isolated virtual environment, and installing all required packages — with platform-specific instructions for Windows, macOS, and Linux.Documentation 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.
Prerequisites
Before you install, confirm you have:- Python 3.8 or higher — check with
python --versionorpython3 --version - A Google account with Google Drive — required for OAuth authentication and backup storage
- Internet access — needed for the initial OAuth authorization and all Drive uploads
Installation
Create a virtual environment (optional)
Using a virtual environment keeps AutoBackupTool’s dependencies isolated from your system Python. This step is optional but recommended.Then activate the environment for your platform:Your terminal prompt will show
- Windows
- macOS
- Linux
(venv) when the environment is active.Package descriptions
AutoBackupTool depends on four third-party packages:| Package | Purpose |
|---|---|
pydrive2 | Google Drive API v2 wrapper — handles OAuth2 authentication and file upload/download |
cryptography | Provides cryptography.Fernet for symmetric authenticated encryption of backup archives |
schedule | In-process job scheduler for running daily and weekly backups without a system cron job |
python-dotenv | Reads backup.env at startup and exposes ENCRYPTION_KEY and CLIENT_SECRETS_FILE as environment variables |
Next steps
With dependencies installed, configure your Google Drive connection and encryption key:Google Drive setup
Create an OAuth2 client in Google Cloud Console and download
client_secrets.jsonEncryption setup
Generate a Fernet key and create your
backup.env configuration file