Skip to content

bisync: respect --backup-dir #5685

Closed

Description

@ivandeex

Synopsis

bisync should support the --backup-dir flag similar to sync.

Prior discussions

#5164 (review) (ncw)

Will users be able to use something like --backup-dir or --suffix? I can see users wanting that to prevent data loss. Maybe --suffix works already and you could filter the backups out using the filtering? Perhaps this should be automatic.

#5164 (comment) (JWink3101)

Personally, I'd much rather see --backup-dir support out of the gate with that being the check. And again, it matches current rclone behavior.

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Activity

  1. added this to the v1.58 milestone on Oct 8, 2021
  2. self-assigned this
    on Oct 8, 2021
  3. modified the milestones: v1.58, v1.59 on Jan 14, 2022
  4. modified the milestones: v1.59, v1.60 on Feb 13, 2022
  5. modified the milestones: v1.60, Help Wanted on Dec 5, 2022
  6. acegene commented on Nov 11, 2023

    @acegene

    Behavior with rclone v1.64.2 seems to silently ignore the flag. Should it be changed to give a warning/error?

    Bumping as this feature is especially useful given the beta nature of bisync.

  7. nielash commented on Nov 11, 2023

    @nielash
    Contributor

    @acegene I have great news for you -- this will be fixed by #7410 (specifically 6109b14.) Any chance you'd like to beta test it? 😃

    The underlying issue was the same one as --track-renames -- deletes being handled in separate operations (not using sync). Technically, --backup-dir did work before if you were overwriting an existing file, but not if deleting (or renaming) a file. After #7410 it will work for everything, as one would expect.

  8. added a commit that references this issue on Nov 11, 2023
    cd28804
  9. removed this from the Help Wanted milestone on Nov 11, 2023
  10. 9 remaining items

  11. added a commit that references this issue on Jan 26, 2024
    0e5f121
  12. moved this to Done in bisyncon Aug 20, 2024
  13. added a commit that references this issue on Jul 20, 2026
    49b8343
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

  • Status
    Done

Relationships

None yet

Development

No branches or pull requests

Issue actions