Skip to content
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

Upload all changed files together every x minutes #287

Open
aero4 opened this issue May 9, 2018 · 6 comments
Open

Upload all changed files together every x minutes #287

aero4 opened this issue May 9, 2018 · 6 comments

Comments

@aero4
Copy link

aero4 commented May 9, 2018

Feature request

Is it possible to collect all file changes and uploading changed files together every x minutes (time based)?
The problem is that if I sync a programming-directory via the nextcloud client, it is uploaded everytime I compile or save something...
Further details to my issue see: https://help.nextcloud.com/t/is-there-a-possibility-to-add-a-delay-between-filechange-and-upload/31418

That feature would stress the cloud storage less and would save my internet volume...

@bpcurse
Copy link

bpcurse commented Aug 4, 2018

@aero4 Good point. Frequent small changes are truly a little disturbing.
But there could be use cases where a fast sync is necessary, so an option to customize the behaviour (like "min. sync interval = x seconds") might be a good idea.

@tomdereub
Copy link
Contributor

Yes, I too would like the possibility to configure this, and it would be more like "sync every 60 minutes". I work sometimes on big files (100-500 Mo), and I don't want it to be synchronised every time I save the file. For the moment, the only solution to avoid that is to manually pause synchronisation.

@nicolnt
Copy link

nicolnt commented Mar 10, 2022

Could this be on a per-file and a per-folder basis please?

It could still be relevant to let the rest sync normally when updated for safety reasons.
The current behavior (sync on file change) would stay unchanged, and the user would have to edit this for each file or directory he or she wants a bigger delay.

I also try to reduce demand on the server, but I edit some files and they are synced too often.
At the moment I manually pause synchronization and need to think of activating it again, it's far from being convenient.
Thanks :)

@tomdereub
Copy link
Contributor

Any news about this feature request ?
In my opinion, doing this on a per-folder basis would be quite complicated to integrate and to use.
But 2 things could be (I hope) quite simple to implement :

  • add a parameter in the parameter tab of nextcloud, with a delay between 2 sync : x minutes. By default 0, means realtime sync (actual behaviour).
  • when all syncs are suspended, add an option in the right-clic menu : sync all once. I mean : make a full sync and then stay suspended.
    It would be really helpful to lighten internet traffic and server load in big organizations, and to easily control traffic on limited connections.

@tomdereub
Copy link
Contributor

Maybe another interesting feature that's linked with these ones :

  • be able to sync just one folder once. Use case : I'm on a poor and/or limited connexion, and I need to sync one folder I'm working on. If I make a full sync, I can have sometimes 500 Mo to 5 Go, depending on colleagues that have worked on big files at the same time, but I just want to sync that folder with a few Mo of changes.
    It could be integrated in the right click menu :
    image
    If nextcloud client is "suspended", it synchronises just that folder.
    If nextcloud client is in continuous sync mode, it will sync first this folder and then continue it's full sync.

@OlafBr
Copy link

OlafBr commented Sep 1, 2023

I would also like to have this feature:

  • my banking program backup its db files when closing it - this takes a few seconds. But the nextcloud client immediately starts to sync the files - and then the backup fails.
  • or you get an email and drag-drop the attachment to a folder. Then I always rename the file to something like yyyy-mm-dd_Name.txt but sync already startet and the windows explorer does a refresh and the renaming fails.

This feature would be really very helpful...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants