Clean Database, keep settings

After upgrade i have big problems with piwik. Errors show all over the interface.

I want to setup a new database and start a new install of piwik. How can i keep my settings for sites, email reports…? What tables do i hve to copy to the new DB?