Solved by exporting port. 

Thanks


On Saturday, November 14, 2015 at 1:23:47 AM UTC+5:30, [email protected] 
wrote:
>
> I am running PostgreSQL on non-standard port.
>
> while taking backup throwing below error for the non standard port. Please 
> help me how to solve it.   
>
>
> wal_e.main   INFO     MSG: starting WAL-E
>         DETAIL: The subcommand is "backup-push".
>         STRUCTURED: time=2015-11-13T19:25:45.296717-00 pid=4443
> psql: could not connect to server: No such file or directory
>         Is the server running locally and accepting
>         connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
> wal_e.main   ERROR    MSG: could not run one or more external programs 
> WAL-E depends upon
>         DETAIL: Could not get a connection to the database: note that 
> superuser access
>         is required
>         Could not run the following programs, are they installed? psql
>         STRUCTURED: time=2015-11-13T19:25:45.314904-00 pid=4443
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"wal-e" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to