Mohsen Zahedi
Mohsen Zahedi

Reputation: 688

Running pg_dump from another machine

The program which I have on IIS is working normally and connected to Postgre db in another server .Now,I want to get a backup from one of its tables.The problem is here that I can't run a pg_dump from a remote server because pg_dump is not exist in server that program is running .I looked for it and found out it's possible to do by ssh tunnel although I couldn't resolve it and had wild goose chase.In the other hand,I want to get remote backup from postgre db table that is not in current server and also pg_dump is in another machine. In additional,I coded on c#. Is there anybody to help me ?

Upvotes: 0

Views: 703

Answers (1)

Laurenz Albe
Laurenz Albe

Reputation: 247575

Keep it simple.

Install the PostgreSQL client on the machine where you want to perform the backup, then you have a pg_dump executable.

Upvotes: 2

Related Questions