You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is your current rclone version (output from rclone version)?
not required
What problem are you are trying to solve?
Bisync should be considered experimental and the documentation to reflect that.
How do you think rclone should be changed to solve that?
https://rclone.org/commands/rclone_bisync/
--- should be labeled experimental
--- should have a scary warning, some suggestions are
"Warning, `rclone bisync is advanced command, that is considered experimental. Use at your own risk.
"Can delete files on BOTH the source and dest"
"Can result in the permanent loss of files on the source and dest"
"Important: Since this can cause data loss, test first with the --dry-run or the --interactive/-i flag."
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.
It is now maintained again, as I have volunteered to maintain it 😃
As for the original question, I agree Bisync should be considered "experimental", although I think "beta" is a better description for it. There are really two distinct risks here, and I think it's worth tracking them separately:
The risk that the code could have bugs -- both ones that we're aware of and not yet aware of, since it's relatively new (Nov 2021) and more real-world testing is needed
The risk inherent to using any kind of bi-directional sync tool, even one that is bug-free (ex. ability to delete files on both source and dest)
Risk 1 can be addressed over time as bugs get fixed and real-world use gives us more confidence about unknown unknowns. However, Risk 2 really can't ever be addressed, as it's just inherent to the command's nature. So, if Risk 2 justifies an "experimental" label, Bisync will stay experimental forever, no matter how mature and stable the code becomes over time.
Therefore, I would propose that we communicate Risk 1 by continuing to consider Bisync in "beta", and making that clearer in the docs (it's there, but too easy to miss), until such time that we feel comfortable calling it "stable". I would also propose updating this language accordingly:
fs.Logf(nil, "bisync is EXPERIMENTAL. Don't use in production!")
For Risk 2, I'd suggest we communicate it through big bold "Important" warnings, like other destructive commands such as purge or dedupe. I like calling Bisync an "advanced" command, as that will always be true. But "experimental" implies that the experiment will be over at some point, and this one won't be.
I also think that if we add the beta label, we should establish some clear criteria it will have to meet to be considered "out of beta". Here's the checklist I'd probably propose, but I'd love some feedback on this:
fix any major bugs discovered through real-world beta testing, over at least 2 release cycles
There are, of course, many other issues that should be addressed at some point, but I think we do have to draw the line somewhere, lest Bisync remain in beta forever. IMO, the beta label should be more about whether it's safe to use (as documented) in production, not whether it has lots of features.
Hey,
I agree with you regarding the "beta" and had no problem using rclone bisync for the last few months. It depends on how one person uses it and may have encountered a problem like 4 tasks from the task list above. I haven't encountered any of them yet. Everyone has their definition of what is the beta. The person who develops "beta" will decide whether it's in beta or experimental.
I used it for syncing data between 2 devices using the same app. The system I set up is risk-free, so I am not worried if something goes wrong. I noticed since the early usage of Bisync. The app cannot be opened at the same time on both devices. Otherwise, Bisync will create files with ..path1 and ..path2. I've researched to check if there is a better bisync software. It seems all have the same problem. You can say these software with bisync are Work In Progress.
I noticed since the early usage of Bisync. The app cannot be opened at the same time on both devices. Otherwise, Bisync will create files with ..path1 and ..path2. I've researched to check if there is a better bisync software. It seems all have the same problem.
This was also one of my biggest annoyances when I first started using bisync! I improved the behavior in v1.64 so that it now checks first if the edits on both sides are identical, and skips the ..path1 / ..path2 renaming if so. I'd encourage you to check it out, if you haven't already!
Bisync DOES still rename them if they are NOT identical, as that is a true sync-conflict. For my future knowledge: what would you prefer to happen in that scenario? (i.e. same file edited on both sides since the last sync with non-identical edits)
Bisync DOES still rename them if they are NOT identical, as that is a true sync-conflict. For my future knowledge: what would you prefer to happen in that scenario? (i.e. same file edited on both sides since the last sync with non-identical edits)
That's a difficult question. The data from the app are contents that will keep changing. For example, the app is a video player that can play videos. It holds a record of what I watched. On Device#1, I watched Video#1. On Device#2, I watched Video#2. What if I use the app on both devices on the same day (down to an hour)? The renaming happened. The contents in the file from both devices are not identical. I've seen some software forums discussing "merging". The method is not usable because it's not perfected. There are many reasons for that. The contents will be different in varying files. There are no rules or patterns.
I've come up with 3 different methods. The above is for "merging". The other scenes would be "Selection" and "PathX, then PathX". 👈 has no name for that yet.
@Xelbayria Thanks! Makes sense. One thought I had recently is a new optional --prefer flag to auto-resolve such conflicts, with values like newer | older | path1 | path2 (with newer and older requiring modtime support). The current behavior would remain the default, as it is the safest. There would maybe also need to be a setting to control what happens to the "loser" (whether it gets deleted or just renamed.)
I agree that "merging" would not be viable, for a number of reasons, but perhaps a --prefer option could be a good solution for you.
Activity
animosity022 commentedon Apr 5, 2022
Feel free to submit a PR as that gets reviewed and you can make updates as agreed upon.
Xelbayria commentedon Jun 21, 2023
I am aware that it's an experimental, so what's the state of
rclone bisync? is it in alpha or beta?asdffdsazqqq commentedon Jun 21, 2023
the state is
unmaintainedas perhttps://forum.rclone.org/t/bisync-bugs-and-feature-requests/37636/3
nielash commentedon Nov 10, 2023
It is now
maintainedagain, as I have volunteered to maintain it 😃As for the original question, I agree Bisync should be considered "experimental", although I think "beta" is a better description for it. There are really two distinct risks here, and I think it's worth tracking them separately:
Risk 1 can be addressed over time as bugs get fixed and real-world use gives us more confidence about unknown unknowns. However, Risk 2 really can't ever be addressed, as it's just inherent to the command's nature. So, if Risk 2 justifies an "experimental" label, Bisync will stay experimental forever, no matter how mature and stable the code becomes over time.
Therefore, I would propose that we communicate Risk 1 by continuing to consider Bisync in "beta", and making that clearer in the docs (it's there, but too easy to miss), until such time that we feel comfortable calling it "stable". I would also propose updating this language accordingly:
rclone/cmd/bisync/cmd.go
Line 152 in 156c372
For Risk 2, I'd suggest we communicate it through big bold "Important" warnings, like other destructive commands such as
purgeordedupe. I like calling Bisync an "advanced" command, as that will always be true. But "experimental" implies that the experiment will be over at some point, and this one won't be.I also think that if we add the
betalabel, we should establish some clear criteria it will have to meet to be considered "out of beta". Here's the checklist I'd probably propose, but I'd love some feedback on this:--checksumand--ignore-checksum#5683There are, of course, many other issues that should be addressed at some point, but I think we do have to draw the line somewhere, lest Bisync remain in
betaforever. IMO, thebetalabel should be more about whether it's safe to use (as documented) in production, not whether it has lots of features.Xelbayria commentedon Nov 10, 2023
Hey,
I agree with you regarding the "beta" and had no problem using
rclone bisyncfor the last few months. It depends on how one person uses it and may have encountered a problem like 4 tasks from the task list above. I haven't encountered any of them yet. Everyone has their definition of what is the beta. The person who develops "beta" will decide whether it's in beta or experimental.I used it for syncing data between 2 devices using the same app. The system I set up is risk-free, so I am not worried if something goes wrong. I noticed since the early usage of Bisync. The app cannot be opened at the same time on both devices. Otherwise, Bisync will create files with
..path1and..path2. I've researched to check if there is a better bisync software. It seems all have the same problem. You can say these software with bisync are Work In Progress.nielash commentedon Nov 10, 2023
@Xelbayria Thank you for the feedback!
This was also one of my biggest annoyances when I first started using bisync! I improved the behavior in
v1.64so that it now checks first if the edits on both sides are identical, and skips the..path1/..path2renaming if so. I'd encourage you to check it out, if you haven't already!Bisync DOES still rename them if they are NOT identical, as that is a true sync-conflict. For my future knowledge: what would you prefer to happen in that scenario? (i.e. same file edited on both sides since the last sync with non-identical edits)
Xelbayria commentedon Nov 10, 2023
That's a difficult question. The data from the app are contents that will keep changing. For example, the app is a video player that can play videos. It holds a record of what I watched. On Device#1, I watched Video#1. On Device#2, I watched Video#2. What if I use the app on both devices on the same day (down to an hour)? The renaming happened. The contents in the file from both devices are not identical. I've seen some software forums discussing "merging". The method is not usable because it's not perfected. There are many reasons for that. The contents will be different in varying files. There are no rules or patterns.
I've come up with 3 different methods. The above is for "merging". The other scenes would be "Selection" and "PathX, then PathX". 👈 has no name for that yet.
nielash commentedon Nov 10, 2023
@Xelbayria Thanks! Makes sense. One thought I had recently is a new optional
--preferflag to auto-resolve such conflicts, with values likenewer | older | path1 | path2(withnewerandolderrequiring modtime support). The current behavior would remain the default, as it is the safest. There would maybe also need to be a setting to control what happens to the "loser" (whether it gets deleted or just renamed.)I agree that "merging" would not be viable, for a number of reasons, but perhaps a
--preferoption could be a good solution for you.bisync: document beta status more clearly - fixes rclone#6082
bisync: document beta status more clearly - fixes rclone#6082
bisync: document beta status more clearly - fixes #6082
Merge branch 'master' into ia-wt-1168
bisync: document beta status more clearly - fixes rclone#6082