# gniza — Main Configuration # Copy to ~/.config/gniza/gniza.conf (user) or /etc/gniza/gniza.conf (root) # Backup mode: full or incremental BACKUP_MODE="full" # Default bandwidth limit in KB/s (0 = unlimited) BWLIMIT=0 # Default retention: number of snapshots to keep per source RETENTION_COUNT=30 # Logging LOG_LEVEL="info" LOG_RETAIN=90 # Notifications NOTIFY_EMAIL="" NOTIFY_ON="failure" # SMTP Settings (leave SMTP_HOST empty to use system mail command) SMTP_HOST="" SMTP_PORT=587 SMTP_USER="" SMTP_PASSWORD="" SMTP_FROM="" SMTP_SECURITY="tls" # SSH defaults SSH_TIMEOUT=30 SSH_RETRIES=3 # Extra rsync options (careful: validated for safe characters) RSYNC_EXTRA_OPTS="" # Disk usage threshold (%). Backups abort if destination disk usage >= this value. # Set to 0 to disable the check. DISK_USAGE_THRESHOLD=95 # Work directory for temporary files (MySQL dumps, rclone configs, etc.) # Default: /usr/local/gniza/workdir (root) or ~/.local/state/gniza/workdir (user) #WORK_DIR="/usr/local/gniza/workdir" # Web dashboard (textual-serve) #WEB_PORT=2323 #WEB_HOST="0.0.0.0" #WEB_USER="admin" #WEB_API_KEY=""