Now, paste the code using the "Tools" button and clicking on "Paste triggers from clipboard". What this code will do is that when you open your database, it will automatically sync the two databases. Change NEW DB to the path of the database stored locally and ONEDRIVE DB to the path of the database stored in the cloud. Note that you will need to change the names of some parameters (they're indicated in the code as NEW DB and ONEDRIVE DB). Now, open the locally stored database and navigate to "Tools > Triggers." OneDrive database: C:\Users\\Desktop\Database.kdbx Here's a little example of how it should look: You can change their names to differentiate them easily (as Database and Database-synced). The other one (a copy) should be in your OneDrive folder. The one stored in your PC should not be moved from the directory you place it in first, keep that in mind. If you follow this "tutorial", you'll have two exact same databases, one stored locally on your PC and one stored in the cloud (I.E. I know that this post is 5 months old but if you're still looking for a solution, here you go.įirst of all, I want to clarify that using standard OneDrive sync will eventually come to data loss and it is not recommended, instead, do this:
0 Comments
Leave a Reply. |