Introduction
This article provides a guide to using Cerberus from the command line. You may run Cerberus using the options defined in the configuration file or override with command arguments.
Running from the Console
Do not run Cerberus from the console and as a Windows service concurrently. Doing so runs the risk of data collisions, corruption and general bad karma.
Cerberus may also be run from the command line as a console application. This has a number of advantages as you may override the configuration through use of command arguments. This allows Cerberus to be used as a more flexible and immediate tool.
For example, the command ./Cerberus /times now
starts Cerberus and then immediately (within the next minute or so) start a full database backup.
Accessing Cerberus in console
Cerberus may be equally used as a Windows Service or as a console application.
- Open an elevated command prompt (search for 'cmd', right-click on 'Command Prompt', Select 'Run as Administrator'
- Move to the directory containing Cerberus
- Execute ./Cerberus.exe with a command arguments you wish to use. If you don't use include any arguments, Cerberus will run using the configuration option defined in AppSettings.Config
Console Help & Behaviour
To a view full list of available command arguments, use the /? or /help command argument. For example:
./Cerberus.exe /help
Alternatively, see detailed explanation of command line arguments.