Search Postgresql Archives

Re: Using pg_dump in a cron

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

 




On Jun 2, 2005, at 9:43 AM, Patrick.FICHE@xxxxxxxxxxx wrote:

Your "cron" job on ALIS
. $HOME/.profile; pg_dump alis -U postgres -f $AQSADIR/data/backup/alis_data.sql -a -d >/dev/null 2>&1
 
produced the following output:
 
stty: : No such device or address
What's wrong with it ?


Your .profile executes the stty command.  Don't do that.  Why do you need stuff from your .profile anyhow?

And why would you drop the output to /dev/null -- you'll never know if your dump fails!  Why bother making one then?

Vivek Khera, Ph.D.

+1-301-869-4449 x806



Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux