Files
gniza4linux/etc/gniza.conf.example
shuki 09b7dd184e Replace all Target/Remote terminology with Source/Destination and add search to file browsers
- Rename all user-facing strings: Target→Source, Remote→Destination across TUI, docs, web dashboard, bash scripts, config examples, and README
- Add go-to-path search input to both FolderPicker and RemoteFolderPicker

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 04:31:35 +02:00

49 lines
1.1 KiB
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 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=""