User bio
404 bio not found
Member since Aug 8
Replies:

Hey,

thanks for the commet Erik (btw. great name ;) )  !

I think in general I have to admit that we are talking about a relative small office using a software which is using IRIS. Obviously having a perfekt "backup and restore strategy" would be wonderfull but we also have to leverage a bit the effort to create the perfekt strategy and to restore from a not so perfekt strategy.

So my personal answer to my own question is to copy the two directorys I got told to backup to be able to get the software running again ;)

Not sure wheather there is someone in this forum who is interested in this but find below my batchfile:

:: ------------- Set Path
:: - example path!!!
set PATH=%PATH%;C:\Program Files (x86)\WinSCP\
set PATH=%PATH%;c:\CacheSys\bin\

:: ------------ Generate Timestamp 
for /f "delims=" %%a in ('wmic OS get localdatetime  ^| find "."') do set datetime=%%a

set "YYYY=%datetime:~0,4%"
set "MM=%datetime:~4,2%"
set "DD=%datetime:~6,2%"
set "HH=%datetime:~8,2%"
set "MI=%datetime:~10,2%"
set "SS=%datetime:~12,2%"

set fullstamp=%YYYY%-%MM%-%DD%-%HH%-%MI%-%SS%

:: ------------ Stop IRIS
iris stop IRISHEALTH

:: ------------ Start FTP Upload 
::Create directory for ftp upload
mkdir C:\WinSCP_Logs\%fullstamp%\ 

:: Exec FTP client and ipload file
winscp.com /log="C:\WinSCP_Logs\%fullstamp%\logfile.log"^
    /command ^
    "open ftp://User:Password@serveraddress" ^
    "put [src] [dest]%fullstamp%"^
   "exit"


:: ------------ start Iris 
iris start IRISHEALTH

Certifications & Credly badges:
Erik has no Certifications & Credly badges yet.
Global Masters badges:
Erik has no Global Masters badges yet.
Followers:
Erik has no followers yet.
Following:
Erik has not followed anybody yet.