Skip to main content

Manage backups of the information base

Last update:

You can create manual backups for an information base, and you can also customize a backup plan.

The backup can be used to restore the information base and can be downloaded or deleted.

By default, backups are stored in the S3 Selectel service bins. You can connect your own S3 bucket to store the backup copies.

If you delete an information base, it will be backed up for another 30 days.

Create a manual backup

It can be manually created:

There is no limit to the number of manually created copies.

  1. In the control panel, in the top menu, click Products and select 1C Ready Cloud.

  2. Go to the Information Bases section.

  3. Open the Information Base page → Backups tab.

  4. Click Create Backup.

  5. Enter a name for the backup.

  6. Optional: select a backup repository to save a backup to the S3 buckets.

    6.1 Check the Save backup to storage checkbox.

    6.2 Select a backup repository from the list. If you do not have a backup repository, create one.

  7. Click Create. The copy will appear in the Backups block . When its status changes to AVAILABLE, you can download the copy or restore the information base from it.

Configure a backup plan

The backup plan creates copies of the information base using PostgreSQL DBMS. If you need a .dt file, create a backup manually.

The limit on the number of copies created is 999 copies. When the limit is exceeded, the oldest copy will be deleted when the next copy is created.

Recommendations for timing your backup plan

Choose the period of lowest load on the 1C server cluster where the information base is running.

The backup time must not coincide with the maintenance window of the 1C server cluster on which the information base is running.

Copies are created within one hour of the time specified in the plan.

Specify different copy times for information bases that run on the same server cluster or database. If you specify the same copy time, copies will be created one by one. Because of this, each next copy in the queue may not be able to run in the allotted hour and will be canceled. To avoid canceling copies, schedule copies of multiple databases at different times.

Set up a plan

  1. In the control panel, in the top menu, click Products and select 1C Ready Cloud.

  2. Go to the Information Bases section.

  3. Open the Information Base page → Backups tab.

  4. In the Backup Plan box, click Customize Plan.

  5. Specify the days and times to create backups, taking into account the recommendations for selecting a time for the backup plan. Backups are started within an hour of the specified time. You can set the schedule:

    • by day of the week - click Days of the week, select the desired days, and enter the backup time in your time zone;
    • via cron-expression - click Cron-expression and configure cron in UTC +00:00 time zone.

    The Cron expression consists of five values in order - they specify the time points at which backups will be created:

    • minutes from 0 to 59;
    • clock - 0 to 24;
    • days of the month - from 1 to 31;
    • month one through 12;
    • days of the week, 1 through 7.

    Any of the values can be replaced by the * symbol - it stands for every possible value.

    For example, the entry 0 0,12 * * * 1,5 will back up on Monday and Friday at 00:00 and 12:00 (03:00 and 15:00 Moscow time) regardless of the date.

    You can use online editors such as crontab guru to create cron statements.

  6. Specify the number of recent backups to store - from 1 to 999.

  7. Select the storage where the backups will be saved:

    • to the S3 user bucket- click S3 storage, select a backup repository from the list. If you do not have a backup vault, create one.
    • to the S3 Selectel Service Backup - click Service Storage. Read the information about the tariff for storing backups in the service storage.
  8. Click Save.

Change the plan

  1. In the control panel, in the top menu, click Products and select 1C Ready Cloud.

  2. Go to the Information Bases section.

  3. Open the Information Base page → Backups tab.

  4. In the Backup Plan block, verify that the plan is enabled.

  5. In the Backup Plan block, click .

  6. Specify the days and times of backup creation, note the recommendations for selecting the time for the backup plan. Backups are started within an hour after the specified time. You can set the schedule:

    • by day of the week - click Days of the week, select the desired days, and enter the backup time in your time zone;
    • via cron-expression - click Cron-expression and configure cron in UTC +00:00 time zone.

    The Cron expression consists of five values in order - they specify the time points at which backups will be created:

    • minutes from 0 to 59;
    • hours - 0 to 24;
    • days of the month - from 1 to 31;
    • a month - 1 to 12;
    • days of the week, 1 through 7.

    Any of the values can be replaced by the * symbol - it stands for every possible value.

    For example, the entry 0 0,12 * * * 1,5 will back up on Monday and Friday at 00:00 and 12:00 (03:00 and 15:00 Moscow time) regardless of the date.

    You can use online editors such as crontab guru to create cron statements.

  7. Specify how many recent backups you want to keep, from 1 to 999. If you reduce the limit of saved backups, the oldest backups will be deleted when the limit is exceeded.

    For example, you were set to store seven copies, you change the value to four. When you create one new copy, the old four will be deleted - leaving one new copy and three older copies. All manually created copies will be retained.

  8. Select the storage where the backups will be saved:

    • to the S3 user bucket- click S3 storage, select a backup repository from the list. If you do not have a backup vault, create one.
    • to the S3 Selectel Service Backup - click Service Storage. Read the information about the tariff for storing backups in the service storage.
  9. Click Save.

Turn off the backup plan

If you need to temporarily suspend backups, turn off the plan execution. Previously created backups will be saved. You can turn the plan back on later.

  1. In the control panel, in the top menu, click Products and select 1C Ready Cloud.

  2. Go to the Information Bases section.

  3. Open the Information Base page → Backups tab.

  4. In the Backup Plan block, turn off the plan.

Download the backup

Only a copy in AVAILABLE status can be downloaded.

  1. In the control panel, in the top menu, click Products and select 1C Ready Cloud.

  2. Go to the Information Bases section.

  3. Open the Information Base page → Backups tab.

  4. In the Backups block, open the copies menu and select Download.

Delete backup

Only a copy in AVAILABLE, FAILED or CANCELLED status can be deleted.

  1. In the control panel, in the top menu, click Products and select 1C Ready Cloud.

  2. Go to the Information Bases section.

  3. Open the Information Base page → Backups tab.

  4. In the Backups block, open the copies menu and select Delete.