Re: Backup roles / users

Поиск
Список
Период
Сортировка
От Vivek Khera
Тема Re: Backup roles / users
Дата
Msg-id 1375CB62-E789-4CCC-B513-4034D2EC6621@khera.org
обсуждение исходный текст
Ответ на Backup roles / users  ("Alain Roger" <raf.news@gmail.com>)
Список pgsql-general

On Sep 22, 2006, at 3:20 AM, Alain Roger wrote:

When i migrate my DB to another computer, should i recreate all roles manually ?

either that or use this command to dump the roles as an SQL file you can feed into the  new server.  it will complain about trying to recreate the superuser, but that's ignorable:

 pg_dumpall --globals-only  -U ${pguser} > users.sql

where pguser is defined as the postgres superuser you use.

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Vivek Khera
Дата:
Сообщение: Re: Backup / export DB
Следующее
От: Vivek Khera
Дата:
Сообщение: Re: postgresql rising