Is there a way to access OneDrive via SMB? I mean, for creating a local or network drive in Windows for accessing the cloud storage through. Maybe through other layers offered by another software? WebDAV is unacceptable because data direct access is needed (for example, for database file). If there is no any possible way for this, then suggest other cloud service(s) with feature specified, that could offer about 15 GiB of free space. Or with small price per first ≈30 GiB.
-
Is there a reason to insist on SMB ?– harrymcMay 9 at 14:33
-
Is my clarification about direct data access isn't enough? WebDAV copies entire file for reading operation and for writing one.– greenMay 9 at 14:42
-
2Asking for specific commercial product suggestions is not generally allowed here.– u1686_grawityMay 9 at 15:00
-
1"Direct Access" in OneDrive terminology means permission to access your OneDrive location or SharePoint library, not much more. You can't dictate to OneDrive an access method.– harrymcMay 9 at 15:02
-
1Not just direct access but direct data access. I mean, read or write just specified intervals of file attributes, without necessity of copying entire file for that.– greenMay 9 at 15:21
1 Answer
The long and short: No. No, OneDrive does not support SMB or anything like that.
Now, you could certainly create some “proxy” that does the translation. BUT there is a bit of a problem with the type of access you want: Even with an actual SMB file share on the local network, it would be a really bad idea to put a database’s backend storage on it. Performance would suffer a lot from access latency, especially because OneDrive is unlikely to be optimized for that.
There’s yet another big problem: OneDrive (and many other object storage services!) does not support updating only parts of a file. Instead, a new version must be uploaded in its entirety.
But wait, there’s more: Concurrent access to the file would only be possible if it is entirely read-only, because reliable synchronization of writes is not available.
Yet again, I must insist you look into Software as a Service offers for databases. Even if you say it’s “not about conventional databases”, these offers do exist, lots of them for all sorts of database engines. Only a single database service can provide consistent high-performance access.
If you truly want, managed block storage services with SMB access exist. Microsoft Azure Storage Accounts, Hetzner Storage Box and Strato HiDrive come to mind. Keep in mind that you want one that is hosted close to you, to minimize latency.