Files
ncue_backup/.env.example
dsyoon 3c9d9283bd Add daily backup scripts for PostgreSQL, MariaDB, and Gitea.
Enable scheduled backups of ncue.net databases and git.ncue.net repository mirrors via .env-driven shell scripts.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-26 17:02:53 +09:00

35 lines
654 B
Plaintext

## Database (PostgreSQL)
PG_DB_HOST=ncue.net
PG_DB_PORT=5432
PG_DB_NAME=ncue
PG_DB_USER=ncue
PG_DB_PASSWORD=your_pg_password
## Database (MariaDB)
MR_DB_HOST=ncue.net
MR_DB_PORT=3306
MR_DB_NAME=wordpress
MR_DB_USER=ncue
MR_DB_PASSWORD=your_mr_password
## Gitea
GIT_BASE_URL=https://git.ncue.net
GIT_USER=your_gitea_user
GIT_TOKEN=your_gitea_token
## Backup
BACKUP_DIR=/Users/dsyoon/workspace/backup/ncue
BACKUP_RETENTION_DAYS=30
## PostgreSQL backup options
PG_BACKUP_SCOPE=all
PG_BACKUP_GLOBALS=1
PG_BACKUP_SUPERUSER=postgres
PG_BACKUP_SUPERUSER_PASSWORD=
## MariaDB backup options
MR_BACKUP_SCOPE=all
## Gitea backup options
GITEA_REPO_LIMIT=100