On 03-10-2014 15:07, Celso Vieira
wrote:
I suspect your scp operation is not completed and your performing pg_stop_backup before completing scp operation. Use -Cpv option with scp for increasing performance. Example: scp -Cpv example.log username@192.168.0.100:. (pg_start_backup,scp, pg_stop_backup) is proper direction for taking backup. I suggest you should use pg_basebackup for avoiding any errors. I suspect your primary key is corrupted, so it might have allowed duplication while inserting records. Postgres does not duplicates primary key when backup is done via pg_basebackup. --
Harshad Adalkonda Office: +919552687400/8400
|