Replies: 2 comments 4 replies
-
|
The I’ll take your feedback into account — it might be worth creating a dedicated playbook, |
Beta Was this translation helpful? Give feedback.
-
You can try to fix the current ETCD cluster by examining its logs first: Or deploy it again, first stopping the etcd process and deleting its data directory. # on each node of the etcd cluster
sudo systemctl stop etcd
sudo rm -f /var/lib/etcd/*
sudo systemctl start etcd |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Today I wanted to restore from a
pgbackrestbackup.I've set the settings outlined in the doc and then ran
deploy_pgcluster.yml. AFAICS though, I should first have runconfigure_pgcluster.ymlas otherwise the backup action is not being picked up (?) and a newetcdcluster is initialized instead (?). Maybe I also needed to have setdcs_exists: true?So right now my cluster is in a bad state as the
etcdseems to have reinitialized and is now failing atI tried running
configure_pgcluster.ymlagain followed bydeploy_pgcluster.ymlwithout success.Is there any way to recover from this? I should have functional backups in S3. Happy to reinitialize everything. I think I have a broken
etcdnow as well.From a user PoV, it would be great to have some guardrails saving one from executing one step too early or without all necessary settings in place. Specifically, running
deploy_pgcluster.ymla second time with a functional cluster (anddcs_exists: false) will result in a brokenetcd.Also it feels like that all of these "DONTS" should be highlighted more prominently (or at all) in the "restore" documentation page. Another point there which is unclear: at the bottom, the command for PIT is shown. Yet it is not clear if one should just use
deploy_pgcluster.ymlwithout-tto perform a delta restore or if another tag is needed for this.Beta Was this translation helpful? Give feedback.
All reactions