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.
encrypt.py is a minimal script that prints a new Fernet symmetric encryption key to stdout. Run it once before your first backup to generate the key you’ll store in backup.env.
Source
encrypt.py
Usage
ENCRYPTION_KEY in your backup.env:
backup.env
Key properties
- Generated by
Fernet.generate_key()from thecryptographylibrary - 32 cryptographically random bytes, URL-safe base64-encoded
- Each call produces a unique key — there is no way to regenerate the same key
- Used for both encryption (backup) and decryption (restore) — the same key must be present in
backup.envfor both operations
The key is printed as a plain string with no surrounding quotes. Copy it exactly — including any trailing characters — and paste it directly after
ENCRYPTION_KEY= in backup.env.