Backup in OpenVAS 22.4.0

How to realize a backup and restore to OpenVas 22.4.0??

Unfortunate to see that OpenVAS has basically no backup and export guide. I installed it initially on Kali which is not compatible with Veeam backup and now need to transfer it to Ubuntu / Debian… but there seems to be no way to do this. Does anyone have a guide on this ?

Such features out of the box are available only in the commercial appliance, within your own setup you need to run your own SQL backup and restore …

4 Likes

A full out of the box backup solution is only available with our products. Of course you can use our software stack with whatever Linux distribution you want. Therefore we just can’t and wont provide backup solutions for all these possible combinations and differences.

For a full backup of the community edition you need:

  • The SQL dump (in whatever form, binary, sql statements, CSV, …) of the gvmd database of your postgresql cluster
  • The VTs in the /var/lib/openvas directory (if the standard directory layout is used)
  • The other feed data in /var/lib/gvm (if the standard directory layout is used)
  • The logs in /var/logs/gvm (if the standard directory layout is used)
  • Possible configuration files in /etc/gvm (if the standard directory layout is used)
  • The GPG keychain in /etc/openvas/gnupg (if the standard directory layout is used)

I guess that’s it. Most important is the SQL dump of the postgres database. All other things can be re-generated from scratch, for example by running a feed synchronization.

5 Likes

Thanks for those replies @bricks and @Lukas.