How can i Import BIAR file by CommandLine?

Dear All,

How can i import BIAR file by using command line?
My configuration is below:

BO Version: BOXI R3
OS : WINDOWS XP
Service Pack: 3

I tried with the following code:

java -jar biarengine.jar “BLDHKBO02:6400" “Administrator” “bl123456" "secEnterprise" D:\MyBIApplication.biar

but failure. Have any Prerequisite about JRE file? Can any body help me?

Regards

Tamzidul Amin.


tamzidulamin (BOB member since 2010-05-02)

You could have first searched BOB (search keywords: command line BIAR import)
Found two results here:

Go through the XI 3.1 admin guide from here as well
.


haider :es: (BOB member since 2005-07-18)

Where to be stored properties file (such as MyExport.properties)?
and how to call a properties file from cmd?

Regards,

Tamzidul Amin.


tamzidulamin (BOB member since 2010-05-02)

Dear Haider,

Thanks ur quick reply.
I have create a properties file like :

I have call this properties file from cmd by the following command & raise the following error:

Please help me.

Regards
Tamzidul Amin.


tamzidulamin (BOB member since 2010-05-02)

Since I dont have XI 3.1 access at my side, I cannot do much except to tell you to wait for someone to help you
.


haider :es: (BOB member since 2005-07-18)

Dear Haider,

please try to help me to fix my problem.

I wrote a properties file as below to export a biar file by using command line backup:


action=importXML 
exportBiarLocation=D:\Tamzid\BIAR\Test_Import.biar
userName=Administrator
password=******
authentication=secEnterprise
CMS=bldhkbotest01:6400
exportDependencies=false
includeSecurity=true
exportQuery=select * from ci_appobjects

I have called the above code from a cmd prompt as below:


java -jar biarengine.jar D:\Tamzid\BIAR\MyExport.properties

It gives an error
[/code]Enterprise authentication could not log you on. Please make sure your logon info
rmation is correct. (FWB 00008)[/quote]
though my logon information is correct.

Please any body help me.

Best Regards
Tamzid.


tamzidulamin (BOB member since 2010-05-02)