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

Add documentation for upgrading PostgreSQL database #4171

Merged
merged 1 commit into from
Sep 6, 2021

Conversation

Martchus
Copy link
Contributor

@Martchus Martchus commented Sep 6, 2021

@mergify mergify bot merged commit 56860e2 into os-autoinst:master Sep 6, 2021
@Martchus Martchus deleted the db-doc branch September 6, 2021 12:40
Copy link
Member

@okurz okurz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implementation of my suggested changes: #4193

`/etc/sysconfig/postgresql` and should be `/var/lib/pgsql/data` by default. The
paths in the next steps assume the default.

2. To ease migrations, I would recommend making the `data`-directory a symlink
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Who is the I here? I suggest to write instead s/I would recommend/it is recommended/

+
[source,sh]
----
martchus@ariel:~> sudo -u postgres ls -l /var/lib/pgsql | grep data
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be non-personalized

docs/Installing.asciidoc Show resolved Hide resolved
okurz added a commit that referenced this pull request Sep 13, 2021
This commit moves the database migration section to the advanced chapter
to keep the basic installation simpler for new users. Existing and
advanced users might need to follow a database version migration but
there are also use cases of fresh reinstalls if the test results in the
database are not worth to keep or container setups with externally
maintained databases.

This is a follow-up to commit 413abd4,
#4171
which introduced the section about database migration.
FruitFly638 pushed a commit to FruitFly638/openQA that referenced this pull request Sep 23, 2021
This commit moves the database migration section to the advanced chapter
to keep the basic installation simpler for new users. Existing and
advanced users might need to follow a database version migration but
there are also use cases of fresh reinstalls if the test results in the
database are not worth to keep or container setups with externally
maintained databases.

This is a follow-up to commit 413abd4,
os-autoinst#4171
which introduced the section about database migration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants