Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,38 @@ OLLAMA_GPU_ENABLED=false # Set to true if you have NVIDIA GPU
GOTIFY_PASSWORD= # REQUIRED
NTFY_AUTH_ENABLED=true

# -----------------------------------------------------------------------------
# BACKUP CONFIGURATION (3-2-1 Strategy)
# -----------------------------------------------------------------------------
# Backup destination: local | s3 | b2 | sftp | r2
BACKUP_TARGET=local
BACKUP_DIR=/opt/homelab-backups
RETENTION_DAYS=7

# ntfy notifications for backup status
NTFY_HOST=http://ntfy
NTFY_TOPIC=homelab-backup

# S3 / MinIO / R2 (BACKUP_TARGET=s3 or r2)
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_ENDPOINT= # Omit for AWS S3. Use R2 endpoint for Cloudflare R2.
AWS_BUCKET=homelab-backups
AWS_REGION=us-east-1 # Use "auto" for Cloudflare R2

# Backblaze B2 (BACKUP_TARGET=b2)
B2_ACCOUNT_ID=
B2_ACCOUNT_KEY=
B2_BUCKET=homelab-backups

# SFTP (BACKUP_TARGET=sftp)
SFTP_HOST=
SFTP_PORT=22
SFTP_USER=
SFTP_PASSWORD=
SFTP_KEY= # Path to SSH private key (alternative to password)
SFTP_REMOTE_DIR=/backups

# -----------------------------------------------------------------------------
# NETWORK PROXY (optional — for CN users with local proxy)
# -----------------------------------------------------------------------------
Expand Down
Loading