Undelete website

I’ve just deleted a website in piwik and I want to revover it. It seems that the logs are still stored in the mysql-webpage, so I hope there is a way to recover the data.

my idea would be:

create a new website and change the id in the sites-table to the old id. But before I do that and mess up my whole piwik and even destroy the universe doing so, I better ask the question in this forum …

thnx,
p

create a new website and change the id in the sites-table to the old id.
That’s the correct way to do it. Also delete the directory piwik/tmp/