Added
- Optional
KEEP_LOCAL_BACKUPenvironment variable to keep backup files locally after upload
Why this exists
This feature was added mainly for CLI and personal workflows (local machine, VPS, NAS).
I needed a way to keep a local copy after upload, so it’s implemented as an opt-in option
with a safe default. Sharing it in case others find it useful too 🙂
Behavior
- Default behavior is unchanged: local backup files are deleted after successful upload
- This remains safe for Railway and other PaaS platforms with ephemeral filesystems
- When
KEEP_LOCAL_BACKUP=trueis set, backups are preserved locally
Improvements
- CLI output updated to reflect local backup behavior
- Documentation updated for clarity
Compatibility
- No breaking changes
- Fully backward compatible with existing deployments