Hi,
Considering the number of changes and the time needed to track them all, your best bet would be a fresh install.
You could sync some data while running both, side by side:
- emails with Email Migration Tool - Imapsync
- Nextcloud: you may try https://github.com/nextcloud/user_migration