Migrating your Matomo instance
- You will need to create a dump of your MySQL database. I found it useful to dump a year at a time, to keep the file size manageable.
- You will need to copy all web site files.
Now you can import the database to the new server and copy all the files to the website root.
To complete the migration you need to edit the config.ini.php and update any changes to the database credentials, and the domain name if you've changed that.
Finally, if you have changed the domain name of your Matomo instance, you will need to update the tags on all website pages that are being monitored. This should be a straightforward task of editing a single plugin or custom theme content.
Matoma suggest an alternative method that includes a rebuild of your analytics site. I didn't find a rebuild necessary.
Thanks for visiting.