I have a client running an outdated version of PMM2 - 2.5.0 with an ami from the AWS Marketplace.
According to the upgrade docs, to get to the latest version, I have to first upgrade to 2.33.0. That does not appear to be possible with an AWS Marketplace image.
Is it feasible for me to create a standalone EC2 host with the docker image for version 2.5.0 and simply copy the files in /srv from the old to the new? Is the structure the same?
I think that It would be easier for me to perform the upgrades with Docker images
Hi @ioannistz39,
On the home dashboard of PMM, there should be an upgrade button. Does that not work?
Should be, though this is not supported nor tested.
In all honesty, I would just create a new EC2 with latest PMM, and start fresh. Upgrade all the agents too and repoint them to the new PMM. If you need the historical data, you can just leave the old AMI running for a couple weeks and continue using it to see old data.
You could try this too: GitHub - shoffman-percona/pmmBackupRestore: Repo for PMM backup and restore routine
Says it can backup AMI and restore to docker.
Hi, I am afraid to hit that upgrade button since it says it will take me to 2.42.0. According to the docs:
When upgrading PMM from older versions (2.30.0 and below), we recommend following a staged approach: first, upgrade to version 2.33.0, and then proceed to the latest version.
… I agree that starting fresh is probably the best way to go.
Thank you