Re: Large Database Restore

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Large Database Restore
Дата
Msg-id 464DEFE9.4040007@archonet.com
обсуждение исходный текст
Ответ на Re: Large Database Restore  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Large Database Restore  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-general
Alvaro Herrera wrote:
> Richard Huxton escribió:
>> Alvaro Herrera wrote:
>>> Lee Keel escribió:
>>>> So then the best way to do this kind of backup\restore is to use pg_dump?
>>>> Is there any plan in the future to be able to do some sort of file-level
>>>> backup like SqlServer?
>>> Actually you can do single databases, but you must also include some
>>> other directories besides the database directory.  You would need to
>>> include everything, excluding things in the "base" directory, but not
>>> exclude your databases directory in "base".
>> Will that not cause trouble if you've added users though?
>
> Huh, maybe it will, but then I don't see how.  Can you be more specific?

Well, user info is stored in "global" (as is the list of databases, and
it looks like language handler definitions too). Run strings over the
files and you'll see.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Creating a function if it's not there in Postgres
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: contirb install