Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

Image Added
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:

  1. Open the manager station
  2. Go to

...

  1. Options > Parameters > Installation > Reference Server > Files Backup
    Image Added
  2. Configure the following parameters:

      ...

        1. Backup start time: in the Reference line of the Basic section, select the backup period from the drop-down list.

      ...

        1. This is the time at which the system is allowed to back up the data.
          Periods are configured in the

      ...

        1. Order > Periods menu.

      ...

        1. Expand
          titleClick here to read more about periods configuration
          1. In the All branch, create a New Period group
          2. Specify its name and change the status to Active
            Image Added
          3. Go to the Period tab and create a New Period
          4. Specify its name and change the status to Active
            Image Added
          5. Go to the Time Intervals tab, right-click in the blank space and create a New Time Interval
          6. Select Days Of Week and Starting Time
            Image Added
          7. Click the Calendar to check the settings
            Image Added

      ...

        1. Maximum number of backups

      ...

        1. : in the

      ...

        1. Integer line of the Basic section,

      ...

        1. specify the maximum number of backups

      ...

        1. Backup periodicity: in the Time line of the Basic section, specify a number. This setting means to back up at every specified period of time.

      ...

        1. Files save path: in the String line of the Basic section, specify the relative or absolute path to the folder where the database copies

      ...

        1. will be saved
      1. Save

      ...

      1. the changes.

      Cash

      ...

      Server

      Each POS cash server has its own backup settings. This means that if you have 3 cash register servers, they can may have 3 different backup settings.

      Read more about the data storage structure in the article description of the system and data storage 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:Work

      • work.udb

      ...

      • — an open shift file
      • sh.udb

      ...

      • — a shift file before closing the

      ...

      • common shift
      • ns.udb

      ...

      • a new shift file, after closing and before payment of the first

      ...

      • receipt, may contain unpaid orders from the previous shift.

      To set up a POS cash server backup:In

      1. Start the manager

      ...

      1. and go to

      ...

      1. Service > Stations and Devices
      2. Choose your restaurant and

      ...

      1. click on a

      ...

      1. cash server. Go to the Properties tab.
        Image Added

      In the Backup section, you will see the following settings:Number of copies

      • Copies Quantity
      • Backup

      ...

      • Path — relative or absolute

      ...

      • Shifts Quantity — the number of shifts to be backed up

      ...

      • Backup Periodicity — back up at every specified interval in minutes

      ...

      • Transaction Quantity — 100 by default 
      • Backup Needed — check the box to activate.

      R_keeper 7 recovery

      To restore reсover r_keeper 7 from a backup:

      1. Install r_keeper 7

      ...

      1. via the installer or

      ...

      1. from the archive

      2. 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:

          1. \bin\win - for r_keeper 7 installed

      ...

          1. from the archive

          2. the corresponding folders for r_keeper 7 installed

      ...

          1. via the installer.

        • In the rk7srv.INI file in the [REFSERVER] section

      ...

        • change the

      ...

        • USESQL=0 setting

          Code Block
          [REFSERVER]

      ...

        • 
          USESQL = 0
      1. Start the

      ...

      1. reference server. It will automatically load your database
      2. After the first start,

      ...

      1. relicense all the servers that had the license
      2. If the database has been corrupted, then:
        1. Reconfigure the connection to the new external database and export the files
        2. In the rk7srv.INI file in the [REFSERVER] section, change the setting from USESQL = 1 to USESQL = 0
      3. Start the cash

      ...

      1. server.

      Restore using 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 restored recovered successfully, check:

      1. The presence of all previously closed shifts

      ...

      1. : in the manager station go to

      ...

      1. Service

      ...

      1. > Common Shifts Information
      2. Work of reports

      ...

      1. : build a cube report.

      ...

      1.  

      If the check is successful, the system is restoredrecovered, r_keeper 7 will continue to work with the previously saved databases.

      Useful

      ...

      Articles

      It will may be useful to read the following articles:

      ...

      ...

      ...