Skip to content

Disable synchronisation for certain directories #7909

Closed

Description

@RobinMcCorkell

Would it be possible to disable synchronisation on certain directories within the user's filesystem, but still allow them to be accessed through the web interface? Failing a general solution, is it possible to disable synchronisation for certain mounted shares?

For example, a user may want to mount several different shares for access through the web interface, but only wants their home share to be synchronised with any clients. This is useful in cases where a large multi-user share is available, and the user wants to be able to manage files in it, but doesn't want to pull down GBs of data, most of which may be useless to them.

Activity

  1. PVince81 commented on Mar 27, 2014

    @PVince81
    Contributor

    See selective sync feature in the client: owncloud/client#100

    Not sure if this should be implemented server-side.

  2. RobinMcCorkell commented on Mar 27, 2014

    @RobinMcCorkell
    ContributorAuthor

    @PVince81 A server side solution would greatly aid in getting new users up and running with ownCloud, since the administrator can configure certain shares to be (by default?) not synched, such as the large multi-user shares that I mentioned in the OP. Although a way to get default settings down to the clients would be a good replacement, when combined with the selective sync feature.

  3. mmattel commented on Mar 27, 2014

    @mmattel
    Contributor

    I made the same request, see my details and analysis

    Feature Request: ability to exclude external storage mounts from being synced by mirall
    #7234

  4. jancborchardt commented on Mar 31, 2014

    @jancborchardt
    Contributor

    It seems this is a duplicate of owncloud/client#100, or would better be solved by implementing what is described there. What do you think?

  5. PVince81 commented on Mar 31, 2014

    @PVince81
    Contributor

    I'll at least close this here as duplicate of #7234

  6. PVince81 commented on Mar 31, 2014

    @PVince81
    Contributor

    Hmmm, #7234 is to exclude external storage mounts but this one here is more generic.
    I'll reopen until we clear this out.

  7. mmattel commented on Mar 31, 2014

    @mmattel
    Contributor

    We have to differenciate two points of view.

    • the sync client (user view)
    • the oC instance (administrator view)

    Those are two totally different things we should not mix up.
    I would never hand over a admin task to the user. That would be a huge security break.
    There are a lot of reasons described in #7234 why we should do this differenciations.
    (BTW: this description is not limited to mount points...)

    Even I have not analyzed the mirall code how it communicates with oC I expect following:

    Mirall queries: give me a list of folders to disdplay for sync-selection. As mount points are root folders in oC, for mirall everything looks the same. The answer of oC is just a list of folders

    What mirall can not see will not be able to be synced. This is the admin security we need. Nothing to be changed on the mirall side.

    We need to think about how we can build this item list based on rules which is then transferred to mirall.

    Starting with desabling a mountpoint ist just the first step. There is no difference from the list creation if this is a mount point or a subfolder ect. The only question we have to consider is how we create the user interface on oC to enable/disable items and store the result. Could be a mount point at the first step but expanded to (sub) folders and/or users or whatever we think of in later steps. Nothing lost if we proceed like that.

  8. jancborchardt commented on Aug 19, 2014

    @jancborchardt
    Contributor

    Closing because this is an issue with the client (which is going to be fixed soon) and a duplicate of owncloud/client#1766

  9. mmattel commented on Aug 21, 2014

    @mmattel
    Contributor

    @jancborchardt as I see this, this is not a duplicate of owncloud/client#1766 and therefor should not be closed as this is complementary to 1766. 1766 is only client side driven. But there MUST be a server side component to disable from the admin side certain directories / mount points generally. Giving an example: are you sure you want to handover folders/mount points to be synced to a client when you have a photo store multi TB in size?? This can not be done from mirall only, there must be a server component. Please read my comment above.

  10. 23 remaining items

  11. marvelloard commented on Oct 30, 2015

    @marvelloard

    This is exactly what I'm looking for. I'd like (as admin user) be able to add a local/samba/... share to a bunch of users and exclude it from client sync (but still show it in the webinterface of course).

  12. mgbowman commented on Feb 12, 2016

    @mgbowman

    Toss another vote for this feature!

    I just attached a samba share as external storage to my OC instance and realized that all the clients will try and synchronize it. The problem is the share contains well over 500GB of photos and no client workstation or laptop has that amount of space available. Not to mention, if someone were to setup the OC client on their own machine (at home for example), it would start sync'ing as well. It would be nice if I could control this on the server side and just make the external storage available via the web UI and mobile apps.

  13. marvelloard commented on Feb 16, 2016

    @marvelloard

    Same here, photos, videos, audio material, software. This shouldn't be synchronised but accessible via the web interface. Urgently needed!

  14. MorrisJobke commented on Feb 16, 2016

    @MorrisJobke
    Contributor

    Same here, photos, videos, audio material, software. This shouldn't be synchronised but accessible via the web interface. Urgently needed!

    The current client doesn't sync folder bigger than 500MB by default. You need to actively enable the sync for those folders.

  15. marvelloard commented on Feb 16, 2016

    @marvelloard

    Yeah, that was my first thought too. But in those shares added are folders smaller than 500MB, and those will be synced automatically.
    Also, in our usage cases you would like to be able to exclude certain kind of folders regardless the size.

  16. PVince81 commented on Oct 10, 2016

    @PVince81
    Contributor

    Add webdav property to tell sync client to not sync an entry: #26311

  17. mkormendy commented on Feb 6, 2019

    @mkormendy

    PING! This is still a much needed feature.

  18. jfarjona commented on Apr 2, 2021

    @jfarjona

    My vote for this feature as well. In my case I want to avoid users to sync a few folders that have sensitive information. I don't want this to be stored by default in their computers (it is an unnecessary exposure). I have no problem that they download the file(s) they need by hand from the web interface, in which case they are aware that these files are on their computers. Would be great to have this feature.

  19. micbar commented on Sep 16, 2021

    @micbar
    Contributor

    We have the "decline/accept shares" feature.
    We also have some redundancy with the new Virtual Files Feature in the desktop client.
    In ownCloud infinite scale we will have also spaces to treat large "data buckets" as optional sync targets.

  20. mmattel commented on Sep 20, 2021

    @mmattel
    Contributor

    @micbar this is not about client, but server settings...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions