Home / Knowledge base / 9. REPSTANCE SERVER MAINTENANCE

9. REPSTANCE SERVER MAINTENANCE

As Repstance is a pre-configured Linux service it starts/stops together with the Server and MUST be maintained using the Linux Service Command.

9.1 How to Stop Repstance Services

In order to stop the Repstance Server the “service repstance stop“ must be used:

# service repstance stop

Stopping repstance: [ OK ]

9.2 How to Start Repstance Services

In order to start Repstance Server the “service repstance start“ must be used:

# service repstance start

Starting repstance: [ OK ]

9.3 How to Check Repstance Service Status

In order to check Repstance Server status the “service repstance status“ must be used:

# service repstance status
repstance (pid 3033) is running...

9.4 Backup Repstance Files

Regularly backup the Trail Files which are located in /opt/repstance/trail directory along with the Configuration Files, which are located in /opt/repstance/conf and Capture Checkpoint Files in /opt/repstance/captureckpt.* and lastly make sure that you record the last applied checkpoint in a file of you choosing.

9.5 Housekeeping

Schedule regular jobs which are responsible for cleaning up “old” Trail and Log Files which are found under these directories:

  • /opt/repstance/trail – Trail Files
  • /opt/repstance/log – Log Files