Re: [foxboro] Backup strategies - Best Practices?

Tom,

You should always write full path name in a script.

D:/opt/fox/ciocfg/api/save_all.ksh -d <LBUG> d:/opt/Saveall/<LBUG>

If you use $OPT, it needs to be defined in your code.


Terry Doucet, Eng.


-----Message d'origine-----
De : foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] De la 
part de Chaiket, Thom
Envoyé : November 26, 2008 1:46 PM
À : foxboro@xxxxxxxxxxxxx
Objet : Re: [foxboro] Backup strategies - Best Practices?

I wanted to automate the creation of save_all files on my P91 (XP, 2003
server).  What I had in mind was writing a batch file to execute
save_all.ksh on every Sunday at 2 AM and have the save_alls saved to
opt/Save_all folder.  

I'm good on using Scheduler to automate the 2 AM Sunday execution.
However, the file itself is kicking me.  

My batch file looks like this:

D:
ncenv
sh
cd opt/fox/ciocfg/api
save_all <STN> $OPT/opt/Saveall/<STN>

I've spent a couple days looking for ways to correct the syntax, but I
still can't get it to work.  I would greatly appreciate assistance.

Thanks and happy T-giving to all.

t    

 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: