Skip to content

miq 14 to 15 dnf upgrade issue #22295

Answered by jrafanie
tjyang asked this question in Q&A
Jan 7, 2023 · 3 comments · 3 replies
Discussion options

You must be logged in to vote

@tjyang

You'll need to do a database backup before you upgrade as postgresql 13 is the new required database version. You can also do pg_upgrade if you're familiar with this but it's not covered here.

Make sure you have enough space to backup your database to a file.

Do a backup to a file like this in a location with enough space:

pg_dumpall -c --if-exists | gzip > vmdb.pg.gz

You'll need to clear the data directory since postgresql 10 is not compatible with postgresql 13. Ensure your appliance is fully backed up and the database backup file is not in the data directory.

systemctl stop postgresql
rm -rf $APPLIANCE_PG_DATA

After modifying the dnf repo information, backing up your database…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@jrafanie
Comment options

@tjyang
Comment options

@tjyang
Comment options

Answer selected by tjyang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants