Syncing .data folders Between Multiple Devices via Cloud Drive & symlinks
-
- KVRAF
- 2296 posts since 23 May, 2012 from London
To u-he team and KVRers a like, is there any good reason why you would advise against me syncing .data e.g. Hive.data folders between my MacBook Air and Windows PC via symlinks and pCloud (cloud drive similar to Dropbox)? I'm using the laptop more and more for writing and it would be very convenient to be able to sync all of my presets between it and my main studio PC.
Thanks in advance!
Thanks in advance!
Always Read the Manual!
-
- KVRian
- 814 posts since 18 May, 2007 from Berlin
From our FAQ section, hopefully that explains things a bit:
https://u-he.com/support/faq.html#how-to:cloud-sync
https://u-he.com/support/faq.html#how-to:cloud-sync
-
- KVRian
- 924 posts since 13 Jul, 2006
Good to know, but I actually already sync my u-he data folder with OneDrive. At times, it confuses OneDrive a bit, but as long as I'm not using my two machines at the same time it seems to work well enough. But yeah, if you do that you also need to live and deal with the potential problems.
But generally, with u-he it works much better than with Arturia. There I gave up on it, caused just too many problems.
But generally, with u-he it works much better than with Arturia. There I gave up on it, caused just too many problems.
Find my (music) related software projects here: github.com/Fannon
-
- KVRAF
- Topic Starter
- 2296 posts since 23 May, 2012 from London
Excellent, thanks Viktor!Viktor [TUC] wrote: Tue Jan 03, 2023 7:15 pm From our FAQ section, hopefully that explains things a bit:
https://u-he.com/support/faq.html#how-to:cloud-sync
Always Read the Manual!
-
- KVRist
- 67 posts since 13 Apr, 2014
I'm going to try this. I think the convenience outweighs the risks.Fannon wrote: Tue Jan 03, 2023 9:25 pm Good to know, but I actually already sync my u-he data folder with OneDrive. At times, it confuses OneDrive a bit, but as long as I'm not using my two machines at the same time it seems to work well enough. But yeah, if you do that you also need to live and deal with the potential problems.
But generally, with u-he it works much better than with Arturia. There I gave up on it, caused just too many problems.
Not sure if I'm going to sync the whole .data folders though.
-
- KVRian
- 924 posts since 13 Jul, 2006
Same thought here. At first glance, I didn't see any problematic files in the u-he data folders, except "PresetDatabase" folders. Those contain binary sqlite databases and temp / lock files. But even you get a conflict there, you can just delete them and the plugins will re-create them. There's a (bit cumbersome) way to teach OneDrive to ignore certain files - but I was lazy to set it up and just put everything u-he into it.lokio wrote: Wed Jan 04, 2023 11:58 amI'm going to try this. I think the convenience outweighs the risks.Fannon wrote: Tue Jan 03, 2023 9:25 pm Good to know, but I actually already sync my u-he data folder with OneDrive. At times, it confuses OneDrive a bit, but as long as I'm not using my two machines at the same time it seems to work well enough. But yeah, if you do that you also need to live and deal with the potential problems.
But generally, with u-he it works much better than with Arturia. There I gave up on it, caused just too many problems.
Not sure if I'm going to sync the whole .data folders though.
The nice thing is that u-he plugins are very economic and efficient with the preset files and other data files.
Find my (music) related software projects here: github.com/Fannon
-
tasmaniandevil tasmaniandevil https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=62450
- KVRAF
- 2171 posts since 22 Mar, 2005 from a planet called u-he
You can delete the database if it gets corrupted by the cloud syncing process (and yes, this really can happen).Fannon wrote: Wed Jan 04, 2023 12:50 pm Same thought here. At first glance, I didn't see any problematic files in the u-he data folders, except "PresetDatabase" folders. Those contain binary sqlite databases and temp / lock files. But even you get a conflict there, you can just delete them and the plugins will re-create them.
But please be aware that all the favourite markings are stored in the database, and you'll lose those if you delete the database.
Unless you back up the favourites. You can do this by Shift-dragging the favourites smart folder out of the plugin onto your desktop.
That QA guy from planet u-he.
-
- KVRian
- 924 posts since 13 Jul, 2006
Thanks @tasmaniandevil for pointing this out - that's indeed good to know.tasmaniandevil wrote: Wed Jan 04, 2023 1:04 pm But please be aware that all the favourite markings are stored in the database, and you'll lose those if you delete the database.
Unless you back up the favourites. You can do this by Shift-dragging the favourites smart folder out of the plugin onto your desktop.
It's probably not one of your priorities, just a thought / suggestion.
If you 1) also store the favorites assignment in plain text (maybe even as many individual files - one per preset?) and 2) move the database to a different folder than all the other text based data / presets - then syncing via OneDrive / DropBox would become much less error prone. Maybe with some additional checks from your side if conflicts have been created, you could make this a semi-official feature. It feels like you're already half-way there from the current state.
Find my (music) related software projects here: github.com/Fannon
-
- KVRAF
- Topic Starter
- 2296 posts since 23 May, 2012 from London
So I'm pretty well convinced that cloud syncing the .data folders between systems is not a sensible solution, however, I've thought of an alternative and would appreciate your comments on its viability. Here goes:tasmaniandevil wrote: Wed Jan 04, 2023 1:04 pmYou can delete the database if it gets corrupted by the cloud syncing process (and yes, this really can happen).Fannon wrote: Wed Jan 04, 2023 12:50 pm Same thought here. At first glance, I didn't see any problematic files in the u-he data folders, except "PresetDatabase" folders. Those contain binary sqlite databases and temp / lock files. But even you get a conflict there, you can just delete them and the plugins will re-create them.
But please be aware that all the favourite markings are stored in the database, and you'll lose those if you delete the database.
Unless you back up the favourites. You can do this by Shift-dragging the favourites smart folder out of the plugin onto your desktop.
Cloud drive has a master u-he preset directory e.g. u-he Patch Cloud, with sub folders for each product e.g. Hive Cloud, Zebra Cloud and so on. I then use symlinks to point these sub folders to a corresponding sub folder within each of the UserPresets folders, found within the .data folder for each product.
I should mention that I use my machines exclusively i.e. I don't have my desktop and MacBook running simultaneously, so generally speaking I'm at a low risk of corruption from locked files etc.
Always Read the Manual!
-
tasmaniandevil tasmaniandevil https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=62450
- KVRAF
- 2171 posts since 22 Mar, 2005 from a planet called u-he
Favourites had actually been stored in a .txt file before we updated to our current preset browser system some years ago. I don't see us going back to the old text file version, sorry.Fannon wrote: Wed Jan 04, 2023 2:36 pm If you 1) also store the favorites assignment in plain text (maybe even as many individual files - one per preset?)
That QA guy from planet u-he.
-
tasmaniandevil tasmaniandevil https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=62450
- KVRAF
- 2171 posts since 22 Mar, 2005 from a planet called u-he
The problem is not so much the user presets folder, the bigger problem is the preset database.PieBerger wrote: Thu Jan 05, 2023 12:34 pm So I'm pretty well convinced that cloud syncing the .data folders between systems is not a sensible solution, however, I've thought of an alternative and would appreciate your comments on its viability.
If your cloud service is syncing or locking files at the same time the plugin tries to access them, there might be problems. The database could get corrupted.
If you absolutely must use cloud syncing, we recommend to disable all cloud syncing features as long as you are working on music projects and have your DAW opened. Only reactivate your cloud syncing service once the DAW has been quit.
That QA guy from planet u-he.
-
- KVRAF
- Topic Starter
- 2296 posts since 23 May, 2012 from London
Thanks for the explanation. I think I understand all of the risks now and can make an informed decision about what to do (or not do) going forward.tasmaniandevil wrote: Thu Jan 05, 2023 2:34 pmThe problem is not so much the user presets folder, the bigger problem is the preset database.PieBerger wrote: Thu Jan 05, 2023 12:34 pm So I'm pretty well convinced that cloud syncing the .data folders between systems is not a sensible solution, however, I've thought of an alternative and would appreciate your comments on its viability.
If your cloud service is syncing or locking files at the same time the plugin tries to access them, there might be problems. The database could get corrupted.
If you absolutely must use cloud syncing, we recommend to disable all cloud syncing features as long as you are working on music projects and have your DAW opened. Only reactivate your cloud syncing service once the DAW has been quit.
Always Read the Manual!
-
- KVRian
- 924 posts since 13 Jul, 2006
Yeah I can understand. However, I'm not arguing that the .txt files should replace the database. It totally makes sense that you have introduced it. What I had in mind here was just to additinally write those .txt files as a backup from which the database can restore itself or resolve conflicts from.tasmaniandevil wrote: Thu Jan 05, 2023 2:32 pmFavourites had actually been stored in a .txt file before we updated to our current preset browser system some years ago. I don't see us going back to the old text file version, sorry.Fannon wrote: Wed Jan 04, 2023 2:36 pm If you 1) also store the favorites assignment in plain text (maybe even as many individual files - one per preset?)
Find my (music) related software projects here: github.com/Fannon
-
tasmaniandevil tasmaniandevil https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=62450
- KVRAF
- 2171 posts since 22 Mar, 2005 from a planet called u-he
We introduced the import/export favourites function as a backup.
It's a manual backup though, something the user needs to actively do.
Maybe we should think about doing this automatically from time to time.
It's a manual backup though, something the user needs to actively do.
Maybe we should think about doing this automatically from time to time.
That QA guy from planet u-he.
-
- KVRian
- 924 posts since 13 Jul, 2006
Thanks, that would already be very helpful and give a bit of safety net!
Btw. just in general: I really love how you at u-he did the preset browser and the whole organization of presets. I'm not sure I know any other plugin which has such a powerful preset browser.
Btw. with OneDrive, it's correctly detecting that the DB files are in active use and it's not trying to sync it while the u-he plugin is running. However, I still did run into situations where OneDrive wasn't entirely sure and duplicated the DB file suffixed with the machine name. But so far, OneDrive did not break or corrupt any DB files.
Btw. just in general: I really love how you at u-he did the preset browser and the whole organization of presets. I'm not sure I know any other plugin which has such a powerful preset browser.
Btw. with OneDrive, it's correctly detecting that the DB files are in active use and it's not trying to sync it while the u-he plugin is running. However, I still did run into situations where OneDrive wasn't entirely sure and duplicated the DB file suffixed with the machine name. But so far, OneDrive did not break or corrupt any DB files.
You do not have the required permissions to view the files attached to this post.
Find my (music) related software projects here: github.com/Fannon
