Refuse to clobber
Open
- Dominant language
- Rust
- Stars
- 3
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Two instances of bak can clobber each others backups. Since bak is explicitly intended to save data, users probably don't want this. So, bak should never clobber data. I suspect fixing this will probably involve forsaking `std::fs::rename` for something os-specific.
Ideally, bak should keep trying until it successfully renames a file.
Contributor guide
Assessment
This issue has not been assessed yet.