Re: pg_dump on remote machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

> Iam trying to take a dump of my DB from one machine to another in
this  
> fashion: 
>  
> on the secondary database: 
>  
> pg_dump -b -h 172.16.1.20 (dbname) > /tmp/dump.dump 

Can you get connect with
psql -h 172.16.1.20 (dbname)


I think, you /etc/pg_hba.conf must be configured to grant this access.
And don't forget to reload the postmaster after this.

Look in the log of postgresql.

Bye Thomas




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux