purge old PMM-server data

I’ve configured pmm-server on docker with default METRICS_RETENTION (1 month).

How i can purge old data and re-run pmm-server with METRICS_RETENTION=192h ?

please find the answer in [url]https://www.percona.com/forums/node/48761[/url] topic

1 Like

Hi @Mykola ,

This page doesn’t exists

1 Like

Stop pmm-server container.
Code: docker stop pmm-server

Remove containers.
Code: docker rm pmm-server pmm-data

Remove the image
Code: docker rmi $(docker images | grep “percona/pmm-server” | awk {‘print $3’})

1 Like