Skip to main content

Restore an infobase from a backup

It is not possible to restore from a backup to the original infobase. You must create a new infobase and load the backup into it.

The details for connecting to the new infobase will be different. To keep the previous connection details, you can test the backup on a test infobase, then delete the source infobase and create a new one with the same name.

The 1C server cluster where the infobase is being restored will remain available during the restoration process, but its performance may decrease, and other infobases in the cluster might become unreachable. The infobase being restored from a backup will be unavailable to users until the operation is complete.

You can create a backup of the required type.

Restore an infobase from a backup

  1. Optional: set the session lock.
  2. Create a test infobase.
  3. Upload the backup to the test infobase.
  4. Check the test infobase.
  5. Delete the source infobase.
  6. Create a production infobase.
  7. Upload the backup to the production infobase.
  8. Optional: delete the test infobase.
  9. Optional: remove the session lock.

1. Optional: set a session lock

You can schedule maintenance time and set a session lock for all infobases of the 1C server cluster where the infobase will be restored. When the session lock is enabled for an infobase, active users of the database will be prompted to save their data, and their sessions will be terminated.

To set a session lock, follow the Set session lock instructions.

2. Create a test infobase

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

  2. Go to Infobases.

  3. Click Create infobase.

  4. Specify the 1C server cluster where the infobase will run:

    4.1. Click Select existing.

    4.2. Choose the region and pool where the cluster is located

    4.3. Select a 1C server cluster

    4.4. Click Continue.

  5. Specify the database where the infobase will run:

    5.1. Click Select existing.

    5.2. Select a database

    5.3. Click Continue.

  6. Verify the selected 1C server cluster and database details.

  7. Click Continue.

  8. Check the list of 1C server cluster licenses and click Continue. If you need more licenses, you can activate licenses after creating the infobase.

  9. Enter the infobase name.

  10. Click Create infobase. When the database infobase status changes to ACTIVE, the infobase will be ready for uploading the backup.

3. Upload the backup to the test infobase

  1. In the Control panel, in the top menu, click Products and select Cloud 1C.
  2. Go to Infobases.
  3. Open the page of the infobase that you created as a test infobase.
  4. Open the Configuration tab.
  5. In the Infobase upload block, select Backup.
  6. Select the infobase whose backup you want to restore.
  7. Select a backup to restore. Only backups in AVAILABLE status are available for selection.
  8. Click Restore.

4. Verify the test infobase

Make sure that the configuration is loaded into the test infobase and the base is working properly. To do this, connect to 1C and perform any required operations in 1C for verification.

5. Delete the original infobase

  1. In the Control panel, in the top menu, click Products and select Cloud 1C, then go to Infobases.
  2. In the infobase card corresponding to the original infobase, copy its name. You will need to use this name when creating the working infobase.
  3. In the menu of the infobase from which the backup was made, select Delete infobase.
  4. Enter the infobase name to confirm deletion.
  5. Click Delete.

6. Create a working infobase

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

  2. Go to Infobases.

  3. Click Create infobase.

  4. Specify the 1C server cluster where the infobase will run:

    4.1. Click Select existing.

    4.2. Choose the region and pool where the cluster is located

    4.3. Select a 1C server cluster

    4.4. Click Continue.

  5. Specify the database where the infobase will run:

    5.1. Click Select existing.

    5.2. Select a database

    5.3. Click Continue.

  6. Verify the selected 1C server cluster and database details.

  7. Click Continue.

  8. Check the list of 1C server cluster licenses and click Continue. If you need more licenses, you can activate licenses after creating the infobase.

  9. Paste the infobase name that you copied when deleting the source infobase in step 2.

  10. Click Create infobase. When the database infobase status changes to ACTIVE, the infobase will be ready for uploading the backup.

7. Upload the backup to the working infobase

  1. In the Control panel, in the top menu, click Products and select Cloud 1C.
  2. Go to Infobases.
  3. Open the page of the infobase that you created earlier.
  4. Open the Configuration tab.
  5. In the Infobase upload block, select Backup.
  6. Select the infobase whose backup you want to restore.
  7. Select a backup to restore. Only backups in AVAILABLE status are available for selection.
  8. Click Restore. When the database infobase status changes to ACTIVE, the infobase will be ready for work and you can connect to it with the old connection details.

8. Optional: delete the test infobase

  1. In the Control panel, in the top menu, click Products and select Cloud 1C.
  2. Go to Infobases.
  3. In the menu of the infobase that you created as a test infobase, select Delete infobase.
  4. Enter the infobase name to confirm deletion.
  5. Click Delete.

9. Optional: remove the session lock

You cannot connect to an infobase until the lock duration expires or you remove the lock manually.

You can remove the lock by following the Remove session lock instructions.