Hello,
What is the easiest way to backup the Host Monitor data and its configurations? I am worried if the server crashes we will lose the configuration. I know it is an .xml file, but besides backing those up, should I just have the whole directory (minus the logs) backed up?
Secondly, What does RMA Manager use to keep it's configuration? I want to make sure that is being backed up as well. I am not using backup exec, but rather an FTP connection to my offsite server.
Thanks for any and all assistance.
Best Practices for Backing up HostMonitor Program/Data?
HML actually.I know it is an .xml file
Also you need to store all *.LST and *.INI files from HostMonitor folder and subfolders.
Please check the manual for more detailed information
http://www.ks-soft.net/hostmon.eng/mfra ... m#TechInfo
Regards
Alex
I have scheduled task that runs script every night at 00:10am:
This bat file get command line parameters and execute this code:
First four strings are just comment for command line parameters.
Next four strings checks if all needed command line parameters exists.
Then it deletes log-files older one week.
Then it archives all logs for yesterday using zip (wzzip is a command line archivator) and create file "HostMonitor_Logs_for_[date-of-log-files]_date__(created_at__[time-and-date-of-creation-archive]).zip".
And then it archives all HM folder and create archive file "HostMonitor_for_[date-of-HM-files]_date__(created_at__[time-and-date-of-creation-archive]).zip".
After this i have schedule task on backup server for getting this archive files.
You can edit this script just for HM backuping or something else.
Code: Select all
"C:\Program Files\HostMonitor5\Scripts\Archive.bat" %yyyymmdd[-8d]% %yyyymmdd[-1d]% %yyyymmdd% %hhnn%
Code: Select all
@echo %1 - Date of files for deleting (yyyymmdd[-8d]).
@echo %2 - Yesterday (yyyymmdd[-1d]).
@echo %3 - Today (yyyymmdd).
@echo %4 - Real Time (hhnn).
@if '%1'=='' goto quit
@if '%2'=='' goto quit
@if '%3'=='' goto quit
@if '%4'=='' goto quit
del /Q "C:\Logs.Old\*%1--log.txt" > "C:\Logs\SysLog\Archive--%3_%4.log"
"C:\Program Files\HostMonitor5\Utils\WinZIP\Wzzip.exe" -a -ep -whs -p -r -ybc "C:\BackUp\HostMonitor_Logs_for_%2_date__(created_at__%3_%4).zip" "C:\Logs.Old\*%2--log.txt" >> "C:\Logs\SysLog\Archive--%3_%4.log"
"C:\Program Files\HostMonitor5\Utils\WinZIP\Wzzip.exe" -a -ep -whs -p -r -ybc "C:\BackUp\HostMonitor_for_%3_date__(created_at__%3_%4).zip" "C:\Program Files\HostMonitor5" >> "C:\Logs\SysLog\Archive--%3_%4.log"
:quit
exit
Next four strings checks if all needed command line parameters exists.
Then it deletes log-files older one week.
Then it archives all logs for yesterday using zip (wzzip is a command line archivator) and create file "HostMonitor_Logs_for_[date-of-log-files]_date__(created_at__[time-and-date-of-creation-archive]).zip".
And then it archives all HM folder and create archive file "HostMonitor_for_[date-of-HM-files]_date__(created_at__[time-and-date-of-creation-archive]).zip".
After this i have schedule task on backup server for getting this archive files.
You can edit this script just for HM backuping or something else.