Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here.
Forum Discussion
mikebowensw
9 years agoExplorer | Level 3
How to sync a sqlserver database to dropbox
I am working on an application where a sqlserver database is centrally located on a dropbox server. The application that is resident on a pc connects to the dropbox database.
At first I was thinking to set up the database on the selective syn feature, so it is available in user/dropbox. I saw a thread that suggested that as dropbox is always syncing it would create a problem with programmatically connecting to the local copy. Is this true? And if so, are there any work around solutions?
I was also just changing the connection string in the app from a local db to an internet based connection string, but I didn't see where that was done.
3 Replies
- Greg-DB9 years ago
Dropbox Community Moderator
While you can store database files themselves, Dropbox and the Dropbox API don't offer a way to remotely connect to these database files to run database queries/operations. You'd need to download/upload the database file each time you need to change it. I'll send this along as a feature request though.
I can't speak much to if/how interacting with a local database file in the Dropbox folder would work though. If you do try to use a local database file synced in the Dropbox folder via the Dropbox desktop client, it's possible the database program and the Dropbox desktop client would prevent each from accessing the file when they're using it (e.g., when the database is open, or when Dropbox is trying to sync changes). - mikebowensw9 years agoExplorer | Level 3
Thanks Greg.
I'm thinking the best way to do this then is to disable the autosync feature on dropbox for the folder. There is an app called Beyond Compare that has a scripting feature that is available. It does requiring registering it, which costs $35. It works well for backing up to Dropbox. Then it can be scheduled to synchronize through Windows Scheduler.
Ultimately I would love to automate it, but for the uses the companies would have their own way of backing up the files. So the best solution would be to keep it a manual solution.
Have a blessed Memorial Day,
Mike
- Davinator7 years agoNew member | Level 2
You can automatically synchronize your data from SQL Server as CSV file with Dropbox on any kind of schedule by using Skyvia. It`s quite cool web-app with a no-coding interface and affordable pricing.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,037 PostsLatest Activity: 23 hours ago
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!