Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tibco_jasper_management [2021/04/23 09:34] – andonovj | tibco_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, 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: | ||
< | < | ||
- | js-export --everything --output-zip | + | [root@TainBITestnewTrial buildomatic]# |
+ | Execute failed: java.io.IOException: | ||
+ | Validating JasperServer database connection at jdbc: | ||
+ | Connection OK | ||
+ | Keystore OK | ||
+ | |||
+ | VALIDATION COMPLETED | ||
+ | Total time: 6 seconds | ||
+ | Executing Pro version | ||
+ | Using Bundled version of Java | ||
+ | First resource path: / | ||
+ | Loading configuration resources | ||
+ | Initialization complete | ||
+ | Processing started | ||
+ | Exporting tenant organizations (/) | ||
+ | Exporting tenant 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 / | ||
+ | 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 | ||
</ | </ | ||
- | 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: | ||
< | < | ||
- | js-import --input-zip | + | [root@TainJasperBI buildomatic]# |
+ | Execute failed: java.io.IOException: | ||
+ | Validating JasperServer database connection at jdbc: | ||
+ | Connection OK | ||
+ | Keystore OK | ||
+ | |||
+ | VALIDATION COMPLETED | ||
+ | Total time: 6 seconds | ||
+ | Executing Pro version | ||
+ | Using Bundled version of Java | ||
+ | First resource path: / | ||
+ | Loading configuration resources | ||
+ | Initialization complete | ||
+ | Processing started | ||
</ | </ | ||