Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 1B2F72E0385 for ; Fri, 4 Jan 2008 20:56:15 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 56681-06 for ; Fri, 4 Jan 2008 20:55:45 -0400 (AST) Received: from mail11.bluewin.ch (mail11.bluewin.ch [195.186.18.61]) by postgresql.org (Postfix) with ESMTP id A1ADE2E0083 for ; Fri, 4 Jan 2008 20:56:07 -0400 (AST) Received: from [192.168.1.74] (83.79.102.124) by mail11.bluewin.ch (Bluewin 7.3.121) id 476BDD7C003189A8 for pgsql-admin@postgresql.org; Sat, 5 Jan 2008 00:56:05 +0000 From: Ivo Rossacher To: pgsql-admin@postgresql.org Subject: Re: invalid byte sequence for encoding "UNICODE":0xa1 Date: Sat, 5 Jan 2008 01:56:03 +0100 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) References: <777993.26386.qm@web90503.mail.mud.yahoo.com> In-Reply-To: <777993.26386.qm@web90503.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801050156.04303.rossacher@bluewin.ch> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/70 X-Sequence-Number: 27844 Am Freitag, 4. Januar 2008 15.58:23 schrieb Popovici Alexandru: > Hello, > > For my database ( PostgreSQL 8) I made a backup ( > using pgAdmin ). Now when I try to restore the data ( > again using pgAdmin ) at some point the process is > aborted: > > ----------- > pg_restore: ERROR: invalid byte sequence for > encoding "UNICODE":0xa1 > CONTEXT: COPY ............... > pg_restore: [archiver(db)] error returned by > PQendcopy: invalid byte sequence for encading > "UNICODE":0xa1 > CONTEXT: COPY ............... > pg_restore: *** aborted because of error > Process returned exit code 1 > ----------- There are serveral possible reasons for this issue. -Restoring on a newer server then the backup was taken from. The servers got pickier regarding encoding over several versions. -Restoring on a server with diverent encoding then the encoding of the server where the backup came from. -Restoring with a differen client encoding at the pgAdmin (probably different version or setting). -Corruptet data file. -... If you need more assistance we need to know the platform, versions and parameters you used for the process. Best regards Ivo > > If I delete the database and restore only the > schema I get this message: > > ----------- > "WARNING: errors ignored on restore:21 > Process returned exit code 1" > ----------- > > The designer of database has told me that this last > message is OK, and this is the message which should I > get after restoring the schema and data. > I have asked him why I can restore the data but > unfortunatelly he doesn't now where the problem is. > The database is installed on a server with Windows > 2003 . > > Can you please help me? > > > > ___________________________________________________________________________ >_________ Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Have you searched our list archives? > > http://archives.postgresql.org