Watchdog
It is not possible to perform a data backup of the server data file while it is being accessed. To bypass this problem, the ‘Watchdog’ has been developed. Watchdog is capable of shutting down and backing up the server at a specific time or on command and restarting the server.
After starting the Watchdog, the icon appears in the tray bar (next to the time) and can be displayed by clicking on it with the mouse. The following dialog box appears:

If the server is running as a service, click on > Server runs as Service, because a service has to be started differently than a program.
The fields at the top are used for entering a time, e.g. 1:00 a.m.. The server is shut down at this time, a script is executed and the server restarted.
Clicking on > Setup Script opens the following dialog box:

Clicking on Insert Command allows you to enter a command (Copy or Execute). It is possible to test this by clicking on Run. Both commands of the script each have an entry screen:

Start from the command line or Task Scheduler
Since Watchdog only runs as a program, we recommend you use the Windows Task Scheduler to start the Watchdog. If Watchdog is started with the Stop parameter, the server is shut down. To start it, use the Start command from the command line.
Example: Start and shut down the program plus data backup
Cd c:\programs\Quester\OLfolders
C:\OLWWatchdog Stop
Copy c:\data\outlook.pst c:\data\outlooksic.pst
Ntbackup c:\data c:\data.bkf
Start OLWServer.exe
Example: Start and shut down the service plus data backup
Cd c:\programs\Quester\OLfolders
C:\OLWWatchdog Stop
Copy c:\data\outlook.pst c:\data\outlooksic.pst
Ntbackup c:\data c:\data.bkf
Net start OLWService |