KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Best Practices for Backing up HostMonitor Program/Data?

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Other
View previous topic :: View next topic  
Author Message
Dataprise



Joined: 21 Aug 2008
Posts: 13
Location: Rockville, MD

PostPosted: Thu Aug 21, 2008 5:42 pm    Post subject: Best Practices for Backing up HostMonitor Program/Data? Reply with quote

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.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Fri Aug 22, 2008 9:34 am    Post subject: Reply with quote

Quote:
I know it is an .xml file

HML actually.
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/mframe.htm#other.htm#TechInfo

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Dubolomov



Joined: 01 Jun 2006
Posts: 214
Location: Russia

PostPosted: Wed Aug 27, 2008 1:12 am    Post subject: Reply with quote

I have scheduled task that runs script every night at 00:10am:
Code:
"C:\Program Files\HostMonitor5\Scripts\Archive.bat" %yyyymmdd[-8d]% %yyyymmdd[-1d]% %yyyymmdd% %hhnn%


This bat file get command line parameters and execute this code:
Code:
@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


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.
Back to top
View user's profile Send private message
Dataprise



Joined: 21 Aug 2008
Posts: 13
Location: Rockville, MD

PostPosted: Fri Sep 19, 2008 5:24 am    Post subject: Reply with quote

great, thanks everyone!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Other All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index