Snapshot Galaxy Container

Is there a way to snapshot my Galaxy container? Before I roll out my new code, I would like to take a snapshot of the current container to fall back to if the new code introduces unforeseen errors.

I guess currently the best is to keep proper version control in the git repo, but grabbing a snapshot of the server seems like a useful feature. Any thoughts?

Galaxy already does this in the case that the new code makes your app unreachable. It will automatically roll back to the previous version if new app containers don’t respond to HTTP requests. However, as personal advice, I think the only right approach is to have a history of all of your published code in version control, so that you can go back to previous versions and remove new changes.