Backup podman container¶
Summary
- Stop PMM Server.
- Backup the data.
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: podman exec -it pmm-server ls /var/lib/grafana/plugins
To back up your container:
-
Stop PMM Server.
systemctl --user stop pmm-server
-
Backup the data.
podman wait --condition=stopped pmm-server || true sleep 30
podman volume export pmm-server --output pmm-server-backup.tar
Important
If you changed the default name to
PMM_VOLUME_NAME
environment variable, use that name afterexport
instead ofpmm-server
(which is the default volume name).
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.