From 1c829f009a210cb60892f31c1d817286acc64e98 Mon Sep 17 00:00:00 2001 From: KakiFilem Team Date: Tue, 3 Feb 2026 14:23:31 +0800 Subject: [PATCH] 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. --- .env.example | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.env.example b/.env.example index 1557907..b9a4a21 100644 --- a/.env.example +++ b/.env.example @@ -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