Move data and config from owncloud to fresh nextcloud

Hi to everybody!

I damaged my owncloud by updating and took the chance to do a new installation of nextcloud (debian).

How can i move the data, db and config to the new nextcloud?

Thank you very much!

You can use a working backup and migrate to Nextcloud. On broken setups, this is a bit difficult, it depends a bit what is broken. Between version and also between OC and NC, the db-structure changes and you can just use the data from version x of ownCloud and put the data in a current NC.