KNOWLEDGE BASE

face-white

Process Server at Runtime

14.12.2010 15:00

KB050043 | SAVE A DATABASE WHILE THE PROCESS SERVER IS RUNNING

INF

Product: Elvis
Version: from 2.7.709
Stand: 2010-12-14

Summary

You have the option to save your database, while the process server is running. This works once by the button Save in Elvis-server-remote control. But you can do this also via command line parameters.

Details

You can use the following options (from version 2.7.709):

Compile a backup while the process server is running:
Enter in your Elvis-directory via command line: ElvisRsc <computer> -backup <database name><local file name> -u=<user> [-p=<pwd>] <computer>
computer: for local, IP address or name for remote
e.g.: C:\Programme\Elvis 2.7>ElvisRsc. -backup demo “C:\Temp\demobackup.db \demo1.db” -u=Administrator -p=administrator

You can also start or stop a database via the process server remote control by command line parameters.

Start a database:
Enter in your Elvis-directory via command line: “ElvisRsc<computer>-start<database path>”
computer: for local, IP address or name for remote
e.g.: C:\Programme\Elvis 2.7>ElvisRsc. -start “C:\Programme\Elvis 2.7\Beispiele\demo.db”

Stop a database:
Enter in your Elvis-directory via command line: ElvisRsc <computer> -stop <database name> -u=<user> [-p=<pwd>]
computer: for local, IP address or name for remote
e.g.: C:\Programme\Elvis 2.7>ElvisRsc. -stop demo -u=Administrator -p=administrator

Overview of Parameters of the server-remote control (ElvisRsc.exe):
ElvisRsc -?

For automate the backup you can use the usual help of windows (e.g. scheduled tasks , batchfiles).

Versions 2.5 to 2.7.709:

For making a backup (copy) of a database while the process server is running, you can use the command line-tool ElvisBackup.

Download here the file kb050043.zip (16 KB).

  1. Unzip the file in the Elvis-directory.
  2. Start the windows command prompt via Start->Run->cmd and OK.
  3. Drag and drop the file ElvisBackup.exe in the command prompt or give in the path + file name (if there is a blank in the path, you have to give in the path and file name in quotion marks).
  4. Give in the databasename as first parameter.
  5. ive in the target with path and file name as second parameter (if there is a blank in the path, you have to give in the path and file name in quotion marks).
  6. Press Enter.

example: “C:\Programme\Elvis 2.5\ElvisBackup.exe” example “C:\Programme\Elvis 2.5\Backup\example_2007.db”