Backup container¶
Summary
- Stop and rename the
pmm-server
container. - Take a local copy of the
pmm-data
container’s/srv
directory.
Important
Grafana plugins have been moved to the data volume /srv
since the 2.23.0 version. So if you are upgrading PMM from any version before 2.23.0 and have installed additional plugins then plugins should be installed again after the upgrade.
To check used Grafana plugins:
docker exec -it pmm-server ls /var/lib/grafana/plugins
To backup container:
-
Stop the container:
docker stop pmm-server
-
Move the image:
docker rename pmm-server pmm-server-backup
-
Create a subdirectory (e.g.,
pmm-data-backup
) and move to it:mkdir pmm-data-backup && cd pmm-data-backup
-
Back up the data:
docker cp pmm-data:/srv .
Get expert help¶
If you need assistance, you can find comprehensive and free database knowledge on our community forum or blog posts. For professional support and services, contact our Percona Database Experts.