This is basically a backup and restore.
Plan carefully. Update as much as possible on current system. Create backup.
Import the backup to the new system and update successively to the current version.
You should “practice” the backup and restore process regularly. So that you know quickly what to do in an emergency. In addition, always create backups and plan well! Backup is a science in itself
I know you already answered but wanted to re confirm. Backup and restore process will migrate Users, credentials, MFA and content from nextcloud version 19 to current I am trying on 27.0.1?
I was able to restore the DB successfully without error. After restore the admin login from other server is working it accepts the password but instead of login it gives internal server error.
SQL is running I see the list of users from the current server. Any advise please.
You should restore a complete backup. In other words, the server files, the user files (data-directory) and the database. So when you make a backup from nextcloud 19, you restore Nextcloud 19. Then you can update step by step. You can not jump from 19 to 27.
It is all described in the manual which you should READ. Every single word written in the manual is the price you have to pay, to get a software for free (as free beer).
Click on Image for Link: