- CLI binary: bin/gniza -> bin/gniza4cp - Install path: /usr/local/gniza4cp/ - Config path: /etc/gniza4cp/ - Log path: /var/log/gniza4cp/ - WHM plugin: gniza4cp-whm/ - cPanel plugin: cpanel/gniza4cp/ - AdminBin: Gniza4cp::Restore - Perl modules: Gniza4cpWHM::*, Gniza4cpCPanel::* - DaisyUI theme: gniza4cp - All internal references, branding, paths updated - Git remote updated to gniza4cp repo
40 lines
2.6 KiB
Plaintext
40 lines
2.6 KiB
Plaintext
# gniza4cp configuration
|
|
# Copy to /etc/gniza4cp/gniza4cp.conf and edit
|
|
#
|
|
# Remote destinations: /etc/gniza4cp/remotes.d/<name>.conf
|
|
# Backup schedules: /etc/gniza4cp/schedules.d/<name>.conf
|
|
|
|
# ── Local Settings ─────────────────────────────────────────────
|
|
TEMP_DIR="/usr/local/gniza4cp/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/gniza4cp" # 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/gniza4cp.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
|