Restore podman container¶
Summary
- Stop PMM Server.
- Run PMM on the previous image.
- Restore the volume.
- Start PMM Server.
Important
You must have a backup to restore from. You need to perform restore only if you have issues with upgrade or with the data.
To restore your container:
-
Stop PMM Server.
systemctl --user stop pmm-server
-
Run PMM on the previous image.
Edit
~/.config/pmm-server/env
file:sed -i "s/PMM_TAG=.*/PMM_TAG=2.31.0/g" ~/.config/pmm-server/env
Important
X.Y.Z (2.31.0) is the version you used before upgrade and you made Backup with it
-
Restore the volume.
podman volume import pmm-server pmm-server-backup.tar
-
Start PMM Server.
systemctl --user start pmm-server
sleep 30 timeout 60 podman wait –condition=running pmm-server ```
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.