Search Postgresql Archives

Postgresql Backup

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

 



Hello frends!

 i am using postgresql database. I am using crond for daily backup.

Following is the crontab entry,

29 17 * * 1-6  postgres  /path/to/script.sh

'script.sh'   contains

PGUSER=postgres  pg_dumpall > /path/to/backup_date.sql

Running the script using crond creates the 0 byte files.

But , If i run the script in console , it creates the file with
content.

Any suggestion pls?

Regards

Bala



[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