This article describes the process of server backup and recovery.
Backup is very important, as it provides saving data in case of various failures and errors. In r_keeper 7, backups are configured separately for each server.
To save all the data necessary for recovery, it is recommended to configure backup for:
Let's start with the reference server settings.
The reference server backups are by default stored in the \base\backups\databases folder.
The databases folder stores backups named by the date and time of creation.
Each of the folders contains three files:
All 3 files must be saved.
Please note that r_keeper 7 does not archive backups and cannot upload them to an FTP server. We recommend doing this using third-party tools in order to improve fault tolerance.
To set up the reference server backup:
Backup start time: in the Reference line of the Basic section, select the backup period from the drop-down list. This is the time at which the system is allowed to back up the data.
Periods are configured in the Order > Periods menu.
|
Each cash server has its own backup settings. This means that if you have 3 cash servers, they may have 3 different backup settings.
Read more about the data storage structure in the System and Data Storage Description article.
If the backup path has not been changed, by default these backup files are stored in the \midbase\Backup folder
It contains the following files:
To set up a cash server backup:
In the Backup section, you will see the following settings:
To reсover r_keeper 7 from a backup:
Install r_keeper 7 via the installer or from the archive
Without starting the servers, copy the following files from the previous to the installed version of r_keeper 7:
rk7.udb, check.udb and rk7.bls to the reference server base folder
WORK.UDB to the midbase folder of the cash server. If there is no such folder, then create it. If there is no WORK.UDB in the \midbase\Backup folder, but there is a similar one, for example, work2.udb — copy the most recent file with this name and rename it as WORK.UDB
common.ini, repsserv.ini, rk7man.ini, rk7srv.INI, RKEEPER.INI, ShelterConnect.ini, wincash.ini, winprint.ini to:
\bin\win - for r_keeper 7 installed from the archive
the corresponding folders for r_keeper 7 installed via the installer.
In the rk7srv.INI file in the [REFSERVER] section change the USESQL=0 setting
[REFSERVER] USESQL = 0 |
Start the cash server.
Recovery from r_keeper 7 backups is completed. The system will continue to work with the previously saved databases.
To make sure that the system has been recovered successfully, check:
If the check is successful, the system is recovered, r_keeper 7 will continue to work with the previously saved databases.
It may be useful to read the following articles: