pg_dump from crontab

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

 



Hi,
 
I am having problem backing up database from crontab, I got following lines in crontab file
 
 
0 20 * * 5 /usr/pgsql/bin/pg_dump -F c database > /usr/backup/friDATE4.pgdump
0 20 * * 4 pg_dump -F c database > /usr/backup/thurDATE06-3.pgdump
 
none of them works, I have given full permission to everyone in /usr/backup directory
 
it creates the dump file but with 0 size - empty!
 
I have other commands in crontab which executes normally, also pg_dump command works through command line.
 
does anyone what else I can check?
 
 
 

Regards,

 

 

Nirav


[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