Connect the OneDrive service to use the connected cloud storage as a third-party resource when creating backups.
Creating authorization keys
In the cloud version, the authorization keys parameters for OneDrive are set up automatically.
In the server version, you will have to setup authorization keys for OneDrive. Follow these steps:
- Go to Microsoft Azure.
- Sign in to your account.
- Сlick the New registration button at the App registrations page.
- Enter your application Name.
- Choose the platform (Web) and enter "https://service.onlyoffice.com/oauth2.aspx" in the Redirect URL field.
- Click the Register button at the bottom of the page;
- Copy or write down the
Application (client) ID
displayed at the Overview page.
- Switch to the Certificates & secrets section on the left.
- Click the New client secret button.
- Enter the description and click Add.
- Copy or write down the
Client secret
displayed in the Value field.
Connecting OneDrive to ONLYOFFICE DocSpace
- In the server version, click the
menu in the lower left corner and select the Settings option.
- Switch to the Integration tab.
- In the Third-party services section, click the sliding button to the right of the OneDrive logo.
- Enter your keys and click the Connect button.
To store your DocSpace data backup in OneDrive,
- Go to the 'Backup' section (DocSpace Settings -> Backup -> Third-party resource).
- Select OneDrive as the desired storage and click the 'Connect' button.
- Choose your account, grant the access to ONLYOFFICE application and click 'Create copy'.
For more details about backup, read this article.