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
I'm sorry if this is answered elsewhere but I couldn't find it in that case.
I want to replace my current Owncloud+Owncloud client (Linux)+FolderSync(Android) setup with Drive+Rclone+FolderSync. But there is one thing I can't figure out how to do with rclone — smart two-way deletion synchronization. Which means: if a file was present on both server (Drive) and local machine, and then was deleted on either of them, the file will be eventually removed on both regardless of which direction you run sync first. Same, if a file was added on either server or client, it will be uploaded to the other one.
Can rclone do that, and if doesn't is there a chance of such functionality in future?
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.
Reacted by happycherrycake, Eric, Luca Battarra, Jonas Schievink, supagu, Yoni Jah, Luke Abell, msravi, FedCz, Sebastian Johansson and 83 more
Reacted by thomas-zmo08179, Marco Molteni, Dmitry Kozlov, Dustin Falgout, Dani Hodovic, Felix Hungenberg, Pablo González, Aleksandrs Stier, Ivan Andreev, Teremshonok Anton and 2 more
However it could be done I think. Rclone would need to store a little bit of metadata - time of last sync. It could then use that for working out what to do in the delete files case.
I think a basic "2-way-sync" could be achieved with two commands. Execute "rclone sync -u " followed by "rclone sync -u ". Obviously doesn't work if both sides are changed, but what generic solution will?
Reacted by Jacob Chapman, Stanislav Eprikov, jD91mZM2, lpan and Andreas Taranetz
Nice :-) Will this work in star topology? eg.: multiple devices doing bidirectional sync with shared directory on the server?
I am looking for dropbox/googledrive replacement. So my data is available when offline and will resync later to ordinary SFTP server with no server side software.
@Harvie
This ticket is about BASIC 2-way sync.
It is closed. It will not handle advanced use cases.
We predicted further questions about applicability to other topologies.
Please post your question to the closest related ticket #5689
Thank you.
If you are careful about scheduling, yes you can sync more than two
targets. With rclonesync I used to sync both my home storage to Dropbox
and also/separately my work computer to the same Dropbox root location.
This allowed me to pass personal files back and forth.
Multi-target sync is not a native function of rclone bisync or rclonesync.
It is two separate operations. It will likely break if both syncs are
running at the same time. Schedule carefully. Probably best to set up a
wrapper script with some sort of lock file. Early on, rclonesync's lock
file did not track the path names so it worked nicely for blocking one sync
while the other was still running.
Hi there, what are the known backends that "support file modification time"? I was trying with mega.nz as it offers good amount of free storage and strong security. But after trying bisync I got the error:
Failed to bisync: modification time support is missing on path2
I'm wondering about free and good alternatives I can use. I liked also mega.nz as their application is very lightweight compared to something like Dropbox app that eats a lot of RAM. But on an old low spec Windows server I wanted to use rclone as the mega app does not work (requires extra stuff to be installed).
I guess that nothing can be done with mega, at least right now. Any ideas or recommended free backend compatible with bisync? Thanks!
Hi there, what are the known backends that "support file modification time"? I was trying with mega.nz as it offers good amount of free storage and strong security. But after trying bisync I got the error:
Failed to bisync: modification time support is missing on path2
I'm wondering about free and good alternatives I can use. I liked also mega.nz as their application is very lightweight compared to something like Dropbox app that eats a lot of RAM. But on an old low spec Windows server I wanted to use rclone as the mega app does not work (requires extra stuff to be installed).
I guess that nothing can be done with mega, at least right now. Any ideas or recommended free backend compatible with bisync? Thanks!
Thanks @Jwink3101 for your answer, and sorry for posting here the question that belongs to the forum –just landed here looking for the bisync error :)
Now that I see the link to the remote overview, I think that Google Drive will perfectly meet my requirements (supports ModTime R/W), just in case it helps someone else. Not 20GB but 15GB of free storage, still enough =)
Activity
ncw commentedon Sep 1, 2015
No rclone can't do that yet.
However it could be done I think. Rclone would need to store a little bit of metadata - time of last sync. It could then use that for working out what to do in the delete files case.
alexander-yakushev commentedon Sep 1, 2015
Thank you for the prompt response!
ncw commentedon Sep 2, 2015
I've made a note about this for the FAQ - I'll leave this ticket open for future developments!
FAQ entry about bidirectional sync - see #118
nigelhorne commentedon Sep 14, 2016
ncw commentedon Sep 14, 2016
None at the moment. All the primitives needed are there in rclone, it just needs a 2-way sync expert to fill in the gaps!
Technifocal commentedon Sep 14, 2016
[-]Correct two-way synchronization[/-][+]Two-way (bidirectional) synchronization[/+]bmlong137 commentedon Oct 3, 2016
I think a basic "2-way-sync" could be achieved with two commands. Execute "rclone sync -u " followed by "rclone sync -u ". Obviously doesn't work if both sides are changed, but what generic solution will?
allanlaal commentedon Oct 8, 2016
nu111 commentedon Mar 25, 2017
It would be great to have 2-way bi-directional sync!
This way rclone would be a great open-soruce alternative to odrive!
Maybe we could get inspired by the MEGAsync client https://github.com/meganz/MEGAsync
107 remaining items
bisync: implementation #5164
ivandeex commentedon Nov 1, 2021
Merged on master.
Beta released on https://beta.rclone.org
typxxi commentedon Nov 1, 2021
I guess it will become a present for chrismas or eastern cause I wanna avoid the risks of betas.
thx
Harvie commentedon Nov 2, 2021
Nice :-) Will this work in star topology? eg.: multiple devices doing bidirectional sync with shared directory on the server?
I am looking for dropbox/googledrive replacement. So my data is available when offline and will resync later to ordinary SFTP server with no server side software.
ivandeex commentedon Nov 2, 2021
@Harvie
This ticket is about BASIC 2-way sync.
It is closed. It will not handle advanced use cases.
We predicted further questions about applicability to other topologies.
Please post your question to the closest related ticket #5689
Thank you.
cjnaz commentedon Nov 2, 2021
gerardbosch commentedon Feb 17, 2023
Hi there, what are the known backends that "support file modification time"? I was trying with mega.nz as it offers good amount of free storage and strong security. But after trying
bisyncI got the error:I'm wondering about free and good alternatives I can use. I liked also mega.nz as their application is very lightweight compared to something like Dropbox app that eats a lot of RAM. But on an old low spec Windows server I wanted to use
rcloneas the mega app does not work (requires extra stuff to be installed).I guess that nothing can be done with mega, at least right now. Any ideas or recommended free backend compatible with
bisync? Thanks!Jwink3101 commentedon Feb 18, 2023
This really is a better question for the forum. But see the remote overview
Also, I am the author of syncrclone which can support remotes that don’t support modtime. It has pros and cons. See my comparison
gerardbosch commentedon Feb 18, 2023
Thanks @Jwink3101 for your answer, and sorry for posting here the question that belongs to the forum –just landed here looking for the bisync error :)
Now that I see the link to the remote overview, I think that Google Drive will perfectly meet my requirements (supports ModTime R/W), just in case it helps someone else. Not 20GB but 15GB of free storage, still enough =)
bisync: implementation rclone#5164