feat: snapshot tool reworked for non-standard environment
Description
Get rid of "sudo -u postgres" in the snapshot tool by default.
Ability to define "sudo -u postgres" in the snapshot tool added, by usage SUDO_CMD environment variable.
Use the UNIX socket directory from the environment variable PG_SOCK_DIR
in the snapshot tool.
Docs update docs!11 (closed)
Related issue
Examples
Checklist
-
the MR description has been reviewed -
this MR contains text changes and they have been reviewed OR there are no texts changes -
this MR contains GUI/CLI changes and they have been reviewed OR there are no GUI/CLI changes -
this MR contains API changes and they have been reviewed OR there are no API changes
Edited by Anatoly Stansler