- Create a new plugin on the Marketplace
- Let admin run the
core:archive console command and specify parameters, via the browser
this is useful when there is no CLI access to a Piwik instance and we cannot run console commands.
Maybe this is now possible via the PiwikDebugger plugin? https://github.com/piwik/plugin-PiwikDebugger
There is already a Terminal included so you can execute anything there. Benaka also is adding possibility to execute all commands I think.
It still depends whether this plugin is only meant for debugging purposes or also for end users
This issue was specifically meant for debugging purposes, so the Terminal should provide acceptable solution to this! cc @mgazdzik when you test PiwikDebugger please report any feedback or suggestion in the issue tracker there: https://github.com/piwik/plugin-PiwikDebugger/issues/
FYI, all commands can be run if shell_exec is available. If not, Piwik Console commands can be run. Only problem is core:archive doesn't use Symfony OutputInterface so we can't stream output to a file. If shell_exec is available, everything's fine though.