Skip to content

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:

  1. Stop PMM Server.

    systemctl --user stop pmm-server
    
  2. 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

  3. Restore the volume.

    podman volume import pmm-server pmm-server-backup.tar
    
  4. Start PMM Server.

    systemctl --user start 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.