Re: Postgres dump using password on command line

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

 



Ankur Kaushik schrieb am 15.06.2015 um 10:54:
> 
> I have made script for the postgresql dump but unable to get dump only using command line as it require the password when execute the script.
> 
> list of database command require Password after enter
> 
> psql -l -t | cut -d'|' -f1 | sed -e 's/ //g' -e '/^$/d'
> 
> same for pg_dump 
> 
> pg_dump $i|gzip > $backupfile
> 

See here:

http://stackoverflow.com/a/6405296/330315



-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



[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