Default: /usr/local/gniza/workdir (root) or ~/.local/state/gniza/workdir (user). MySQL dumps and rclone temp configs now use WORK_DIR. Configurable via gniza.conf or TUI Settings screen. Created during install. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
39 lines
878 B
Plaintext
39 lines
878 B
Plaintext
# 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 target
|
|
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=""
|
|
|
|
# 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"
|