Hi guys,
I am running the Greenbone Community Edition from docker containers and I would like to create a backup of the whole system.
To do this, I followed this post (Backup in OpenVAS 22.4.0) where it says following:
- 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)
Everything worked and I copied the data from the corresponding containers, although I noticed that custom created targets, port-lists, schedules, tasks, etc. are not present. They are visible in the web interface, but when investigating the file system and database dump the configs are not there. Looking inside the gvmd container in data-objects I can only see the default objects.
This problem became even more apparent when I set up a new test system and restored the backup, the custom port-lists, targets, etc. are not present.
Could someone tell me the exact location of the custom created objects so I can include them in my backup, or tell me what I am missing here?
Best regard and thank you for your help.