Re: dumping and restoring user information.

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Pritesh Shah <pritesh(dot)krish(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: dumping and restoring user information.
Date: 2005-02-01 07:30:31
Message-ID: 20050201073031.GA54012@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Feb 01, 2005 at 12:11:06AM -0700, Pritesh Shah wrote:
>
> Is there any way of copying/dumping/restoring the user and group
> information and permissions from the old machine to the new one so
> that i do not have to do a createuser everytime??

You can dump just users and groups with "pg_dumpall --globals-only"
(or -g).

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sim Zacks 2005-02-01 08:09:05 change table to view problem
Previous Message Pritesh Shah 2005-02-01 07:11:06 dumping and restoring user information.