Re: Restore Windows dump to Linux (locale issue)

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Ertan Küçükoglu <ertan(dot)kucukoglu(at)gmail(dot)com>
Cc: Brent Wood <Brent(dot)Wood(at)niwa(dot)co(dot)nz>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Restore Windows dump to Linux (locale issue)
Date: 2025-11-25 22:13:46
Message-ID: 7766d4cc-e0b8-448e-9d79-1e0cc3e3098d@aklaver.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 11/25/25 14:03, Ertan Küçükoglu wrote:
> Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com
> <mailto:adrian(dot)klaver(at)aklaver(dot)com>>, 26 Kas 2025 Çar, 00:20 tarihinde
> şunu yazdı:
>
> On 11/25/25 13:06, Ertan Küçükoglu wrote:
>
> >
> > Hello,
> >
>
> I am not understanding the below.
>
> > I manually created a database on the Linux system.
> > Took a database backup and restored it on the Linux system.
>
> That is what started this thread, an issue with a backup from a Windows
> machine.
>
> So where did you get a backup that you could restore?
>
>
> Initially it was a pgdump_all backup. Which includes database creation
> scripts.
> I used only pg_dump backup. Where I restore in an already created database.

Alright I understand now.

>
> I called pg_dumpall backup as "cluster backup" . It may be my wrong
> choice of naming.

It is a dump of the all the databases in the cluster as well as the
cluster global objects, so the naming is correct. I just did not make
the connection.

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Luzanov 2025-11-25 22:49:15 Re: DROP ROLE blocked by pg_init_privs
Previous Message Ertan Küçükoglu 2025-11-25 22:03:15 Re: Restore Windows dump to Linux (locale issue)