Creating a repository on Yandex. Disk
Preparing for RiCoder backup to Yandex.Disk
RiCoder backup provides:
- Safe update and system recovery options in case of unsuccessful software update.
- Save all RiCoder settings.
- Saving the database with all connected objects.
- Saving an archive of untransmitted events present in the system at the time of copying.
RiCoder saves backups to Yandex.Disk. To arrange another method of data backup, please contact your manager.
To backup the RiCoder database to Yandex.Disk you need to:
- Have a Yandex account.
- Yandex.Disk access token.
Getting a Yandex account
If you have a Yandex account, proceed to the next step of the instructions Obtaining a Yandex.Disk access token.
If you don’t have an account, go to the page Yandex ID and click Register. More information about registering an account in Yandex ID documentation.
Obtaining an access token for Yandex.Disk
A special access key (OAuth token) allows the RiCoder service to work with data in the Yandex ecosystem. The token is valid for 1 year. To receive a token, you must register an OAuth application in Yandex and receive a token for it.
1 Registering an OAuth application
1.1. Login to your Yandex account and log in.
1.2. Open the application creation page
https://oauth.yandex.ru/client/new/.
The Yandex service will offer to go through verification at State Services several times. This requirement is not necessary for RiCoder backup to work. Close the window.
1.3. Step 1: Provide application information and click Continue:
- Enter the name of the application (for example: chop_backup).
- Check your email for contact.
- If necessary, attach an icon for the service.
specify their parameters and click Continue.
- Select the Web services platform.
- In the Redirect URI field, enter the default URL:
https://oauth.yandex.ru/verification_code
1.5. **Step 3:** In section **Data Access** specify the necessary access rights to work with Yandex.Disk.In field Access name Enter the access names one by one and add them to the list below:
- cloud_api:disk.write - write anywhere on the disk
- cloud_api:disk.read - reading the entire Disk
- cloud_api:disk.app_folder - access to the application folder on Disk
- cloud_api:disk.info - access to information about the Disk.
Click Continue.
1.6. **Step 4:** At the bottom of the page, click **That's right, create an application.** A description of the created application will appear on the screen. 1.7. Copy the application ID from the field **ClientID** (for example: 3dcafbfbf55e3dcafb04eafac0c7f018 ) - it will be required to receive OAuth token.2. Obtaining an OAuth token to access Yandex.Disk manually
Save the received token. Service [Yandex OAuth](https://oauth.yandex.ru/) does not store issued tokens in public access. You will not be able to find them in your personal account. If you did not save the token, you can manually retrieve it again.
2.1. Follow the link:
https://oauth.yandex.ru/authorize?response_type=token&client_id=<ClientID
2.2. Instead of <ClientID> in the browser address bar, paste the value ClientID, copied from item 1.7.
2.3. Go through the Yandex ID authorization procedure if the token is issued to the application for the first time.
2.4. The OAuth token page for your application appears.
2.5. Copy all the token characters.2.6. Create a text file (for example: token.txt) and paste the token value into it.
Save the file to the /CHOP\_DEPLOY/ folder after unpacking the RiCoder installation wizard archive. More details in section [**Installation and initial configuration of RiCoder**](https://docs.google.com/document/d/1Z8k8GhLtEwatHjFkXsmSrT9OILbNd5d7/edit#heading=h.4ek430ljzx43).
If the token is lost, repeat steps 2.1 – 2.4 of this section to generate a new one. Do not transfer the file with the token to third parties.
Update date: 09/12/2025





Нет комментариев для отображения
Нет комментариев для отображения