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?
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?