Docker Backup and Restore Question

You would also need to revert the database.

You might want a staging site to test the upgrade before you run it. You could also push the container from the staging site to a repo and then launch that on the production site.