pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: pg_restore dumps all data to the terminal
Date: Thu, 26 Apr 2018 21:56:15 -0500
Message-ID: <64dded41-6355-683c-a9f6-9253cbefd4c7@gmail.com> (raw)

Hi,

v9.6.8, restoring from 8.4.17

This command dumps not just the schema to the terminal (technically, 
nohup.out) but the actual data.  How do I stop that?  There's no --quiet, 
and that's not what I want anyway...

pg_restore -cC --if-exists -e -Fd -j4 ${SOURCE}/${DB}

"pg_dump --verbose"lists each object as it is backed up, and that's what I 
was expecting pg_restore to do.

Thanks

-- 
Angular momentum makes the world go 'round.

view thread (4+ messages)  latest in thread

Message-ID: <64dded41-6355-683c-a9f6-9253cbefd4c7@gmail.com>
Permalink:  ../64dded41-6355-683c-a9f6-9253cbefd4c7@gmail.com/
Also on:    postgresql.org/message-id/64dded41-6355-683c-a9f6-9253cbefd4c7@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: pg_restore dumps all data to the terminal
  In-Reply-To: <64dded41-6355-683c-a9f6-9253cbefd4c7@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox