Moving data from one Piwik instalation to another

I have installed Piwik on one tracking server and I used it for 15 sites. Now I want to move tracking for 2 of the sites on another tracking server. The new tracking server already has 3 sites on the Piwik installation so I’ll have to add the 2 ones from the old server without disrupting the statistics. How can I move tracking data from one server to another? Any scripts or procedures to assist me on that?

Because I don’t want to start anew. I want the old data preserved for comparison and long term analysis.

At this stage this is not possible unfortunately, you’d have to start from scratch in your existing Piwik.

See related ticket Import/Export functionnality for Sites and Administrative data · Issue #1879 · matomo-org/matomo · GitHub