Full-featured cPanel backup tool with SSH, S3, and Google Drive support. Includes WHM plugin with Tailwind/DaisyUI UI, multi-remote management, decoupled schedules, and account restore workflows. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
28 lines
1.8 KiB
Plaintext
28 lines
1.8 KiB
Plaintext
# gniza configuration
|
|
# Copy to /etc/gniza/gniza.conf and edit
|
|
#
|
|
# Remote destinations: /etc/gniza/remotes.d/<name>.conf
|
|
# Backup schedules: /etc/gniza/schedules.d/<name>.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="" # Email address for notifications (empty = disabled)
|
|
NOTIFY_ON="failure" # always, failure, never
|
|
|
|
# ── 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
|