-
Notifications
You must be signed in to change notification settings - Fork 668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Selective sync (choose folders to sync) #100
Comments
I don't think this is such an advanced feature.
Please consider making an exclude list available in the UI, thanks. |
@nodiscc yes, selective sync is planned, but a different topic from this thread though. See https://github.com/owncloud/mirall/wiki/Desktop-client-next-steps »selective sync from server«. |
@dragotin @danimo @MTRichards we just had 2 duplicate issues reported again. What do you think about the importance of this? Version after the one with #102 (indicators in file manager) or something like that? |
Yes. Selective sync is important, after indicators we can slate that for 1.6? |
My group at MIT is looking to begin using owncloud, but selective sync (from the server to the client) is a dealbreaker for my boss. When do you guys expect this to be implemented? |
@wbinventor Selective sync is already possible, just not in combination with a "sync the rest to this directory" default. |
It doesn't seem to be clear how to use it through either the web interface or the desktop client (for Linux) - what am I missing? |
@wbinventor The Web Interface has no business with this. The Clients "problem" is that the setup wizard does not allow to unselect specific folders. Instead you need to remove the global folder sync, and add the individual folders you do want to sync individually. |
By Default, ownCloud syncs the ownCloud desktop directory with the entire server. What you can do is remove this in the settings menu. Go to the system tray icon, left click, select account. Select the syncing all files in your account and click remove. Then there is a button add folder, where you can select the desktop folder to sync with the server folder of your choice. |
Will 'selective sync' still allow my client to sync files up? Take the music collection for an example. I don't want all the music on my notebook, so I deselect it from syncing down from the server. However I want to make sure a freshly ripped CD will be synced up to the server. |
@foxbox it's either you sync the folder or you don't. What you could do is add the CD folder to sync up. or manually upload it in the web interface. |
@jancborchardt This is a little confusing.. In the first sentence you mention that it's all or nothing and in the next sentence you mention a 'sync up', which is exactly what I want. So if there will be in fact a 'sync-up' option then I'd be completely happy. And if I just was not able to see that this is already possible then I apologize and beg for a pointer ;) Thanks! |
@foxbow what I mean is that in the case you described it would not be possible to upload the album without extra manual work. |
@jancborchardt Okay, guess I'll probably check into c/rsync to build a service/demon doing something like that. Thanks for the clarification! |
I would like to bring this one back up. In the initial setup wizard, we need an "advanced" option that allows a user to not just sync the default folder, but instead to select the sub folder(s) to sync during the initial setup. While this is achievable today by removing the default sync folder setup, it needs to be easier. |
@MTRichards that’s exactly the plan. It would be in the same step as the »Choose local folder« is. Just a matter of prioritization when it’s done … |
But it should be just as easy to select and de-select the folders after they have already been synced. Similar to dropbox's interface under "select sync" in which it is a simple checkbox next to the folder. |
Yes, of course. |
Yes – but first things first. Selective sync covers most use cases. After that is implemented we can see what’s left and in which priority it makes sense to work on. |
Issue has been continued here to clarify specifically what this first step should be for selective sync: |
As a new users (as of yesterday) here's my take on this. The ownCloud folder shouldn't be equivalent to the root folder on the remote system, but instead should be a subfolder of root. Every other folders at the root represent an external folder. The owncloud folder should behave like it is now, being automatically synchronised, holding the various ownCloud files and folders like Notes, calendar, etc. It should act like a virtual basket, where people throw stuff to be shared or kept safe. Basically I'm saying you should do it like Ubuntu One. Conceptually I mean, their implementation meant nothing could be shared outside of $HOME. DropBox gets away with having its DropBox folder as root because they don't allow external folder sharing. This should at least solve the problem of having EVERYTHING downloaded when setting up a new client, while still downloading what the user feels like essential files (that he placed in the ownCloud subfolder). And it would give some leeway to implement selective sync for external folders. |
We had that in the past and it was just confusing and too complicated. Most people simply want to sync everything. Dropbox doesn’t »get away« with it, it’s just makes for a dead simple mental model and makes it easy to understand what is synced. Selective sync is coming in the next release so that’s that. |
And yet that's exactly what confused me in the first place. I subscribed to an owncloud provider and set up my client. the provider kindly populated the root with some sample files and folders to get me going. After having set up the client, and automatically created and downloaded the ownCloud folder, I tried to synchronise an external folder. Now this part isn't quite clear and I still don't really understand why it needed an Alias since it's identified with a local path and a remote folder. But I digress. The problem was that I could not finish the process as my ownCloud folder was active! I had to delete the connection of the ownCloud folder for some reason before I could upload my external folder. Then when I tried re-adding the ownCloud folder, it downloaded everything, including the folder I just uploaded, essentially duplicating all my files inside the ownCloud folder! With the ownCloud local folder replicating root, it just means every time I set up a new client I have to manually undo what was done for me by the installation, ie removing the synchronisation and said folder, and do every external folder, forgetting about ever having an ownCloud folder where I just put stuff. I actually had to create a special folder to do just that. it also means that Notes (and whatever else ownCloud file there could be) is now an external folder for me. Why I'm saying DropBox is getting away with it is because as soon as you create an external folder synchronisation, you can kiss your Client folder goodbye. To me it's exactly why Dropbox never got to have external folder synchronisation, and why Ubuntu One had it from the get go. Having an ownCloud folder not as root means it's visually obvious what folders are meant to be external and what is ownCloud stuff. Root just contains folders. Every folder is an external folder. ownCloud folder behaves just like an external folder, except it's set up differently upon client installation. People wanting to just sync everything, or make it behave like DropBox can still do it, by using the ownCloud folder. The way the client install is done facilitates this use. [edit] And I'm really sorry for the wall of text. |
@jarreboum I assume by »external folder« you mean a folder on your computer which is not in the »ownCloud« folder. In the next release there will be a button in the setup wizard saying »skip folder setup«. This doesn’t set up the initial connection of ownCloud-folder to server. Then you can proceed adding your own custom connections. |
It's pretty frustrating that every time I install the ownCloud client on a new computer, I have to go through the installation wizard, then pause syncing, delete the "ownCloud" entry, go into that folder/directory on my local system, delete all the erroneously synced folders, and then go through the setup process. I think the solution to this is simple. Provide an "Advanced" checkbox on installation (default unchecked), and when that's enabled, the only difference we'd need from the "normal" installation would be an additional checkbox (default selected) that says "Add default (root -> ownCloud) sync" That's it. Easy-peasy! I might even try to take apart the installer and submit a patch, but that may be a bit beyond my abilities. |
@Overand I think that issue with "pause syncing" was fixed in the 1.7.0 beta, with a similar solution like you suggested. |
@Overand yes, 1.7 will allow for a custom folder setup (and/or choosing specific subfolders for selective sync). |
If I deploy owncloud on OPENSHIFT(1 GB free space) & add Dropbox, does entire Dropbox data gets synced? Do I able to use selective sync for Dropbox folders (My Dropbox has 50 GB)? I don't want to sync my entire dropbox & I don't want to create specific App folder. |
Hey, If I put my subdirectories in the root directory, it's working fine. But that destroys the directory structure. Thanks for this awesome feature! |
@Overand , Yes, I agree: as an admin, doing a wide deployment, I need
Is there a separate issue for #2? It's a real problem when I add global external storage of several TB of builds, docs, etc., then everybody's devices start automatically syncing this down and filling up their client devices. |
A couple of points on selective sync:
|
@Lbryson-lifesize and @jonesints you may be interested to look at #3148 Doesn't solve the large file sync issue, but gives a threshold for new folders. |
Thanks for the reference @MTRichards, pretty excited it's already being developed! |
@jonesints that would be great. I have to be honest, I am not entirely sure how that would work across the board, so would be good to have a conversation about it. (in a new user story:)) |
This doesn't work for me on the v2.0.0 build 5423, I've selected one folder but all files from my server are downloading... |
Note that when you select a particular folder you also get the files in the parent folder/s synced. There is discussion about that elsewhere as to why that is a "necessary evil". |
ok, thats weird, that's very weird, and useless |
like @jonesints said, if I want to sync a subfolder (say, /A/B), I may not want to sync files in A that are not in a folder without this option, I am forced to sync >50gb of files that are in /A but are not in a folder, just because I want to syncronize /A/B. |
As a user, I want to be able to choose which folders from the ownCloud server I want to sync to my device. This is useful especially for netbooks with small hard drives or when you have a slow connection.
The text was updated successfully, but these errors were encountered: