Not the answer you need?
Register and ask your own question!

Change default folder data

Hi everybody,

I would like install a fresh PMM but I would like to change the default folder for my data.
I search but I don't understand.

This is my configuration :

docker create \
-v /data/prometheus/ \
-e METRICS_RETENTION=365d \
--name pmm-data \
percona/pmm-server:latest /bin/true

docker run -d \
-p 8080:80 \
--volumes-from pmm-data \
--name pmm-server \
--restart always \
percona/pmm-server:latest

But In /data/prometheus there are nothing ! All my data is in this folder :
/var/lib/docker/aufs/mnt/528ea5ce5bd0bffbc45194fe2632ef3cc956ee6ef0c5d92fa1aa5a81d09df9ce/opt/prometheus/data#

Thx for your answer
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.