Skip to content

feat(config): require opt-in for destructive rclone sync#17

Merged
jkleinne merged 7 commits intomainfrom
feat/destructive-sync-opt-in
Apr 20, 2026
Merged

feat(config): require opt-in for destructive rclone sync#17
jkleinne merged 7 commits intomainfrom
feat/destructive-sync-opt-in

Conversation

@jkleinne
Copy link
Copy Markdown
Owner

Summary

An rclone job with mode = "sync" and empty backup_path silently deleted remote files on the next run when a local file disappeared. Validation now rejects that combination unless the job sets allow_destructive = true, making the intent visible in source control.

@jkleinne jkleinne merged commit 82344cf into main Apr 20, 2026
2 checks passed
@jkleinne jkleinne deleted the feat/destructive-sync-opt-in branch April 20, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant