Clarity

  • 1.  Jaspersoft Custom Reports Backups during patch install or Upgrade

    Broadcom Employee
    Posted Sep 02, 2015 06:12 PM

    Hello fellow Clarity folks,

     

     

    I thought I might share some more tips concerning Jaspersoft. I hope this will be useful for some of you that develop their own reports.

     

    What to do for Custom Reports Backup

    Let's say you have custom reports and you need to keep them on the Jaspersoft Server.

     

    Best practice : do not keep your custom reports under CA PPM. During upgrade or patch install, this folder may get overwritten.

     

    If you are about to install a patch or upgrade please do the following:
    1. Move your custom reports to Shared Folder
    2. For additional backup, you may export your reports. You can do this by right-clicking on the report and selecting Export:


    Then uncheck the options shown in the popup unless you specifically use them:

    You can also save and export an entire folder if all your custom reports are saved there with the same option.

    To reimport the exported to zip data after patch/upgrade go to Manage - Server Settings - Import, enter your file name in Browse and select the options needed.

     

    Important Note : This export/import will only work well with the same organization id. So if you are deleting and recreating the organization or changing its name, you may encounter issues. Jaspersoft exports the report with the full path, and this path includes the tenant id in the zip file. Correcting it manually may corrupt the archive. Creating the same organization name and copy the content over from the old one may not work because in some cases the JS server may not redirect the dependencies, so the reports may still point to the datasource bean from the old organization.

    So if you are using those export backups please avoid deleting the organization whenever possible. With same organization id, you will not encounter issues when importing back.

     

     

    Please note the solution above is applicable for On Premise customers only, as On Demand customers will not have access to Jaspersoft Console UI.

     

    Hope this helps

    Nika



  • 2.  Re: Jaspersoft Custom Reports Backups during patch install or Upgrade

     
    Posted Sep 02, 2015 07:31 PM

    Thanks for sharing this tech tip with the community Nika!

    NIKA HADZHIKIDI wrote:

     

    Hello fellow Clarity folks,

     

     

    I thought I might share some more tips concerning Jaspersoft. I hope this will be useful for some of you that develop their own reports.

     

    What to do for Custom Reports Backup

    Let's say you have custom reports and you need to keep them on the Jaspersoft Server.

     

    Best practice : do not keep your custom reports under CA PPM. During upgrade or patch install, this folder may get overwritten.

     

    If you are about to install a patch or upgrade please do the following:
    1. Move your custom reports to Shared Folder
    2. For additional backup, you may export your reports. You can do this by right-clicking on the report and selecting Export:


    Then uncheck the options shown in the popup unless you specifically use them:

    You can also save and export an entire folder if all your custom reports are saved there with the same option.

    To reimport the exported to zip data after patch/upgrade go to Manage - Server Settings - Import, enter your file name in Browse and select the options needed.

     

    Important Note : This export/import will only work well with the same organization id. So if you are deleting and recreating the organization or changing its name, you may encounter issues. Jaspersoft exports the report with the full path, and this path includes the tenant id in the zip file. Correcting it manually may corrupt the archive. Creating the same organization name and copy the content over from the old one may not work because in some cases the JS server may not redirect the dependencies, so the reports may still point to the datasource bean from the old organization.

    So if you are using those export backups please avoid deleting the organization whenever possible. With same organization id, you will not encounter issues when importing back.

     

     

    Hope this helps

    Nika



  • 3.  Re: Jaspersoft Custom Reports Backups during patch install or Upgrade

    Broadcom Employee
    Posted Sep 03, 2015 02:41 AM

    Thanks Nika, the Manage server setting can be navigated via Jasper Admin Console as that option is not available via CA PPM.

     

    Regards

    Suman Pramanik



  • 4.  Re: Jaspersoft Custom Reports Backups during patch install or Upgrade

    Posted Sep 03, 2015 12:54 AM

    Thanks for sharing this, Nika

     

    Regards

    NJ