Re: Restore to a database with another name?

Поиск
Список
Период
Сортировка
От phil campaigne
Тема Re: Restore to a database with another name?
Дата
Msg-id 424B12DA.3050309@charter.net
обсуждение исходный текст
Ответ на Restore to a database with another name?  (phil campaigne <pcampaigne@charter.net>)
Ответы Re: Restore to a database with another name?  (Lonni J Friedman <netllama@gmail.com>)
Список pgsql-general
Scott Marlowe wrote:

>On Wed, 2005-03-30 at 14:28, phil campaigne wrote:
>
>
>>Hi All,
>>I want to move my development database (7.2.3) to my production server
>>but the production server database has a different name.
>>What is the procedure for restoring a database pg_dump to another
>>machine with a different database name?
>>
>>
>
>pg_dump -h source_host source_dbname |psql -h dest_host dest_dbname
>
>
>
Hi Scott,
Unfortunately my production machine is remote and I must transfer it via
FTP.  How would that change your suggestion?
Thanks,
Phil



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

Предыдущее
От: frank@joerdens.de
Дата:
Сообщение: Re: Debugging deadlocks
Следующее
От: Lonni J Friedman
Дата:
Сообщение: Re: Restore to a database with another name?