Skip to content

ezgh databases failover

Fail a database over.

Updated View as Markdown
ezgh databases failover <database> [--yes] [--wait] [flags]

Fail a database over, as maintenance does. Open connections end, and writes are refused for a few seconds. Clients reconnect to the same endpoint. It’s refused when it can’t fail over right now: try again in a few minutes. It asks first on a terminal; --yes confirms otherwise.

Part of ezgh databases.

Flags

Flag Type Default Description
--wait boolean wait until it’s done, and print the database then
--wait-timeout duration 10m0s how long --wait waits
-y, --yes boolean don’t ask for confirmation

This command also takes the global flags.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close