# gniza configuration # Copy to /etc/gniza/gniza.conf and edit # # Remote destinations: /etc/gniza/remotes.d/.conf # Backup schedules: /etc/gniza/schedules.d/.conf # ── Local Settings ───────────────────────────────────────────── TEMP_DIR="/usr/local/gniza/workdir" # Working directory for pkgacct output # ── Account Filtering ────────────────────────────────────────── INCLUDE_ACCOUNTS="" # Comma-separated list, empty = all accounts EXCLUDE_ACCOUNTS="nobody" # Comma-separated list of accounts to exclude # ── Logging ──────────────────────────────────────────────────── LOG_DIR="/var/log/gniza" # Log directory LOG_LEVEL="info" # debug, info, warn, error LOG_RETAIN=90 # Days to keep log files # ── Notifications ────────────────────────────────────────────── NOTIFY_EMAIL="" # Comma-separated email addresses (empty = disabled) NOTIFY_ON="failure" # always, failure, never # ── SMTP Settings (optional) ───────────────────────────────── SMTP_HOST="" # SMTP server hostname (empty = use system mail) SMTP_PORT=587 # SMTP port (587=TLS/STARTTLS, 465=SSL, 25=none) SMTP_USER="" # SMTP username SMTP_PASSWORD="" # SMTP password SMTP_FROM="" # From address (falls back to SMTP_USER) SMTP_SECURITY="tls" # tls (STARTTLS), ssl (implicit), none # ── Advanced ─────────────────────────────────────────────────── LOCK_FILE="/var/run/gniza.lock" SSH_TIMEOUT=30 # SSH connection timeout in seconds SSH_RETRIES=3 # Number of rsync retry attempts RSYNC_EXTRA_OPTS="" # Extra options to pass to rsync # ── User Restore (cPanel Plugin) ───────────────────────────── USER_RESTORE_REMOTES="all" # Remotes available for cPanel user self-service restore # "all" = all remotes, comma-separated names, empty = disabled