To backup Matomo:
- Regularly backup the Mysql database containing Matomo (Piwik) tables (eg. using an existing Mysql backup script)
- Regularly backup the file
- Regularly backup any Plugin you may have installed from the Marketplace, stored in
To restore a Matomo (Piwik) backup:
- Import the Mysql backup data in a new Mysql database you have created
- Download the latest version of Matomo (Piwik), unzip and upload
- Copy the file config.ini.php from the backup into your new piwik setup. You might have to edit the database connection settings in the file if they have changed.
- Copy any Third party Plugin installed from the Marketplace from the backup (or download from the marketplace the latest version of these plugins) and copy them into your new piwik setup.
- Visit Matomo (Piwik) and check that everything is working correctly!