Thread:Project:Support desk/Best way to migrate (1.14 - 1.21) to a new server and new version at the same time?/reply (3)

You could:
 * 1) unzip 1.21 on the new server
 * 2) copy LocalSettings.php and the images directory from the old server
 * 3) update the DB settings in the LocalSettings.php
 * 4) import the DB from the old server to the new server
 * 5) run update.php on the new server

If you export and import pages, that will take longer than exporting and importing the database and you'll lose user information.