Backup must be performed before any operation that may damage the data in the information database.
If you have configured the storage of attached files separately from the database, then configure periodic copying of this folder with files by external tools.
For more information about managing solutions based on 1C Enterprise Platform, see the articles on https://1c-dn.com/library/administration/.
Built-in tools #
If you are using the on-premises version, you should set up regular backups of the information database to reduce the risk of data loss. The frequency of backups depends on the intensity of new data input into the database.
The cloud version is backed up automatically.
Use Backup setup on Admin Panel – Update and service – Backup and restore menu.
Set up your schedule or set Automatic backup to Off and use Create backup for manual backup from time to time.
Automatic backup creation works well on the server base, because you can set up a schedule for execution at night when no one is working in the program. For the file version, the system must be running at this time, which is not always convenient. And in the process of creating a copy, all sessions of active users will be closed. Therefore, it is better to use external tools for scheduled backups. Or make copies manually periodically. You can also select copy creation mode On exit.
On scheduled time it shows message to start backup process. You can snooze or skip it.
You can always use manual backup. Create backup helps you to back up your database to disk. Please close all other users’ active sessions before pressing the Save backup button.
To restore the database from the file, use Restore from backup. Please close all other users’ active sessions before pressing the Restore data button.
It is strongly recommended to set up reminder to create copy of your accounting data. You can set backup On exit as a reminder.
In this case on exit you will see a message about backup. Press Exit to skip backup and just exit. Press Continue to make backup or return to work.
After pressing Continue you will see the pop-up ‘Click here to exit and perform additional actions’. Press on it.
It will show the backup option on exit. Press Exit to create backup and close the software.
Please create such backups from time to time to save results of your work.
External backup tools #
File mode of the database #
During the backup operation (both the creation of a backup copy and its restoration) of the information database in the file version, there should be no connections to the information database .
A backup copy is created in any program that supports working with files. Using the file management program, you need to open the directory with the information base. To create a copy of the information database, you can simply copy the 1Cv8.1CD file to a separate directory. To restore (in case of loss, damage, etc.) the information base, it is enough to copy the saved file to the previous directory.
Note that to copy the information database, you can also use specialized software designed for data backup and recovery. You can set schedule to do it in non-working hours.
Client-server mode of the database #
It is recommended to back up the information base in the client-server version using the means of the DBMS (database management system) used.
The backup will consist of several steps:
- Performing a backup of the database itself.
- Performing a log backup. It is organized, if necessary, to be able to view the log after restoring the backup copy.
- Performing a backup of the binary data storage. Copying is performed using the built-in language or the standard Binary Data Storage Management function.
Restoring from a backup (in this case) is performed in the same order:
- Restore the database from a backup.
- Restore the log from a backup (if the log was backed up).
- Restore the binary data storage from a backup.