tibco_jasper_management

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tibco_jasper_management [2021/04/23 09:34] andonovjtibco_jasper_management [2021/04/23 10:32] (current) – [Export] andonovj
Line 48: Line 48:
 Let's do it with Command Line: Let's do it with Command Line:
  
-====Export====+====Export From 7.5==== 
 +From 7.5, we have to include secret key, keyalias and keypass, if we wish to migrate data between Jasper Servers:
  
 We can export all content as follows: We can export all content as follows:
 <Code:bash|Export> <Code:bash|Export>
-js-export --everything --output-zip myExport.zip+[root@TainBITestnewTrial buildomatic]# ./js-export.sh  --genkey --keyalias mycustkey --keypass "mykeypw2" --everything --output-zip jasperReports.zip 
 +Execute failed: java.io.IOException: Cannot run program "git": error=2, No such file or directory 
 +Validating JasperServer database connection at jdbc:postgresql://127.0.0.1:5432/jasperserver. Phase: [import-export-test] 
 +Connection OK 
 +Keystore OK 
 + 
 +VALIDATION COMPLETED 
 +Total time: 6 seconds 
 +Executing Pro version 
 +Using Bundled version of Java 
 +First resource path: /opt/jasperreports-server-7.9.0/buildomatic/conf_source/iePro 
 +Loading configuration resources 
 +Initialization complete 
 +Processing started 
 +Exporting tenant organizations (/) 
 +Exporting tenant organization_1 (/organization_1) 
 +Exporting user anonymousUser 
 +Exporting user superuser 
 +Exporting user jasperadmin of tenant organization_1 
 +Exporting user joeuser of tenant organization_1 
 +Exporting user CaliforniaUser of tenant organization_1 
 +Exporting user demo of tenant organization_1 
 +Exporting role ROLE_ADMINISTRATOR 
 +Exporting role ROLE_USER 
 +Exporting role ROLE_ANONYMOUS 
 +**************************************************************************** 
 +Exported 1 job(s) for the /organizations/organization_1/reports/MontlyReport/Monthly_Provider_Summary report unit 
 +      Secret Key: 0x9e 0xa3 0xfb 0x13 0xf9 0x4a 0xa0 0x6f 0x6f 0x81 0x0b 0xa9 0x6e 0x57 0xce 0x9d 
 +Key Alias (UUID): 84a99969-16e0-47ce-818f-b99caef11003 
 +Done 
 </Code> </Code>
  
-That command will export all the content: roles, reports, users, etc.+That command will export all the content: roles, reports, users, etc. and it will generate also secret key and  key alias, which you need to use during the import:
  
 Now to import it back, use the following command: Now to import it back, use the following command:
  
 <Code:bash|Import> <Code:bash|Import>
-js-import --input-zip myExport.zip+[root@TainJasperBI buildomatic]# ./js-import.sh --input-zip /home/andonovj/jasperReports.zip --secret-key "0x9e 0xa3 0xfb 0x13 0xf9 0x4a 0xa0 0x6f 0x6f 0x81 0x0b 0xa9 0x6e 0x57 0xce 0x9d" 
 +Execute failed: java.io.IOException: Cannot run program "git": error=2, No such file or directory 
 +Validating JasperServer database connection at jdbc:postgresql://127.0.0.1:5432/jasperserver. Phase: [import-export-test] 
 +Connection OK 
 +Keystore OK 
 + 
 +VALIDATION COMPLETED 
 +Total time: 6 seconds 
 +Executing Pro version 
 +Using Bundled version of Java 
 +First resource path: /opt/jasperreports-server-7.9.0/buildomatic/conf_source/iePro 
 +Loading configuration resources 
 +Initialization complete 
 +Processing started 
 </Code> </Code>
  
  • tibco_jasper_management.1619170460.txt.gz
  • Last modified: 2021/04/23 09:34
  • by andonovj