Product: | Elvis |
Version: | from 2.7.709 |
Booth: | 2010-12-14 |
Summary
You have the option of backing up your database on the fly. This can be done once via the Save button in the Elvis server remote control, but is also possible via command line parameters.
Details
The following options are available (from version 2.7.709):
Create a backup of a database on the fly (Elvis server continues to run):
From a command line, enter in the Elvis directory: ElvisRsc <computer> -backup <database name><local file name> -u=<Username> [-p=<Pwd>] <computer>
computer: local, IP address, or remote name
For example, C:\Program Files\Elvis 2.7>ElvisRsc. -backup demo “C:\Temp\demobackup.db \demo1.db” -u=Administrator -p=administrator
There is also the possibility to start or stop a database with remote control via command line parameters.
To start a database:
From a command line, enter in the Elvis directory: “ElvisRsc<computer-start>< database path>”
computer: local, IP address, or remote name
For example, C:\Program Files\Elvis 2.7>ElvisRsc. -start “C:\Program Files\Elvis 2.7\Examples\demo.db”
To stop a database:
From a command line, enter in the Elvis directory: ElvisRsc <computer> -stop <Database> -u=<Username> [-p=<Pwd>]
computer: local, IP address, or remote name
For example, C:\Program Files\Elvis 2.7>ElvisRsc. -stop demo -u=Administrator -p=administrator
Parameter overview of the server remote control (ElvisRsc.exe):
ElvisRsc -?
In order to automate the backup, you can then use the usual Windows on-board tools (e.g. scheduled tasks, batch files).
From 2.5 to version 2.7.709:
In order to obtain a backup (copy) of the database during operation, the command line tool ElvisBackup can be used.
Download the kb050043.zip file (16 KB).
- Unzip the file into the Elvis directory.
- Start the Windows Command Prompt via Start-Run-cmd>> and OK.
- Hold down the left mouse button and drag the ElvisBackup.exe file to the command prompt or enter the path + file name (if the path contains spaces, enter the path and file name in quotation marks).
- As the first parameter, enter the database name.
- As a second parameter, specify the destination with the path and file name (if the path contains spaces, the path and file name must be entered in quotation marks).
- Press Enter.
Example: “C:\Program Files\Elvis 2.5\ElvisBackup.exe” Example “C:\Program Files\Elvis 2.5\Backup\Beispiel_2007.db”