pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Alberto <nspmma@freenet.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_dump -Fc does not dump indexes
Date: Mon, 27 Jun 2005 22:43:04 -0600
Message-ID: <20050628044304.GA18003@winnie.fuhr.org> (raw)
In-Reply-To: <42BCC950.5090006@freenet.de>
References: <42BCC950.5090006@freenet.de>

On Fri, Jun 24, 2005 at 08:02:40PM -0700, Alberto wrote:
>
> I have tried to backup my postgres database with
>    pg_dump -Fc $db > ~/backups/$db.backup.c
> and restore it with:
>    createdb -U postgres -D aestel_admin -T template0 restoreTMP
>    pg_restore -d restoreTMP -U postgres $db.backup.c 
> 
> I do not get any error messages but none of my indexes are created. None 
> of the primary key or foreign key constraint are created. However simple 
> check constraints are created.

What version of PostgreSQL are you using?

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/



view thread (7+ messages)

Message-ID: <20050628044304.GA18003@winnie.fuhr.org>
Permalink:  ../20050628044304.GA18003@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20050628044304.GA18003@winnie.fuhr.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mike@fuhr.org, nspmma@freenet.de
  Subject: Re: pg_dump -Fc does not dump indexes
  In-Reply-To: <20050628044304.GA18003@winnie.fuhr.org>
  References: <42BCC950.5090006@freenet.de> <20050628044304.GA18003@winnie.fuhr.org>

* 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