The reader owns a scheduled backup into BACKUP (Compose: BACKUP_PATH mounted at /backup, off when unset). A run pauses the scraper queue through its control API, waits (bounded) until no job is active, writes a verified tar.gz of DATA with db.json from memory and scraper/queue.json stored paused, excludes runtime/lock/pid/temp files, resumes only a queue it paused, then applies count- or day-based retention to its own archive names only. Schedule, retention, "Back up now" and last result live in Settings > Service health. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
55 lines
964 B
INI
55 lines
964 B
INI
# --- MangaCircus runtime data (never commit) ---
|
|
# user accounts (password hashes), sessions, progress, scan cache
|
|
/data/
|
|
# the manga library: demo content is generated by `node tools/make-dummy.js`, a real one is yours alone
|
|
/library/
|
|
# built-in backups (BACKUP_PATH default)
|
|
/backup/
|
|
|
|
# --- Node ---
|
|
node_modules/
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
.npm/
|
|
*.tgz
|
|
|
|
# --- secrets / local config ---
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
!.env.*.example
|
|
.secrets/
|
|
/ops/proxmox/environment.json
|
|
*.pem
|
|
*.key
|
|
|
|
# --- temp files, also those of tools writing into a library ---
|
|
*.tmp
|
|
*.log
|
|
.staging-*/
|
|
.old-*/
|
|
/scraper/.cache/
|
|
/scraper/*.manifest.json
|
|
/scraper/logs/
|
|
|
|
# --- Claude Code: keep the shared launch config, drop personal settings ---
|
|
.claude/settings.local.json
|
|
.claude/worktrees/
|
|
|
|
# --- OS ---
|
|
.DS_Store
|
|
Thumbs.db
|
|
desktop.ini
|
|
$RECYCLE.BIN/
|
|
|
|
# --- editors / IDEs ---
|
|
.vscode/*
|
|
!.vscode/launch.json
|
|
!.vscode/extensions.json
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|