Re: pg_restore fails when psql succeeds

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Cherio <cherio(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: pg_restore fails when psql succeeds
Date: 2020-12-13 17:59:59
Message-ID: d0f191ee-ffc3-503e-ce27-5918de669561@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 12/12/20 12:39 PM, Cherio wrote:
> I install PostgreSQL from "apt.postgresql.org
> <http://apt.postgresql.org>" repository:
> $ /usr/lib/postgresql/13/bin/postgres --version
> postgres (PostgreSQL) 13.1 (Ubuntu 13.1-1.pgdg20.04+1)
>
> It runs in a VM, the most recent & updated version of Ubuntu LTS 20.04
> $ uname -a
> Linux dbwfprod8-20 5.4.0-56-generic #62-Ubuntu SMP Mon Nov 23 19:20:19
> UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
> RAM: 48GB
> CPU: 8
> Storage: 800GB (plenty of free space left)
>
> I attached customizations to postgresql.conf and a few relevant errors
> from the PostgreSQL server log; there were no relevant messages in
> journalctl.
>
>

What is the exact command you are using to do the restore?

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Benedict Holland 2020-12-13 18:03:34 Re: Is there a way to dump schema to files on disk and keep them in sync
Previous Message Tomas Vondra 2020-12-13 17:53:02 Re: Is there a way to dump schema to files on disk and keep them in sync