Skip to content
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

Update Postgres to SQLite migration #581

Merged
merged 6 commits into from
Jun 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions doc/postgres-HOWTO
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,12 @@ Debian GNU/Linux 'Jessie' 8.
in a ld-aware directory. For example create file /etc/ld.so.conf.d/gvm.conf
with appropriate path and then run ldconfig.

7 Run Manager as usual.
7 If you wish to migrate from SQLite, follow the next section before running
Manager.

8 To run SQL on the database.
8 Run Manager as usual.

9 To run SQL on the database.

psql gvmd

Expand All @@ -47,8 +50,8 @@ Migrating from SQLite to PostgreSQL
PostgreSQL database like described above.

If you accidentally already rebuilt the database or for other reasons
want to start from scratch, apply the dropping of all data as
described below. It is essentially important that you do not start
want to start from scratch, drop the database and repeat the process
described above. It is essentially important that you do not start
Manager before the migration as it would create a fresh one and therefore
prevent migration.

Expand Down
Loading