cancel
Showing results for 
Search instead for 
Did you mean: 

Exporting a Business Object Entity says success. But not able to find the exported file.

Former Member
0 Kudos

I have been working on a similar script , as we worked for promotion, for the exporting of the entity which is for back up. I have attached the script of it.

I have the following questions.

1) While trying to export the query , the script asks for LCMBIAR password , unless it is included in the script with the hardcoded value “Password1”. Is that the correct way?

2) After the execution of the script, it says successfully executed without errors but I am not able to find the backed up file in the mentioned path. What is the mistake I am making here?

3) In the exportLocation value, if I am giving the path without .lcmbiar filename, it automatically assigns the name in a particular format and throws File not found error. But if the value is given with any name or an asterisk symbol (ex Sample.lcmbiar or *.lcmbiar) query runs successfully. So my doubt here is if we import this file again what name will the entity get ?

action=export
LCM_CMS=Server Name
LCM_userName=administrator
LCM_password=PW
LCM_authentication=secEnterprise
Source_CMS=Server Name
Source_userName=administrator
Source_password=PW
Source_authentication=secEnterprise
exportQuery1=select * from ci_Infoobjects where si_cuid='FnerKktFQAgABjIAAJAL1loBABWi2hW'
exportLocation=C:\Users\Default\Desktop\*.lcmbiar---->3rd point
includeSecurity=true
includeDependencies=true
lcmbiarpassword=Password1----> 1st Point
stacktrace=true
consoleLog=true

Accepted Solutions (1)

Accepted Solutions (1)

denis_konovalov
Active Contributor
0 Kudos

1. yes. you have to provide the password explicitly. Or you can just comment out this option and your lcmbiar fie will be without password. See Admin guide for all options explanation

2/3 you cannot use *.lcmbiar in the export location. Again - see the Admin guide for details and sample properties file.
Make sure the destination you provide is accessible for the user which runs the script.

Answers (1)

Answers (1)

Former Member
0 Kudos

Yes. After giving the password option it works. Thanks @Denis! I have another question. PMT is capable of doing promote , export and ROLLBACK. Is the Command Line interface also capable of doing the rollback option. In the admin guide I was not able to find it out.

So is there any way to rollback using the CLI method?

denis_konovalov
Active Contributor
0 Kudos

there is no rollback with command line.

Former Member
0 Kudos

Thanks for the prompt reply Denis. Again!!

One more question (Hope this is the Final!!!) when i exported a report it goes into a single .lcmbiar file.

When i export multiple reports/universe also it goes as a single .lcmbiar file.

So if import that particular .lcmbiar file which i did with multiple reports will all the reports be there?

denis_konovalov
Active Contributor

Yes. All will be there.
there is always a single lcmbiar at the end. Except when content total size is too great, then lcmbiar will be split into multiple parts.
lcmbiar is simply a RAR like archive.

Former Member
0 Kudos

Thanks a lot Denis. For all the suggestions you have given so far. Very much Helpful!