The “Backups” module is located in the “Maintenance” menu. This module is intended for managing, creating and deleting copies of data in the ICS CUBE. The main window of the module has three tabs: “Backups”, “Templates” and “Settings”.
The “Backups” tab. This tab displays the existing backup copies of the ICS CUBE and tools for working with them.
To create a backup copy of the ICS CUBE data, click the “Add” button. After clicking, a new dialog box will open where you will be asked to select the data to back up:
You can also add a comment to the created backup.
After selecting the necessary data, click the “Add” button. As a result, a backup copy will be created in the format <system name>-<date>-<creation time>-<designation of the backup content>-<ICS CUBE version>-backup.
Also, on this tab, you can delete previously created backups, upload them from third-party sources in *.bin format (the “Upload” button), or upload them from the ICS CUBE file storage by clicking “Load from file storage”.
When you select a backup, the following buttons become available: “Delete”, “Restore”, “Download”, “Copy to FTP”.
When you click the “Restore” button, the ICS CUBE will restore the saved data. However, if, for example, the “Statistics” item was not selected when saving the backup, then the statistics data accumulated during the time period from creating the copy to restoring it will not be changed. To save a backup copy outside of the ICS CUBE drive space, click “Download” and specify the location where it will be saved. When you click the “Copy to FTP” button, the ICS CUBE will try to copy the backup to the ftp server specified in the “Settings” tab. You can view the result of this operation in the system log.
The “Templates” tab. It is intended for creating backups based on a specified template at specified time, as well as deleting previously created backups and copying them to a specified ftp resource and external media. There are two predefined templates in the ICS CUBE: “Settings backup” (saves only the ICS CUBE settings) and “Full backup” (saves a full backup of the ICS CUBE). To activate one of the templates, you need to specify the time when it is triggered.
To create a backup template, click “Add”. A new “Add backup template” dialog box will open. This window has three tabs: “General settings”, “Schedule”, and “Copy settings”.
In the “General settings” tab, you must enter the template name, as well as select one of the data items for backup (ICS CUBE settings; all statistics collected by the ICS CUBE; all mail messages stored on the ICS CUBE; records of all calls; databases of all web resources; folders from the file storage).
You can set the time for automatic creation and deletion of a backup in the “Schedule” tab. When you specify the time of automatic creation, it is possible to set the period (every day, once a week, once in two weeks, once a month), day of the week, and backup time in the hh:mm format.
When you specify the time for automatic deletion, it is possible to set the period (older than a day, older than a week, older than a month, older than 3 months, older than 6 months, older than a year) used to delete a backup copy.
In the “Copy settings” tab, you can set removable media and FTP server settings: IP-address or domain name of the FTP server, FTP port, path to backup folder on FTP server, login and password. These settings are not related to the FTP server settings in the “Settings” tab. This way, each template can be configured to create a copy on its own FTP server or flash drive.
If necessary, templates can be deleted or edited by selecting the desired template and clicking the appropriate buttons.
The “Settings” tab. In addition to saving the backup copy to the ICS CUBE hard drive (the “Drive for store of backups” block), you can choose the option to save to removable media (the “Automatically copy backup on a flash drive” block) or the remote FTP server (“Copy backups to FTP server” block), this will protect the backup data in case of damage to the hard drive. In order to avoid overfilling of the hard drive with data (statistics backups can reach quite large volumes), it is possible to configure the automatic deletion of old backups created not according to the templates (“Automatically delete old manual backups” block) and specify the required period.