[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: buster upgraded postgresql

On 2018-11-11 13:40, Georgi Naplatanov wrote:
On 11/11/18 1:00 PM, mick crane wrote:

but how to find out what is this "cluster-name" for pg_ctlcluster,
pg_dropcluster and pg_upgradecluster ?

"pg_dropcluster [--stop] cluster-version cluster-name"

"pg_upgradecluster oldversion name [newdatadir]" ?

OK from the conf files assume cluster-name is '10/main' and '11/main'
respectively ?

default cluster name for both clusters should be "main".
yes I got there eventually
so is
"pg_ctlcluster 11 main stop"
"pg_dropcluster 11 main"
"pg_upgradecluster 10 main /var/lib/postgresql/11/main"
"pg_dropcluster 10 main"

"sudo -u postgres psql"
"SHOW data_directory;"

nothing seems to be broken



Key ID    4BFEBB31

Reply to: