immauss / openvas

Containers for running the Greenbone Vulnerability Manager. Run as a single container with all services or separate single applications containers via docker-compose.
GNU Affero General Public License v3.0
354 stars 102 forks source link

Tasks and reports restore from openvas version 20.08.0~git #74

Closed KossiJunior closed 2 years ago

KossiJunior commented 2 years ago

Hi,

we currently have an openvas version 20.08.0 git and want to upgrade to version 21.4.2 using your container. we have deployed this container and everything works fine, but, are looking for a way to restore all tasks and reports data stored in /var/lib/openvas/mgr/tasks.db in openvas version 20.08.0~git in this container with version 21.4.2

How can we do that ?

immauss commented 2 years ago

As much as I would like to, this is well out of scope for me at the moment. I'm certain it can be done. It can probably be done with containers easier than using VMs. But it will likely involve a good deal of trial and error. Unfortunately, I don't have the cycles at the moment, and if this is something you need in a reasonable timeframe, I'm probably not going to be able to do it.

I recommend looking for upgrade/conversion methods in the community forums.

https://community.greenbone.net/

If you need some help with running stuffs in the container, feel free to hit me up. I did a quick search on the forum and there a number of threads already on how to make the switch from tasks.db to postgres. The most important bit would of course be: backup, backup, backup. And then trial and error.

And if you find a method that works well, I would greatly appreciate any lessons learned for the next person who asks.

Thanks, Scott