| От | Adrian Klaver |
|---|---|
| Тема | Re: Need Database Backup |
| Дата | |
| Msg-id | 55E3115A.5010806@aklaver.com обсуждение исходный текст |
| Ответ на | Re: Need Database Backup (Melvin Davidson <melvin6925@gmail.com>) |
| Ответы |
Re: Need Database Backup
|
| Список | pgsql-general |
On 08/30/2015 07:13 AM, Melvin Davidson wrote: > You need to recreate the database to reload the data into so > > from the windows command line: > C:\PostgresDB\bin\createdb.exe -U postgres <your db name>; That assumes Postgres is running, which at this point seems not to be the case or at least is unproven. > > Then to restore the data from the sql backup > C:\PostgresDB\bin\pg_restore.exe -U postgres <the sql backup file> This will not work if the *.sql is a plain text file. > > -- Adrian Klaver adrian.klaver@aklaver.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера