Manage backups of the information base
You can create manual backups for the information base, as well as set up scheduled backups.
The backup can be used to restore the information base and can be downloaded or deleted.
If you delete an information base, it will be backed up for another 30 days.
Create a manual backup
It can be manually created:
- backup copy — a copy of the information database using PostgreSQL DBMS. The backup copy can be downloaded or the information base can be restored from it;
.dt
file — a copy of the information base using 1C:Enterprise tools. The.dt
file can be downloaded or a new information base can be created from it. To create a.dt
file, you need a login and password of a 1C user with the rights of the information base administrator.
There is no limit to the number of manually created copies.
Create a backup
Create a .dt file
- In the control panel, in the top menu, click Products → 1C Ready Cloud → Information Databases section.
- Open the Information Base page → Backups tab.
- Click Create Backup.
- Enter a name for the backup.
- 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.
While the .dt
file is being created, the information base will be unavailable, user sessions and routine tasks will be blocked. It may take up to 60 minutes to create a copy.
- Optional: set session locking for the duration of the
.dt
file creation. - In the control panel, in the top menu, click Products → 1C Ready Cloud → Information Databases section.
- Open the Information Base page → Backups tab.
- Click File .dt.
- Enter the login and password of the user with the rights of the administrator of the information base.
- Click Create. The copy will appear in the Backups block . When its status changes to
AVAILABLE
, you can download the copy or create a new information base from it. - Optional: If you set session locking in step 1, remove it.
Configure scheduled backups
Scheduled backups create copies of the information base using PostgreSQL DBMS tools. If you need a .dt
file, create a backup manually.
When 999 copies have been created, the oldest copy is deleted when the next copy is created.
Recommendations for choosing the time for scheduled backups
Choose the time when the 1C server cluster on which the information base is running is least loaded.
The backup time must not coincide with the maintenance window of the 1C server cluster on which the information base is running.
Copy creation is triggered within one hour of the time specified in the schedule.
For information databases that run on the same server cluster or on the same database, specify different copy times. If you specify one copy time, copies will be created one by one. If the next database copy fails to start within the allotted hour, it will be canceled.
Enable scheduled backup
- In the control panel, in the top menu, click Products → 1C Ready Cloud → Information Databases section.
- Open the Information Base page → Backups tab.
- In the Schedule block, enable the schedule. The default setting is to create backups every Monday at 00:00 in your time zone, the number of backups to store is seven.
- Optional: if you want to set a different backup time or change the number of backups to store, change the schedule.
Reschedule
-
In the control panel, in the top menu, click Products → 1C Ready Cloud → Information Databases section.
-
Open the Information Base page → Backups tab.
-
In the Schedule block, check that the schedule is enabled.
-
In the Schedule block, click .
-
Specify the days and times for backups, note the recommendations for selecting a time for scheduled backups. Backups are started within one hour of the specified time. You can specify the time:
- by days of the week — click Days of the week, select the desired days and enter the time in your time zone on which the backups will be created;
- 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;
- 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.
-
Specify the number of recent backups to keep, from 1 to 999. If you reduce the current number, then after automatic creation of new backups, the previous backups that do not fall under the new limit will be deleted. For example, instead of storing seven copies, you set the number of copies to four — after creating one new copy, the first four copies will be deleted (leaving one new and three previous copies). All manually created copies will be retained.
-
Click Save.
Stop scheduled backup
If you need to temporarily suspend backup creation, stop the schedule execution. The previously created backups will be saved. The schedule can be reactivated later.
- In the control panel, in the top menu, click Products → 1C Ready Cloud → Information Databases section.
- Open the Information Base page → Backups tab.
- In the Schedule block, turn off the schedule.
Download the backup
Only a copy in AVAILABLE
status can be downloaded.
- In the control panel, in the top menu, click Products → 1C Ready Cloud → Information Databases section.
- Open the Information Base page → Backups tab.
- 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.
- In the control panel, in the top menu, click Products → 1C Ready Cloud → Information Databases section.
- Open the Information Base page → Backups tab.
- In the Backups block, open the copies menu and select Delete.