This feature is only available in Enterprise products. . If you are inclined you may write scripts using python-gvm as an API to extract and re-upload your tasks, targets, custom scan configurations, etc.
I’m just a basic user, but I would assume that the database structure is the same between source and docker installations. So it makes sense to me that if we take the data from one installation and import it into another it should work.
But this is just me making assumptions.
I was trying to do it before, but I think source and docker installations use different postgres users.
I think source uses “gvm” as the postgres user and docker uses “gvmd”. (I’m recalling from memory, I no longer have the test setup to check the logs again)
My next step would be to find out if it’s possible to rename the postgres user on the postgres backup file taken from the source installation, so it can be imported into the docker postgres database.
Unfortunately I don’t have time to continue testing this, maybe I’ll come back to this topic some day.