Support

Akeeba Backup for Joomla!

#29640 Onedrive for Business

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by martinkrueber on Tuesday, 08 May 2018 14:40 CDT

martinkrueber
Hello,

Is there a roadmap when OneDrive for Business is supported?
There are now other backup manufacturers that support OneDrive for Business and OneDrive (private).

I thank you in advance
best regards

Martin

nicholas
Akeeba Staff
Manager
Hello Martin,

I have already explained why this is not technically possible.

Transferring data to OneDrive consists of two parts: authentication API and the actual OneDrive for Business API. The former allows you to connect an application to your OneDrive for Business account. The latter takes care of the actual data transfer. I have written the code for the data transfer API more than two years ago.

As for the authentication part, I have already explained in the past why it is not possible. But don't listen to me, listen to the Microsoft employee responding to this question on their official OneDrive API documentation project on GitHub. He says what I have been saying all along: you need to create a new application per Business subscription. This means that you would:
EITHER need to pay us to maintain and provide you with a custom version of Akeeba Backup with a custom OneDrive for Business integration and maintain the server-side portion of it (thousands of Euros per year since we have to set up a parallel product line just for you)
OR have you register your own app, configure and host the server-side connector (you get to figure out Microsoft's confusing admin pages on your own - good luck with that)

Probably there is, indeed, a simpler / better way to do it. However, if it does, it's not documented. If it's not documented it's as good as not existing. If you have a documentation page that I can not find do feel free to send it my way.

I do understand why you are complaining. Some NAS, such as Synology, do offer a way to connect to OneDrive for Business. I don't know how they do it. Maybe they have a special relationship with Microsoft because they are a multimillion dollar company instead of a tiny, obscure vendor of Open Source Software?

However, you do not need explicit support from us, it is already possible to store your backups to OneDrive for Business. You can use our "Upload to WebDAV" feature and a third party service which provides a WebDAV interface to your OneDrive for Business account. I know for a fact that CloudHQ can do that (not an affiliate link).

Again, if you find me documentation proving that it's possible to authenticate to any OneDrive for Business without having to create a per-organization application I am more than willing to implement this feature and give you a lifetime subscription as a thank-you. This is a standing offer I made 2 years ago and I will honor it for the first person to provide the elusive documentation I cannot find anywhere on Microsoft's site.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

martinkrueber
Hello,

Thank you very much for the detailed answer.

I'm not a programmer, but Updraft Backup for WordPress does it. There is one cofiguration window for Onedrive. After entering the Onedrive credentials, the system will know if I want private or business.
I searched for a short time and found this link. Maybe this will help you?
https://docs.microsoft.com/de-at/onedrive/developer/

best regards
Martin

nicholas
Akeeba Staff
Manager
I will try to take a look at this again for the next minor version (6.2) of Akeeba Backup for Joomla. Reading the Microsoft documentation again I infer that using Microsoft Azure Directory MIGHT work for OneDrive for Business and regular OneDrive. They do not make a good job at explaining it but I guess trying doesn't hurt.

Full disclosure: I'd normally jump into this right away but there are three reasons why I am not. First, we have version 3.1 basically ready for release. I don't want to start working on another major feature before releasing it. Second, the European Union's GDPR law comes into effect on May 25th and we must absolutely be compliant by this cutoff date. This requires a massive amount of work. It's been a month so far and we seem to have another week or two before we meet the bare minimum requirements. Third, next week we are going to be attending the JaB conference, meaning there is no time to deal with both GDPR and a major feature which could push 6.1 behind. With that into consideration and assuming that what I inferred from the MS documentation is right I should have that feature ready around mid July.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

martinkrueber
Thank you for your disclosure!
Mid July is great :)

Have fun on the JaB :)

Martin

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!