1.1.2

Table of contents

Backup in Yandex.Disk

Allows you to make automatic database backups in Yandex.Disk

Installation

After downloading the add-on, install it using the standard CS-Cart tools on the page Admin Panel → Add-ons→ Manage Add-ons → Upload and Install Add-on (+).

For CS-Cart version 4.13.1 or later, go to Admin Panel → Add-ons→ Downloaded add-ons → Gear Icon → Manual Installation.

Image

Setting

Backup to Yandex.Disk can be started on a schedule using the Cron command.

  1. After installation, go to the module settings, Modules - Downloaded modules section in the admin panel of your site;
  2. Open the Settings tab.
  3. For the Cron command to work correctly and safely, the Cron Key field must be filled in with any value:
Image

The following functions are also available for configuration in the Settings tab:

  • Number of backups stored on disk - This option allows you to specify the number of backups that will be stored on your Yandex.Disk at the same time. The specified number determines the maximum number of saved copies of the data;
Image
  • Folder name in Yandex.Disk - This option allows you to select the name of the folder on your Yandex.Disk in which data backups will be saved;
Image
  • Yandex.Disk login - To use the backup function on Yandex.Disk, specify your username from the Yandex.Disk account;
Image
  • Password - In this field, you must insert the password created for the Yandex.Disk application in the Yandex account settings.
Image

https://yandex.ru/support/id/authorization/app-passwords.html - Instructions for creating passwords for Yandex applications.

  1. Open https://id.yandex.ru/;
  2. Open the Security section;
  3. Select Application Passwords;
  4. Select the Files section;
    1. Image
  5. Enter the Password Name;
  6. Click Next;
  7. Copy and paste the generated password into the Password field in the module settings.
    1. Image
  8. Click Save.