Upgrading the distro PURGED the previous postgresql-10 package deleting the database data!
Bug #1825501 reported by
Vihai
This bug report is a duplicate of:
Bug #1825563: automatically removed packages includes postgresql-10 which can result in cluster dropping.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql-11 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I did a do-release-upgrade as I usually do and I usually find the new PostgreSQL package installed alongside with the previous, still working, one.
This time the upgrader PURGED the old package removing the cluster data and configuration and everything!
Luckily I had a backup from which I am restoring the data but this is causing downtime and loss of recent data.
I hope my situation had something VERY rare that caused this but I urge you to check before data loss is caused to other people.
Let me know which log files may be helpful in debugging this event.
To post a comment you must log in.
Tested on another cosmic machine and the upgrade, again, proposed the removal of postgresql-10