Manage backups of the information base
For the information base, you can back up manually as well as configure scheduled backups.
The backup can be used to data recovery as well as download or delete.
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 — a copy of the information base using PostgreSQL DBMS. The backup copy can be download or retrieve the information base from it;
- file
.dt
— copy of the information base by means of 1C:Enterprise. File.dt
can download or create a new information base from it. To create a file.dt
need login and password of 1C user with rights of administrator of information base.
There is no limit to the number of manually created copies.
Create a backup
Create a .dt file
- В control panels go to Ready cloud 1C → Information bases.
- Open the information base page.
- Open the tab Backups.
- Click Create a backup.
- Enter a name for the backup.
- Click Create. A copy will appear in the block Backups. When her status changes to
AVAILABLE
you'll be able to download a copy or retrieve the information base from it.
During file creation .dt
the information base will be unavailable, user sessions and routine tasks will be blocked for it. Creating a copy may take up to 60 minutes.
- В control panels go to Ready cloud 1C → Information bases.
- Open the information base page.
- Open the tab Backups.
- Click .dt file.
- Enter the login and password of the user with the rights of the administrator of the information base.
- Click Create. A copy will appear in the block Backups. When her status changes to
AVAILABLE
you'll be able to download a copy or create a new information base from it.
Configure scheduled backups
Through scheduled backups, copies of the information base are created by means of PostgreSQL DBMS. If you need a file .dt
, create a manual backup.
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 service window 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 copying of the next database fails to start in the allotted hour, it will be canceled.
Enable scheduled backup
- В control panels go to Ready cloud 1C → Information bases.
- Open the information base page.
- Open the tab Backups.
- In the schedule line, enable the schedule. The default setting is to create backups every Monday at 00:00 in your time zone, and 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, reschedule.
Reschedule
-
В control panels go to Ready cloud 1C → Information bases.
-
Open the information base page.
-
Open the tab Backups.
-
In the block Schedule check that the schedule is on.
-
In the block Schedule click .
-
Specify the days and times of backups, pay attention to the recommendations of the subsection Recommendations for choosing the time for scheduled backups. Copy creation starts within one hour of the specified time. You can set the time:
- by day of the week — click Days of the weekSelect the days you want and enter the time in your time zone that you want to back up to;
- through a cron-expression — press Cron Expression and set the cron to 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 be backed up on Monday and Friday at 00:00 and 12:00 (03:00 and 15:00 Moscow time) regardless of the date.To create cron statements, you can use online editors such as, crontab guru.
-
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 backups, you set the number of backups to four — after creating one new backup, the first four will be deleted (leaving one new backup and three previous backups). All copies, handmade will remain in place.
-
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.
- В control panels go to Ready cloud 1C → Information bases.
- Open the information base page.
- Open the tab Backups.
- In the schedule row, turn off the schedule.
Download the backup
Only a copy in status can be downloaded AVAILABLE
.
- В control panels go to Ready cloud 1C → Information bases.
- Open the information base page.
- Open the tab Backups.
- In the block Backups open the menu copies and select Download.
Delete backup
Only the copy in status can be deleted AVAILABLE
, FAILED
or CANCELLED
.
- В control panels go to Ready cloud 1C → Information bases.
- Open the information base page.
- Open the tab Backups.
- In the block Backups open the menu copies and select Delete.