RE: How to restore roles into new Database server?

From: Sridhar Parepalli <Sridhar(dot)Parepalli(at)sas(dot)com>
To: Ninad Shah <nshah(dot)postgres(at)gmail(dot)com>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: RE: How to restore roles into new Database server?
Date: 2021-09-15 17:18:43
Message-ID: DM6PR05MB62651FAC1ACB84B2B4FE1AB1F3DB9@DM6PR05MB6265.namprd05.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thank you! Ninad

From: Ninad Shah <nshah(dot)postgres(at)gmail(dot)com>
Sent: Wednesday, September 15, 2021 10:11 AM
To: Sridhar Parepalli <Sridhar(dot)Parepalli(at)sas(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: How to restore roles into new Database server?

EXTERNAL
This can be accomplished by taking a global dump. pg_dumpall utility has an option "-g" to accomplish that.

Regards,
Ninad Shah

On Wed, 15 Sept 2021 at 19:24, Sridhar Parepalli <Sridhar(dot)Parepalli(at)sas(dot)com<mailto:Sridhar(dot)Parepalli(at)sas(dot)com>> wrote:
Hello Pros,
Is there a quick way to create roles from database server to another db server?
Regards,
Sridhar Parepalli

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sridhar Parepalli 2021-09-15 17:18:59 RE: How to restore roles into new Database server?
Previous Message Steve Litt 2021-09-15 16:52:41 Alter and move corresponding: was The tragedy of SQL