Jump to content

How do i import exported reports using js-import


pentaho

Recommended Posts

Hi

 

Exporting Everything......

C:Program Filesjasperserver-3.1>js-export --everything --output-dir C:/sum


Export /Reports Folder Contents
C:Program Filesjasperserver-3.1>js-export --uris /Reports --output-dir C:/sum1

 

By using the above commands i have exported all the reports.............

In one of the folder(Account_Management) I have a Specfic report Contact_List report.........

How can i import this folder...............

Suggest me the import command syntax...............

I have attached my exported report folder...........

I tried the below command, but it is not importing the report..........

Exporting Files to Folder...........
C:Program Filesjasperserver-3.1>js-import --input-dir js-catalog --prepen-path C:/AM

C:/AM Contains the reports.....

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi,

Got the solution.........

The Repository Export utility writes out all of the JasperServer Repository objects to a set of XML and binary format files.

The output of the export operation is known as an export catalog.

To create the export catalog,

enter these commands: cd <js-install>/scripts

js-export.bat --everything --output-dir js-backup-catalog

 

OR


Exporting Everything......

C:Program Filesjasperserver-3.1scripts> js-export.bat --everything --output-dir js-backup-catalog


Export /Reports Folder Contents


C:Program Filesjasperserver-3.1scripts>js-export --uris /Reports --output-dir js-backup-catalog

 

The import utility reloads all of your repository data. As the data is being saved to the repository,

To import your backup catalog to the repository,

change directory to:

cd <js-install>/scripts

Enter these commands: js-import.bat --input-dir js-backup-catalog

Copy & paste  the exported folder(js-backup-catalog) into the following path(new system) C:Program Filesjasperserver-3.1scripts>

Importing Files to jasper server.........
C:Program Filesjasperserver-3.1scripts>js-import.bat --input-dir js-backup-catalog

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...