Clarity

  • 1.  Export of Jaspersoft content

    Posted Jan 12, 2017 05:56 AM

    Hello All,

     

    We are planning for upgrade of Jasper soft server to 6.2.1. To export the content for upgrade, we found below statement in the upgrade guide:

     

    "Do not use the export command (admin jaspersoft export) to create a content zip file for use in upgrading Jaspersoft. Export the tenant-level data from the Jaspersoft server using either the Jaspersoft UI (Manage, Server Settings, Export) or the Jaspersoft export command (js-export.bat in /buildomatic/)."

     

    Has anyone used js-export.sh script to export the content and how to call the script (using which all inputs)?

     

    Thanks,

     

    Pragya Singh



  • 2.  Re: Export of Jaspersoft content

    Broadcom Employee
    Posted Jan 12, 2017 07:39 AM

    Hi Pragya,

     

    Please find the steps we have documented to export at tenant level

     

    Upgrade Jaspersoft and Advanced Reporting Content - CA PPM - 15.1 - CA Technologies Documentation 

     

    Follow these steps:

    1. Open a command prompt in the install directory/bin and execute the following command:

      admin jaspersoft export [-orgName t1,t2,t3,..., tn] [-fileName zipfile name] [-includePublic=true]|[-includeServerSettings=true] -fromUserName <superuser> -fromPassword <superuser_password> -fromUrl <JSURL> -allOrgs -properties -overwrite

      • orgName—Specify the organization IDs of the tenants to be exported. Separate multiple IDs with commas. If this parameter does not include organization IDs, help information is displayed. Omit this parameter if you want to export only the public folder (or the server settings) and no tenants.

      • fileName—Enter the name of the zip file that you are exporting the Advanced Reporting content to. You can export single or multiple tenants to this file. 

      • includePublic—(Optional) This parameter exports the public folders at the global level from the server. This parameter is not specific to a tenant, but applies to the source server (which encompasses all tenants on the source server).

      • includeServerSettings—(Optional) This parameter exports the server settings at the global level from the server. This parameter is not specific to a tenant, but applies to the source server (which encompasses all tenants on the source server).

      • fromUserName—Enter the super user Jaspersoft user name.

      • fromPassword—Enter the password for the Jaspersoft super user.

      • fromUrl—Provide the URL of the source server.

      • allOrgs—Exports all the organizations from the Jaspersoft report server.
      • properties—Specify the name of the properties file that contains the export command parameters (instead of specifying the parameters individually in the command).
      • overwrite—This parameter overwrites a previously created export zip file, if the file exists.

    The export command fails in the following cases:

    • Required parameters are missing.
    • The include option folder name is not public (for example, you specify -includeTemp instead of -includePublic).
    • User credentials are not for the Jaspersoft super user.
    • The orgName parameter is included in the command, but tenants are not specified.

    Let me know if you are facing any challenges 

     

    Regards

    Suman Pramanik 



  • 3.  Re: Export of Jaspersoft content

    Posted Jan 12, 2017 07:53 AM

    Hello Suman,

     

    Can this admin export command be used for Jasper-soft upgrade export? as it is mentioned in the important section that "Do not use the export command (admin jaspersoft export) to create a content zip file for use in upgrading Jaspersoft."

     

    Thanks,

    Pragya Singh



  • 4.  Re: Export of Jaspersoft content

    Broadcom Employee
    Posted Jan 12, 2017 08:04 AM

    admin export command can be used with the parameter as mentioned and not just admin export command. 



  • 5.  Re: Export of Jaspersoft content

    Posted Jan 18, 2017 02:40 AM

    Hi Suman,

     

    Can you provide a sample usage of this export and import command.

     

    admin jaspersoft export command is giving output in zip file, but Jaspersoft export command (js-export.sh in /buildomatic/) is giving output in directory form and i believe jaspersoft 6.2.1 upgrade installer is checking for zip file during installation.

     

    Then how we can import content exported using js-export.sh in /buildomatic/

    any suggestion on this?

    Thanks,
    Agin



  • 6.  Re: Export of Jaspersoft content

    Broadcom Employee
    Posted Jan 18, 2017 07:10 AM

    Hi Agin,

     

    Using this command you will get the zip file and you need to install a jaspersoft 6.2.1 and import this zip file.

     

    Regards

    Suman Pramanik