Skip to main content

Manage infobase backups

Last update:

For an infobase, you can create backups manually or configure a backup plan.

A backup can be used to restore an infobase, as well as to download or delete.

By default, backups are stored in a service bucket in Selectel S3. You can connect your own S3 bucket to store backups.

If you delete an infobase, its backups will be stored for another 30 days.

Create a backup manually

You can manually create:

Enter the name of the backup.

  1. In the Control panel, on the top menu, click Products and select 1C Cloud.

  2. Go to the Infobases section.

  3. Open the infobase page → Backups tab.

  4. Click Create backup.

  5. Enter the backup name.

  6. Optional: select backup storage to save the backup to an S3 bucket.

    6.1. Select the Save backup to storage checkbox.

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

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

Configure a backup plan

Scheduled backups are created with PostgreSQL DBMS tools. If you need a .dt file, create a backup manually.

The limit on the number of created backups is 999. When the limit is exceeded, the oldest backup is deleted when the next one is created.

Recommendations for choosing the time for a backup plan

Choose a period with the lowest load on the 1C server cluster where the infobase is running.

The backup time should not coincide with the maintenance window of the 1C server cluster where the infobase is running.

Backups are created within an hour of the time specified in the plan.

Specify different backup times for infobases running on the same server cluster or the same database. If you specify the same backup time, backups will be created sequentially. Consequently, each subsequent backup in the queue may not start within the allocated hour and will be canceled. To avoid backup cancellation, schedule backups for multiple infobases at different times.

Configure plan

  1. In the Control panel, on the top menu, click Products and select 1C Cloud.

  2. Go to the Infobases section.

  3. Open the infobase page → Backups tab.

  4. In the Backup plan block, click Configure plan.

  5. Specify the days and time for backup creation, taking into account the recommendations for choosing the time for a backup plan. Backup creation starts within an hour after the specified time. You can set a schedule:

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

    A cron expression consists of five values in order; they specify the times when backups will be created:

    • minutes — from 0 to 59;
    • hours — from 0 to 24;
    • days of the month — from 1 to 31;
    • month — from 1 to 12;
    • days of the week — from 1 to 7.

    Any value can be replaced with the * symbol, which represents every possible value.

    For example, the entry 0 0,12 * * 1,5 will create backups 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 expressions.

  6. Specify the number of recent backups to keep — from 1 to 999.

  7. Select the storage where backups will be saved:

    • to a custom S3 bucket — click S3 storage, and select a backup storage from the list. If you do not have a backup storage, create one.
    • to the Selectel service S3 bucket — click Service storage. Review the storage pricing for backups in service storage.
  8. Click Save.

Edit plan

  1. In the Control panel, on the top menu, click Products and select 1C Cloud.

  2. Go to the Infobases section.

  3. Open the infobase page → Backups tab.

  4. In the Backup plan block, check that the plan is enabled.

  5. In the Backup plan block, click .

  6. Specify the days and time for backup creation; pay attention to recommendations for choosing the time for a backup plan. Backup creation starts within an hour after the specified time. You can set a schedule:

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

    A cron expression consists of five values in order; they specify the times when backups will be created:

    • minutes — from 0 to 59;
    • hours — from 0 to 24;
    • days of the month — from 1 to 31;
    • month — from 1 to 12;
    • days of the week — from 1 to 7.

    Any value can be replaced with the * symbol, which represents every possible value.

    For example, the entry 0 0,12 * * 1,5 will create backups 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 expressions.

  7. Specify the number of recent backups to keep — from 1 to 999. If you decrease the limit for saved backups, the oldest backups will be deleted when the limit is exceeded.

    For example, if you had set the retention to seven backups and changed the value to four, then after one new backup is created, the four oldest will be deleted — one new and three older backups will remain. All backups created manually will be saved.

  8. Select the storage where backups will be saved:

    • to a custom S3 bucket — click S3 storage, and select a backup storage from the list. If you do not have a backup storage, create one.
    • to the Selectel service S3 bucket — click Service storage. Review the storage pricing for backups in service storage.
  9. Click Save.

Disable backup plan

If you need to temporarily stop creating backups, disable the plan. Previously created backups will be saved. You can enable the plan later.

  1. In the Control panel, on the top menu, click Products and select 1C Cloud.

  2. Go to the Infobases section.

  3. Open the infobase page → Backups tab.

  4. In the Backup plan block, disable the plan.

Download a backup

You can only download a backup with the AVAILABLE status.

  1. In the Control panel, on the top menu, click Products and select 1C Cloud.

  2. Go to the Infobases section.

  3. Open the infobase page → Backups tab.

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

Delete a backup

You can only delete a backup with AVAILABLE, FAILED, or CANCELLED status.

  1. In the Control panel, on the top menu, click Products and select 1C Cloud.

  2. Go to the Infobases section.

  3. Open the infobase page → Backups tab.

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