In windows postgresql 8.4 and openerp 7 Database TAR File Size: 4.40GB System Installed Memory: 4.00GB
1) PostgreSQL Backup taken in the Format Compress it shows error:-
pg_dump: dumping contents of table ir_attachment pg_dump: Dumping the contents of table "ir_attachment" failed: PQgetCopyData() failed. pg_dump: Error message from server: lost synchronization with server: got message type "d", length 2156530 pg_dump: The command was: COPY public.ir_attachment (id, create_uid, create_date, write_date, write_uid, description, datas_fname, url, res_model, company_id, res_name, type, res_id, file_size, db_datas, store_fname, name, file_type, partner_id, user_id, parent_id, index_content) TO stdout; pg_dump: * aborted because of error
After that Backup taken in the TAR Format
1) PostgreSQL Backup taken in the Format Tar (successfully taken)
2) Tried to restore the Format Tar Backup File its shows error:-
pg_restore: [tar archiver] corrupt tar header found in 66\\254\\223?\\233:\\264D|\\270\\352*9\\255\\265\\266`#\\272\\210.\\356\\245{P\\006\\345\\025I\\322 (expected 34, computed 35343) file position 427438080
pg_restore: *** aborted because of error`enter code here`
I tried in command prompt also its show same error
Please give me suggestion how to solve this issue