Is there a way to restore matomo websites that were deleted?


Each time a website is created in Matomo, the website is completely new and has a new siteId.

The thing is, if a website gets deleted in Matomo, and then re-created, it will be a completely new website, old logs are lost and the website has a new siteId, even if the host name and site name are the same.

Is there a way restore a website so that it has the same siteId as before the deletion?

(Lukas Winkler) #2

I think the data isn’t deleted by default, so you should be fine to create a new website and manually change the siteid in the database to the old one.