[ipac] HIP backup script
Bozena Gorska
bozena.gorska at gmail.com
Tue Jul 24 12:44:46 EDT 2007
Hello,
We are in the process of moving our Unix HIP to Windows. We have created a
scheduled task that stops all HIP services copies the entire dynix directory
and restarts services again.
However, somehow the dynamic indexer seems to loose the connection to
Horizon (we get the ProKey Loader error).
Can someone send me a similar script if you have one or perhaps you can have
a look at ours?
p.s. We also have the SirsiDynix backup_and_rebuild.bat, but I wanted to
have an extra backup.
By the way have you noticed, that their backup_and_rebuild restarts HzApp
before HzXSL, which according to the Resolution# 541716 is not correct:
"The critical steps in Starting HIP are that the HzXSL service be started
before HzApp "
Here is my script,
REM STOP indexer
d:
cd \dynix\hznindexservices\win
REM Stop Indexer and Dynamic Indexer
call stopindexer.bat
REM Stop Searchserver
call stopsearchserver.bat
REM Delay for 30 seconds to make sure all the processes were stopped
c:\winat\delay.exe 30
REM STOP Hzsearch
net stop HzSearch
REM STOP HzAPP
net stop HzApp
REM STOP HzXSL
net stop HzXSL
xcopy d:\dynix\*.* /e/y/r e:\dynix-bkup
REM START HzXSL
net start HzXSL
REM START HzApp
net start HzApp
REM START HzSearch
net start HzSearch
REM START INDEX SERVER
start D:\dynix\hznindexservices\win\startindexserver.bat
REM DELAY FOR 15 SECONDS
delay.exe 15
REM START DYNAMIC INDEXER
start D:\dynix\hznindexservices\win\startdynamicindexer.bat
exit
Thank you in advance,
--
Bozena Gorska
Library Systems Analyst
Peel District School Board
5650 Hurontario St
Mississauga, Ont
L5R 1C6
p. 905-890-1010 x2672
f. 905-890-7219
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.tblc.org/pipermail/ipac/attachments/20070724/f00b69e9/attachment.html
More information about the ipac
mailing list