-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to migrate Postgres Database #20
Comments
Hi,
On the 13.y database:
If you do not drop the schema in the target database, then you receive errors regarding foreign key violations and the import fails. So dropping seems to be essential. Further I got one error about a missing object in the public schema during the import. I still have to investigate this issue. But at least all old scan results, host, network and task definitions seem to be present. My colleagues will make some tests now. Regards, |
For further support, use https://github.com/DeineAgenturUG/greenbone-gvm-openvas-for-docker |
Here we have now a image with the upgrade tool. That works. |
There should be a section in the documentation what to do , if the version of the database changes (eg 12 to 13.3) .
Even upgrading 21.4.0-v5 to 21.4.2-v1 does not work seem to work without some magical command (I tried a quick pg_dump -O gvmd > gsvmd.sql followed by psql -U gvm -f gvmd.sql ... in the new container without success...
The text was updated successfully, but these errors were encountered: