Quantcast
Channel: Pentaho Community Forums - BI Platform
Viewing all articles
Browse latest Browse all 2893

Best way to export/import repository from development server to production?

$
0
0
Hi!

I'd like to know how you have solved the problem of moving dashboards and reports in the repository from one server to another. My problem is that I can do this but I need to find a way to remove old files when they are no longer used.

I'm using Pentaho BI 5.0 together with CTools and my setup is a development server where I create everything and then when I'm ready I'd like to distribute this to several production servers.

Right now I'm using the import-export.sh script that is included with the BI server and exports the part of the repository that I'd like to export. I then take this zip-file and place it in the pentaho-solutions/system/default-content directory and restarts the tomcat server.

This makes the Tomcat import the content from the zip-file on startup which works fine, apart from the fact that it doesn't remove the old files. For example say my zip-file first contains these files:

/MyDashboards/Dashboard1
/MyDashboards/Dashboard2

And then in the next version of my zip-file I decide to rename the files like this:

/MyDashboards/DashboardA
/MyDashboards/DashboardB

Then I end up with all four dashboards like this:

/MyDashboards/Dashboard1
/MyDashboards/Dashboard2
/MyDashboards/DashboardA
/MyDashboards/DashboardB

When I would like Dashboard1 and Dashboard2 to be removed.

Does anyone know a way to tell Pentaho to remove everything in /MyDashboards before importing the content?

Viewing all articles
Browse latest Browse all 2893

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>