Quantcast
Channel: OSIsoft Users Community
Viewing all articles
Browse latest Browse all 1120

PIBackup.bat not working in Program Files (x86) 64-bit 2008 R2 environment

$
0
0

Hello,

 

When I am running pibackup.bat in order to create a backup of the historian, I get an error message.

When searching through the .bat file, I found out this is because the PIServer environment variable is in the "Program Files (x86)" folder.

 

::   Backup procedure for PI 3.4
::   $Revision: 44 $

 

(part of pibackup.bat)

if not defined PIServer (

   @echo Assuming the \pi\adm path is the current directory...

   set AdmPath=%CD%

) else (

   @echo The PIServer variable is set to %PIServer%

)

 

As explained here:

http://marsbox.com/blog/howtos/batch-file-programfiles-x86-parenthesis-anomaly/

 

Is this because I am not using the latest version of pibackup.bat?

I am not comfortable in editing the entire batch file myself...

 

Thanks a lot for any comments or help,

 

Best Regards,

 

Joris

 


Viewing all articles
Browse latest Browse all 1120

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>