lcmbiar.jpgHello,
We use a script to do a backup BIAR, the script works well on QA servers, but in the prod does not execute correctly, it leaves the tomporary files, and the output file is wrong,
Thank you in advance for your help,
Regards,
Request clarification before answering.
After the second look at your screenshot and your script, I see that your question about the generated biar file, and about rename it.
Your script only renames the first one and not others.
...
First, the generated biar files are correct, the biar file has a limit size. When it is reached, a new file (segment) with the number at the end of the file name is created (ex. 1,2,3, and so on). in your case: Temp_Export, Temp_Export1, .... Temp_Export8
In the first biar file (without number) there is a file "segmentManifest.txt" containing the entire name of the segment biar files.
and if you import it later, just type in the name of the biar file with no numbers, and the program will know other segment files from "segmentManifest.txt"
...
so, renaming after creating the biar files will not be a good idea.
However, you can include the name with a date in your options.properties or move the biar files to another directory that has a corresponding name (with date)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It depends on how many / size of the documents are stored on your system.
and as I mentioned earlier, when the size of the backup file exceeds the limit, a new file is created and so on.
Therefore, you have many files on Prod for one backup.
....
Another tip: Since LCMCLI needs a temporary space to work (about 3-4 times the size of the entire backup), make sure you have enough space for the java tmp directory.
You can control the location of the Java tmp directory by adding -Djava.io.tmpdir=path/to/tmp to your run command.
also, increase the heap size (ex. -Xmx2g)
sounds like you are exporting very large number of objects or they are quite big, so the engine is creating multi-part lcmbiar archive. (which is normal)
The promotion management GUI is not going to be able to import this, you'll need to use CLI as well.
My suggestion is to reduce exports to smaller sets.
or use proper backup, not this...
Hi Souhail,
1. it is better to use the lcm.jar instead of biarengine.jar
you can find the script to run it:
windows: ...\SAP BusinessObjects Enterprise XI 4.0\win64_x64\scripts\lcm_cli.bat
linux: ..../sap_bobj/lcm_cli.sh
2. add -Djava.io.tmpdir=path/to/tmp to the script to control the used tmpdir. (As I mentioned earlier).
3. try to reduce the backup size to smaller one (adapt Query in options.properties).
4. When you import it, you can use CLI or Promotion Management in CMC.
but consider:
First, if you have BI4.1, you can not select one or more objects from the backup, the entire backup will be imported.
Second, if you use the Promotion Management in CMC to import the Backup, you must first customize the adaptive server that contains the "Promotion management service" (in "Command Line Parameter", add -Djava.io.tmpdir and increase the heap size, for example -Xmx8g).
......
Finally, as Denis mentions, you are on the safe side with additional CMS DB/FRS backups
How are you going to import those BIAR's back , since Promotion management doesn't support BIAR format and UMT can't import BIAR from same version ?
Also, if you depending on this type of backup - you will be in for a big surprise when you need to restore. Please use a proper CMS DB/FRS backups.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is the scripte that we use : scripte.jpg
On this link you can find all information of this package : https://archive.sap.com/documents/docs/DOC-68783
just the below download link dosn't working,
that is a script by a community member, so you have to ask him for it. Looks like he hasn't updated his profile, so is listed as Former member.
Again - if you are basing your backup strategy on lcmbiar - you are doing it wrong. It can be a supplemental piece, but it cannot replace proper backup.
And again - you need to use lcm cli functionality, not biarengine.
Review this pattern book , and you'll be able to make your own script :
https://www.sap.com/documents/2017/03/ea02bd5e-b17c-0010-82c7-eda71af511fa.html
Check for sufficient space on your "C" and "D" drives
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.