according to How do I upgrade a large Piwik instance without losing any tracking data? FAQ - Analytics Platform - Matomo there are two ways to update a matomo installation without loosing data.
I tested option 2 and set my Matomo installation and tracker into mainenance according to faq (How do I momentarily disable Piwik User Interface and/or Piwik visitor Tracking? FAQ - Analytics Platform - Matomo)
However, if I set the tacker into mainenance (“record_statistics = 0”) the requests are not saved (when using the http tracker api).
Using only “maintenance_mode = 1” it does work like expected.
What is the recommended way to do that? Is the FAQ wrong and you should not set “record_statistics = 0”?