Restore the information base from a backup copy
It is not possible to restore from a backup to the original information base, you must create a new information base and upload the backup to it.
The connection data for the new information base will be different. To keep the connection data the same, you can test the backup on a test database and then delete the original database and create a new one with the same name.
The 1C server cluster on which the information base is restored will be partially or completely unavailable during the restoration process. This depends on the type of backup, the type can be viewed in the control panel: in the top menu, click Products → 1C Ready Cloud → section Information bases → base page → Backups tab — Type column:
.dt
file — the cluster will be available during the recovery process, but its performance may degrade and cluster information bases may be unavailable. At the end of the recovery process, the cluster will automatically reboot and all sessions will be terminated;- PostgreSQL backup — the cluster and all its information bases will be stopped for the entire recovery process.
You can create a backup of the type you want.
Restore the information base from a backup copy
Save data for connection to 1C
Do not save data for connection to 1C
- Optional: set session locking.
- Create a test information base.
- Upload the backup to the test information base.
- Check the test information base.
- Delete the original information base.
- Create a working information base.
- Upload the backup to the working information base.
- Optional: delete the test information base.
- Optional: remove the session lock.
1. Optional: set session blocking
You can schedule a time to perform the work and set session locking for all information bases of the 1C server cluster on which the information base will be restored.When session locking is enabled for an information base, active users of the base will receive a request to save data and their sessions will be terminated.
To set a session lock, use the Set Session Lock instructions.
2. Create a test information base
-
In the control panel, in the top menu, click Products → 1C Ready Cloud → Information Databases section.
-
Click Create Information Base.
-
Specify the cluster of 1C servers on which the information base will run:
3.1 Click Select Existing.
3.2 Select the region and pool where the cluster is located.
3.3 Select a cluster of 1C servers.
3.4 Click Continue.
-
Specify the database on which the information base will run:
4.1 Click Select Existing.
4.2 Select the database.
4.3 Click Continue.
-
Check the data of the selected 1C server cluster and database.
-
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 information base.
-
Enter the name of the information base.
-
Click Create Information Database. When the status of the information database changes to
ACTIVE
, the information database is ready to upload the backup.
3. Upload the backup copy to the test information base
- In the control panel, in the top menu, click Products → 1C Ready Cloud → Information Databases section.
- Open the page of the information base you created as a test base.
- Open the Configuration tab.
- In the Upload Information Base block, select Backup.
- Select the information base, a copy of which you want to restore.
- Select the backup to restore. Only backups in
AVAILABLE
status are available for selection. - Click Restore.
4. Check the test information base
Check that the configuration is loaded into the test information base and the base works correctly. To do this, connect to 1C and perform any necessary operations in 1C to check.
5. Delete the original information base
- In the control panel, in the top menu, click Products → 1C Ready Cloud → Information Databases section.
- In the card of the information base from which the backup was made, copy the name of the base. The name will be used when creating a working information base.
- From the menu of the information base that was backed up, select Delete Information Base.
- Enter the name of the information base to confirm the deletion.
- Click Delete.
6. Create a working information base
-
In the control panel, in the top menu, click Products → 1C Ready Cloud → Information Databases section.
-
Click Create Information Base.
-
Specify the cluster of 1C servers on which the information base will run:
3.1 Click Select Existing.
3.2 Select the region and pool where the cluster is located.
3.3 Select a cluster of 1C servers.
3.4 Click Continue.
-
Specify the database on which the information base will run:
4.1 Click Select Existing.
4.2 Select the database.
4.3 Click Continue.
-
Check the data of the selected 1C server cluster and database.
-
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 information base.
-
Paste the name of the information base that you copied when deleting the original information base in step 2.
-
Click Create Information Database. When the status of the information database changes to
ACTIVE
, the information database is ready to upload the backup.
7. Upload the backup copy to the working information base
- In the control panel, in the top menu, click Products → 1C Ready Cloud → Information Databases section.
- Open the information base page you created earlier.
- Open the Configuration tab.
- In the Upload Information Base block, select Backup.
- Select the information base, a copy of which you want to restore.
- Select the backup to restore. Only backups in
AVAILABLE
status are available for selection. - Click Restore. When the status of the information database changes to
ACTIVE
, the information database will be ready for operation and you will be able to connect to it with the old data.
8. Optional: delete test information base
- In the control panel, in the top menu, click Products → 1C Ready Cloud → Information Databases section.
- From the menu of the information base you created as a test base, select Delete Information Base.
- Enter the name of the information base to confirm the deletion.
- Click Delete.
9. Optional: Release session lock
You cannot connect to the information base until the lockout time expires or until you release the lockout.
You can unlock the lock by following the instructions Unlock Session Lock.
- Optional: set session locking.
- Create an information base.
- Upload the backup to the information base.
- Optional: remove the session lock.
1. Optional: set session blocking
You can schedule a time to perform the work and set session locking for all information bases of the 1C server cluster on which the information base will be restored.When session locking is enabled for an information base, active users of the base will receive a request to save data and their sessions will be terminated.
To set a session lock, use the Set Session Lock instructions.
2. Create an information base
-
In the control panel, in the top menu, click Products → 1C Ready Cloud → Information Databases section.
-
Specify the cluster of 1C servers on which the information base will run:
2.1 Click Select Existing.
2.2 Select the region and pool where the cluster is located.
2.3 Select a cluster of 1C servers.
2.4 Click Continue.
-
Specify the database on which the information base will run:
3.1 Click Select Existing.
3.2 Select the database.
3.3 Click Continue.
-
Check the selected 1C server cluster and database and 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 information base.
-
Enter the name of the information base.
-
Click Create Information Database. When the status of the information database changes to
ACTIVE
, the information database will be ready to download the backup.
3. Upload the backup copy to the information base
- In the control panel, in the top menu, click Products → 1C Ready Cloud → Information Databases section.
- Open the page of the information base you created as a working base.
- Open the Configuration tab.
- In the Upload Information Base block, select Backup.
- Select the information base, a copy of which you want to restore.
- Select the backup to restore. Only backups in
AVAILABLE
status are available for selection. - Click Restore.
- Wait until the information base is in the
ACTIVE
status — this means that it is ready to work and you can connect to it.
4. Optional: unblock sessions
You cannot connect to the information base until the lockout time expires or until you release the lockout.
You can unlock the lock by following the instructions Unlock Session Lock.