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.
Connection details for the new infobase will be different. To keep the existing connection details, you can verify the backup on a test infobase, then delete the original 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
Save the 1C connection details
Do not save 1C connection details
- Optional: set a session lock.
- Create a test infobase.
- Upload the backup to the test infobase.
- Verify the test infobase.
- Delete the original infobase.
- Create a working infobase.
- Upload the backup to the working infobase.
- Optional: delete the test infobase.
- 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, use the Set a session lock instructions.
2. Create a test infobase
-
In the Control panel, click Products in the top menu and select 1C Enterprise Cloud.
-
Go to the Infobases section.
-
Click Create infobase.
-
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.
-
Specify the database where the infobase will run:
5.1. Click Select existing.
5.2. Select a database.
5.3. Click Continue.
-
Verify the selected 1C server cluster and database details.
-
Click Continue.
-
Verify the 1C server cluster license list and click Continue. If you need more licenses, you can activate them after creating the infobase.
-
Enter the infobase name.
-
Click Create infobase. Once the infobase status changes to
ACTIVE, the infobase will be ready for loading the backup.
3. Upload the backup to the test infobase
- In the Control panel, click Products in the top menu and select 1C Enterprise Cloud.
- Go to the Infobases section.
- Open the infobase page for the infobase you created as a test infobase.
- Open the Configuration tab.
- In the Infobase loading block, select Backup copy.
- Select the infobase whose backup you want to restore.
- Select a backup for restoration. Only backups with the
AVAILABLEstatus can be selected. - Click Restore.
4. Verify the test infobase
Ensure that the configuration has been loaded into the test infobase and that it works correctly. To do this, connect to 1C and perform any necessary operations in 1C to verify.
5. Delete the original infobase
- In the control panel, in the top menu click Products and select 1C Enterprise Cloud, then the Infobases section.
- In the infobase card corresponding to the original infobase, copy its name. You will need to use this name when creating the working infobase.
- In the menu of the infobase from which the backup was made, select Delete infobase.
- Enter the infobase name to confirm deletion.
- Click Delete.
6. Create a working infobase
-
In the Control panel, on the top menu, click Products and select 1C Managed Cloud.
-
Go to the Infobases section.
-
Click Create infobase.
-
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.
-
Specify the database where the infobase will run:
5.1. Click Select existing.
5.2. Select a database.
5.3. Click Continue.
-
Verify the selected 1C server cluster and database details.
-
Click Continue.
-
Check the list of 1C server cluster licenses and click Continue. If you need more licenses, you can activate licenses after creating the infobase.
-
Paste the name of the infobase that was copied when deleting the original infobase in step 2.
-
Click Create infobase. Once the infobase status changes to
ACTIVE, the infobase will be ready for uploading a backup.
7. Upload the backup to the working infobase
- In the Control panel, on the top menu, click Products and select 1C Managed Cloud.
- Go to the Infobases section.
- Open the page of the infobase you created earlier.
- Open the Configuration tab.
- In the Upload infobase block, select Backup.
- Select the infobase whose backup you want to restore.
- Select the backup to restore. Only backups with the
AVAILABLEstatus are available for selection. - Click Restore. Once the infobase status changes to
ACTIVE, the infobase will be ready for work, and you can connect to it with the old data.
8. Optional: delete the test infobase
- In the Control panel, on the top menu, click Products and select 1C Managed Cloud.
- Go to the Infobases section.
- In the menu of the infobase that you created as a test one, select Delete infobase.
- Enter the infobase name to confirm deletion.
- 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 unlock sessions by following the Unlock sessions guide.