FastSync has --delete but no --backup to save replaced/deleted files. rsyncs --backup-dir is a critical safety feature for destructive operations.
Location
src/server/server.c (receive path)
src/shared/file.c (to_disk, file_save_to_disk)
Suggested Fix
Add --backup and --backup-dir <path> flags. On the receiver, before overwriting an existing file, copy it to the backup directory preserving relative path. Requires Config changes and protocol extension.
Severity
medium
Category
feature
Sub-Agent
feature-scout (FS-3)
This issue was automatically generated by the issue-creator agent.
## Description
FastSync has `--delete` but no `--backup` to save replaced/deleted files. rsyncs `--backup-dir` is a critical safety feature for destructive operations.
## Location
- src/server/server.c (receive path)
- src/shared/file.c (to_disk, file_save_to_disk)
## Suggested Fix
Add `--backup` and `--backup-dir <path>` flags. On the receiver, before overwriting an existing file, copy it to the backup directory preserving relative path. Requires Config changes and protocol extension.
## Severity
medium
## Category
feature
## Sub-Agent
feature-scout (FS-3)
---
_This issue was automatically generated by the issue-creator agent._
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Description
FastSync has
--deletebut no--backupto save replaced/deleted files. rsyncs--backup-diris a critical safety feature for destructive operations.Location
Suggested Fix
Add
--backupand--backup-dir <path>flags. On the receiver, before overwriting an existing file, copy it to the backup directory preserving relative path. Requires Config changes and protocol extension.Severity
medium
Category
feature
Sub-Agent
feature-scout (FS-3)
This issue was automatically generated by the issue-creator agent.
Fixed in PR #148 — merged into main on 2026-07-29.