I can take a swing at this, but I’m not 100% sure my answer will be correct.
I think this depends on how you are migrating your containers. If you are simply pulling new container images, and replacing the old ones with updated versions, you can migrate the database using the gvmd --migrate command in the gvmd container. However, if you are setting up new containers on a new system, etc. I think you will have to migrate the database schema first using the command above, then use something like pg_dump to migrate the actual table data. Someone can please correct me if I’m wrong about this.
I was looking for some gvmd --migrate documentation, but could not find any. However, you can search the forum for others completing a similar migration and see some of that discussion as well.