Upgr. BATs to Backup/Restore ServersCheck

[Deleted User][Deleted User]

Version 5.x of ServersCheck:

Run this BAT to Backup your serverscheck before upgrading it:

copy c:serverscheck.mdb c:temp
pause
copy "c:Program FilesServersCheck*.conf" c:temp
pause
xcopy "c:Program FilesServersCheckoutput" c:tempOutput /E
pause
copy "c:Program FilesServersCheckserverscheck.lic" c:temp
pause
echo Remove now in the Add/Remove Panel the ServersCheck and reboot the server. Then, install the new version.

pause

Run this BAT for Restore, after removing and installing the new version:

copy c:tempserverscheck.mdb c:
pause
copy c:temp*.conf "c:Program FilesServersCheck*.conf"
pause
xcopy c:tempOutput "c:Program FilesServersCheckOutput" /E
pause
copy c:tempserverscheck.lic "c:Program FilesServersCheckserverscheck.lic"
pause
echo You can now put the 2 services in Automatica and start them

Comments

  • AdministratorAdministrator
    Dear user,



    Thanks for sharing this!



    Also make sure to copy the serverscheck.dat file as that one stores the stats of the different rules.



    As of version 5.0.4, a new upgrade feature is included that no longer requires the removal of ServersCheck. It will automatically update the changed files only without affecting the configuration.



    Regards



    Forum Administrator
This discussion has been closed.