release: v1.0.6 optional local backup retention

Add optional KEEP_LOCAL_BACKUP environment variable to control local backup retention.

Default behavior remains unchanged: backup files are deleted locally after
successful upload, keeping deployments safe on Railway and other PaaS
platforms with ephemeral storage.

When KEEP_LOCAL_BACKUP=true is set, backups are preserved locally, which is
useful for CLI usage, local machines, VPS, or NAS workflows.

Documentation and CLI output were updated for clarity.
No breaking changes.
This commit is contained in:
KakiFilem Team 2026-02-03 14:23:31 +08:00
parent 7730bf4b25
commit 1c829f009a
1 changed files with 3 additions and 0 deletions

View File

@ -17,3 +17,6 @@ FILENAME_PREFIX=backup
DUMP_FORMAT=dump
BACKUP_PASSWORD=
BACKUP_TIME=00:00
# Keep backup file locally after upload (not recommended on PaaS platforms)
KEEP_LOCAL_BACKUP=false