X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 56391D6D7D for ; Sun, 21 Aug 2005 18:16:53 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 41651-07 for ; Sun, 21 Aug 2005 21:16:49 +0000 (GMT) Received: from amsfep12-int.chello.nl (amsfep12-int.chello.nl [213.46.243.17]) by svr1.postgresql.org (Postfix) with ESMTP id D7C18D6D71 for ; Sun, 21 Aug 2005 18:16:45 -0300 (ADT) Received: from tdb ([80.216.213.5]) by amsfep12-int.chello.nl (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20050821211646.NPNT11566.amsfep12-int.chello.nl@tdb> for ; Sun, 21 Aug 2005 23:16:46 +0200 From: "Dan" To: Subject: DB restore fails W2k. Date: Sun, 21 Aug 2005 23:16:37 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0000_01C5A6A6.626957A0" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcWmlZXhGLbvBqnTQY68OUEdhTysbw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Message-Id: <20050821211646.NPNT11566.amsfep12-int.chello.nl@tdb> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.001 required=5 tests=[HTML_MESSAGE=0.001] X-Spam-Level: X-Archive-Number: 200508/343 X-Sequence-Number: 18662 This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C5A6A6.626957A0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, We have upgraded our PostgreSQL database version from 7.3.1 (Cygwin) under Windows 2000 server to v8.03 for windows. Now we dumped our database (app. size 6 GB) with PgAdmin III with success. The problem now is that we can't completely restore our database with the dump file. The restore utility just stops when reaching a certain point in the dump file. Please help us, we can't afford loosing our database with several years of work. Thanks in advance. /Dan Here is some info on the dump file: ; Archive created at Wed Aug 17 21:09:56 2005 ; dbname: a_db ; TOC Entries: 43 ; Compression: -1 ; Dump Version: 1.10-0 ; Format: CUSTOM ; Integer: 4 bytes ; Offset: 4 bytes ; Dumped from database version: 7.3.1 ; Dumped by pg_dump version: 8.0.0 Error displayed when restoring. C:\Program Files\PostgreSQL\8.0\pgAdmin III\pg_restore.exe -i -h localhost -p 5432 -U postgres -d a_db -a -t pictures -v "D:\a_db.backup" pg_restore: connecting to database for restore pg_restore: restoring data for table " pictures" pg_restore: [custom archiver] error during file seek: Invalid argument pg_restore: *** aborted because of error Process returned exit code 1. ------=_NextPart_000_0000_01C5A6A6.626957A0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

 

We have upgraded our PostgreSQL database = version from 7.3.1 (Cygwin) under Windows 2000 server to v8.03 for windows. =

 

Now we dumped our database (app. size 6 GB) = with PgAdmin III with success. The problem now is that we can’t = completely restore our database with the dump file. The restore utility just stops when = reaching a certain point in the dump file.

Please help us, we can’t afford loosing = our database with several years of work.

Thanks in = advance.

 

/Dan

 

Here is some info on the dump = file:

; Archive created at Wed Aug 17 21:09:56 = 2005

;     dbname: = a_db

;     TOC Entries: = 43

;     Compression: = -1

;     Dump Version: = 1.10-0

;     Format: = CUSTOM

;     Integer: 4 = bytes

;     Offset: 4 = bytes

;     Dumped from database version: 7.3.1

;     Dumped by pg_dump = version: 8.0.0

 

Error displayed when = restoring.

C:\Program Files\PostgreSQL\8.0\pgAdmin III\pg_restore.exe -i -h localhost -p 5432 -U postgres -d a_db -a -t = pictures -v "D:\a_db.backup"

pg_restore: connecting to database for = restore

pg_restore: restoring data for table " = pictures"

pg_restore: [custom archiver] error during = file seek: Invalid argument

pg_restore: *** aborted because of = error

 

Process returned exit code = 1.

 

------=_NextPart_000_0000_01C5A6A6.626957A0--