Introduction
This article describes the device for process of server backup and recovery of servers.
Backing up Backup is very important. It is necessary to save , as it provides saving data in case of breakdowns various failures and other errors. In r_keeper 7, backups are configured separately for each server.
To save all the data necessary for recovery, it is recommended to set up a configure backup for:Directory servers
- reference server
...
- cash server.
Let's start with the directory reference server settings.Directory
Reference Server
The directory reference server backups are by default stored in the folder: \base\backups\databases folder.
The databases folder stores backups named by the date and time of creation.
Each of the folders contains three files:
- rk7.udb is the main database
...
- storing all the references. From
...
- this very folder, the data goes into SQL
- check.udb - the sales database. The data gets here after
...
- common shifts are closed
- rk7.bls - contains pictures of
...
- hall plans, if any are used.
All 3 files must be saved.
Please note that r_keeper 7 does not archive backups and cannot upload them to an FTP server. To improve fault tolerance, we We recommend doing this with using third-party tools in order to improve fault tolerance.
To set up a directory the reference server backup:
- Open the manager station
- Go to
...
- Options > Parameters > Installation > Reference Server > Files Backup
- Configure the following parameters:
...
- 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
- This is the time at which the system is allowed to back up the data.
...
- Order > Periods menu.
...
Expand title Click here to read more about periods configuration
...
- Maximum number of backups - in the Primary section, in the Number line, specify the maximum number of backups
Frequency of backups - in the Main section, in the Time line, specify a number. This setting means to back up every specified period of time.
Path for saving files - in the Main section, in the String line, specify the relative or absolute path to the folder where the copies of the databases will be saved
Save your changes.
Cash server
Each POS server has its own backup settings. This means that if you have 3 cash register servers, they can have 3 different backup settings.
...
Number of copies
Backup path - relative or absolute
Number of shifts - the number of shifts to be backed up
Frequency - back up every specified interval in minutes
Number of checks - by default 100
Perform backup - check the box to activate.
R_keeper 7 recovery
To restore r_keeper 7 from a backup:
Install r_keeper 7 using the installer or through the archive
Without starting the servers, copy from the previous to the installed version of r_keeper 7:
Files rk7.udb, check.udb and rk7.bls to the directory reference server base directory
WORK.UDB file in the midbase folder of the cash server. If there is no such folder, then create it. If there is no WORK.UDB file 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 WORK.UDB
The files common.ini, repsserv.ini, rk7man.ini, rk7srv.INI, RKEEPER.INI, ShelterConnect.ini, wincash.ini, winprint.ini in:
\ bin \ win - for r_keeper 7 installed using the archive
the corresponding folders for r_keeper 7 installed with the installer.
...
[REFSERVER]
USESQL = 0
Start the directory reference server. It will automatically load your database
After the first start, re-license all the servers that had the license
If the database has been corrupted, then:
...
If the check is successful, the system is restored, r_keeper 7 will continue to work with the previously saved databases.
Useful articles
It will be useful to read the articles:
...