From: | mimble9(at)danwin1210(dot)me |
---|---|
To: | pgsql-novice(at)lists(dot)postgresql(dot)org |
Subject: | Pgbackrest - conflict between 'main' and 'demo' |
Date: | 2020-03-05 13:44:56 |
Message-ID: | 7732d309470ed3447b26f5420fc54866.squirrel@danielas3rtn54uwmofdo3x2bsdifr47huasnmbgqzfrec5ubupvtpid.onion |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
This is a 'pgbackrest' question. Please let me know if this is not the
correct group for such a query.
I am attempting to follow the guide
(https://pgbackrest.org/user-guide.html) which creates a 'demo' cluster
and then configures it.
Everything is fine until I run: sudo -u postgres pgbackrest --stanza=demo
--log-level-console=info stanza-create
The error is:
INFO: stanza-create command begin 2.25dev: --log-level-console=info
--pg1-path=/var/lib/postgresql/10/demo --repo1-path=/var/lib/pgbackrest
--stanza=demo
ERROR: [058]: version '10' and path '/var/lib/postgresql/10/main' queried
from cluster do not match version '10' and '/var/lib/postgresql/10/demo'
read from '/var/lib/postgresql/10/demo/global/pg_control'
HINT: the pg1-path and pg1-port settings likely reference different clusters.
INFO: stanza-create command end: aborted with exception [058]
I don't understand how to edit the "read from cluster" in order to set it
to /var/lib/postgresql/10/demo
I have modified every entry in the data_directory in
/etc/postgresql/10/main/postgresql.conf to point to
/var/lib/postgresql/10/demo but that didn't change anything.
My /etc/pgbackrest/pgbackrest.conf shows:
[demo]
pg1-path=/var/lib/postgresql/10/demo
[global]
repo1-path=/var/lib/pgbackrest
Can anyone please advise me how to fix this error, thanks?
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2020-03-05 18:33:06 | Re: Pgbackrest - conflict between 'main' and 'demo' |
Previous Message | Michael Jendryke | 2020-03-05 09:49:48 | pg_basebackup progress at 100% for many hours, but still writing data to disk |