@WadeBarnes A while back a team member customized the backup.postgress.plugin to get the verification and restore working with Patroni, it's a small addition:
# Drop Patroni-specific schemas
if (( ${_rtnCd} == 0 )); then
psql -h "${_hostname}" ${_portArg} -a -d ${_database} <<EOF
DROP SCHEMA IF EXISTS metric_helpers CASCADE;
DROP SCHEMA IF EXISTS user_management CASCADE;
EOF
_rtnCd=${?}
echo
fi
would you be interested in me creating a PR to submit this to the project? Alternatively I could contribute a separate pluging file, something like backup.postgress-patroni.plugin?
@WadeBarnes A while back a team member customized the
backup.postgress.plugin
to get the verification and restore working with Patroni, it's a small addition:would you be interested in me creating a PR to submit this to the project? Alternatively I could contribute a separate pluging file, something like
backup.postgress-patroni.plugin
?