Re: How to restore from backup to 8.4.3 server using 9.0 dump/restore

Поиск
Список
Период
Сортировка
От Robert Gravsjö
Тема Re: How to restore from backup to 8.4.3 server using 9.0 dump/restore
Дата
Msg-id 4D09FF56.6050808@blogg.se
обсуждение исходный текст
Ответ на Re: How to restore from backup to 8.4.3 server using 9.0 dump/restore  ("Andrus Moor" <eetasoft@online.ee>)
Список pgsql-general

On 2010-12-16 11.12, Andrus Moor wrote:
> Robert,
>
>> I'm probably misunderstanding but "CREATE DATABASE foo TEMPLATE bar"
>> will clone bar as foo including data. Of course this only works within
>> the same cluster.
>
> Than you.
> You are genious
> I haven't never tought about this.
>
> Will this work if database bar is accessed by other users ? Probably it
> fails, so it cannot used.

Correct.

> Will this command create exact copy ?

Yes.

>
> Andrus.
>

--
Regards,
Robert "roppert" Gravsjö

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

Предыдущее
От: Filip Rembiałkowski
Дата:
Сообщение: Re: Postgres Installation
Следующее
От: Robert Gravsjö
Дата:
Сообщение: Re: How to restore from backup to 8.4.3 server using 9.0 dump/restore