Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple dates or date range in core:purge-old-archive-data #17556

Closed
Starker3 opened this issue May 13, 2021 · 1 comment
Closed

Allow multiple dates or date range in core:purge-old-archive-data #17556

Starker3 opened this issue May 13, 2021 · 1 comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.

Comments

@Starker3
Copy link
Contributor

Starker3 commented May 13, 2021

Refs #17555

Currently if you need to purge specific date ranges using the core:purge-old-archive-data command, you need to run the command for each month that you would like to purge reports from the archive_blob

It would be great if we could support adding multiple dates to the command (Perhaps this is only possible if we add support for the --dates= parameter), for example:
./console core:purge-old-archive-data --dates=2021-01-01,2021-01-02

Or perhaps to purge a date range we could add support for --date-range, for example to purge all old reports between January and March we could run:
./console core:purge-old-archive-data --date-range=2021-01-01,2021-03-01

Or perhaps add it as a flag, for example:
./console core:purge-old-archive-data --dates=2021-01-01,2021-03-01 --date-range

@Starker3 Starker3 added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label May 13, 2021
@diosmosis
Copy link
Member

Closing since this is available (though perhaps not obvious)

@mattab mattab added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. and removed Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. labels May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

No branches or pull requests

3 participants