Re: Postgres Backup and Restore

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Mikel Lindsaar" <raasdnil(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Postgres Backup and Restore
Date: 2008-02-09 18:03:37
Message-ID: 25530.1202580217@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Mikel Lindsaar" <raasdnil(at)gmail(dot)com> writes:
> If you have bad character encodings in your data, you can not backup
> and restore that data using pg_dump and pg_restore, on Windows Server
> 2003, using compress or plain text modes. Both modes fail on the bad
> encoding when you try to restore.

Are you sure that the destination database has the same encoding
declaration as the source did? How was the badly-encoded data
inserted in the first place?

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2008-02-09 18:14:35 Re: Character encoding conversion
Previous Message Michael Fuhr 2008-02-09 14:46:50 Re: Character encoding conversion