Hi to All,

coul Someone resolve this problem?

1.) If I on Linux Centos% this file /usr/bin/backup.sh

#!/bin/bash export PGPASSWORD=”mia_password_del_db” && pg_dump -h localhost -U user -c -d -R -v nome_database -n nome_schema > /percorso/dove/salvare/il/file.sql
I obtain a perfect backup in file.sql

2.) But if I put in crontab
* 10* * * root /usr/bin/backup.sh
I obtain file.sql empt with zero bytes.

Tanks in advance.
Gianni Pinna.