How much disk space does your EC2 instance have? I bet it does not have more than 120gb which iw what you would need in order to make a backup.
Even if OpenEMR backup from the admin menu does not work you could be able to back it up manually by going into the mysql container and copying the backup to your EC2 instance.
You would need to at least double the size of your disk space in order to make the backup, so here’s what I would do.
- increase the disk size of your EC2 instance to double of what it currently has to ensure you can make a proper backup.
- Make a manual database backup by using an interactive docker session in your mysql docker container
- copy the database backup to your EC2 instance
- Download the database backup to your computer (most likely via ftp)
- copy your open emr folde3r from your open emr docker instance
- restore your database and open emr files to a local docker instance
- ensure your backup is working locally
- update your local docker instance
If you update goes well then I would make a copy of your updated database and restore that to your EC2 instance along with the updated open emr files.
The idea is to do the upgrade locally and restore your updated files in your EC2, the reasoning behind this is your computer will most likely be much faster than the EC2 instance since it has better hardware specs in most cases.
Good luck.