Task: Dump PostgreSQL Database from Remote Server via SSH Tunnel When Port 5432 is Blocked
Task: Dump PostgreSQL Database from Remote Server via SSH Tunnel When Port 5432 is Blocked: a task in Terminal-Lego-15k (Harbor dataset). Create a shell script that demonstrates how to dump a PostgreSQL database from a remote server (where port 5432 is blocked externally) by piping pg dump output…
The task
Create a shell script that demonstrates how to dump a PostgreSQL database from a remote server (where port 5432 is blocked externally) by piping `pg_dump` output over SSH directly to a local file, avoiding the need for disk space on the remote server.
Part of PrimeIntellect/Terminal-Lego-15k.