I am exposing a REST API to backup a Postgres DB. I have few questions related to that. I have seen most of these questions floating around google but could not find any suitable answer
- Is there any way to know the status of the pg_dump? I can redirected the verbose log to the user but somehow I am not convinced with that.
- Is there any way to know that a "pg_dump" session is in progress so that I can prevent the user from re-triggering?