pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Wilton Wonrath <wrwonrath@yahoo.com.br>
Cc: pgsql-general@postgresql.org
Subject: Re: Backup ?
Date: Fri, 02 Feb 2007 13:21:01 +0000
Message-ID: <45C33ABD.4080406@archonet.com> (raw)
In-Reply-To: <8727.8691.qm@web34310.mail.mud.yahoo.com>
References: <8727.8691.qm@web34310.mail.mud.yahoo.com>

Wilton Wonrath wrote:
> 
> Is it possible to do a backup only with index ?

You could backup the whole schema and then restore only the schema. See 
the --use-list option on pg_restore.

> Is it possible to do a backup only with users, login roles or group roles ?

You can backup the roles with "pg_dumpall -g"

-- 
   Richard Huxton
   Archonet Ltd



view thread (57+ messages)  latest in thread

Message-ID: <45C33ABD.4080406@archonet.com>
Permalink:  ../45C33ABD.4080406@archonet.com/
Also on:    postgresql.org/message-id/45C33ABD.4080406@archonet.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-general@postgresql.org
  Cc: dev@archonet.com, wrwonrath@yahoo.com.br
  Subject: Re: Backup ?
  In-Reply-To: <45C33ABD.4080406@archonet.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