
Nun habe ich also als root, das obige Script in den Odner „/usr/local/etc/rc.d/“ gepackt, damit es bei jedem Neustart meiner NAS automatisch ausgeführt wird und die Verbindung zum OneDrive-Server hergestellt wird.ĭas funktioniert auch soweit, ABER irgendwann kommt folgender Fehler: Sobald ich putty aber beende, wird das obige Script beendet und schon bricht die Verbindung vom OneDrive-Server ab. It should show something like proxy:info Proxy server listening: +0ms
#HIDRIVE ORDNER SYNCHRONISIEREN DOWNLOAD#
Download skleeschulte/basic-to-passport-auth-http-proxy (select the highest version tag when prompted). Open the Docker app in DSM, choose Registry, ensure you have selected Docker Hub in the Registry Settings and search for skleeschulte.Unfortunately, it is not available for all Synology devices.

If not, you can find it in the DSM Package Center.
#HIDRIVE ORDNER SYNCHRONISIEREN INSTALL#
It is not advisable to install the server on a public VPS or similar without additional security measures. the loopback device (localhost) when installed on the same machine. As the communication between Hyper Backup and the proxy server is not encrypted, their connection should run over a trusted network, e.g. The first step is to install and configure the proxy server. For this purpose I wrote the basic-to-passport-auth-http-proxy server. One solution to this is to set up a proxy server that translates all authentication related information from Basic authentication to Passport authentication (and vice versa) and forwards all other information unchanged. The problem is, that the OneDrive WebDAV API requires authentication with the Passport Server Side Include (SSI) Version 1.4 Protocol, while Hyper Backup’s WebDAV client only supports HTTP Basic authentication and NTLM authentication. OneDrive on the other hand can be accessed via WebDAV.

While not offering OneDrive as backup destination, Hyper Backup does offer to configure a WebDAV server as backup destination. Tl dr Run the basic-to-passport-auth-http-proxy Docker image and configure a WebDAV backup destination in Hyper Backup.

Update: For OneDrive for Business (SharePoint), see Backup to Microsoft OneDrive for Business (SharePoint) with Synology’s Hyper Backup.

So here is my solution to this for those who can run Docker on their Synology NAS. Unfortunately, Synology’s own backup solution for DSM, Hyper Backup, does not offer to use OneDrive as a backup destination. With Microsoft offering 1 TB of OneDrive cloud storage in it’s Office 365 subscription, it would be nice if that storage could be used to backup data from a Synology NAS.
