| От | blast |
|---|---|
| Тема | Backup&Restore Postgres DB |
| Дата | |
| Msg-id | 27984540.post@talk.nabble.com обсуждение исходный текст |
| Ответы |
Re: Backup&Restore Postgres DB
|
| Список | pgsql-admin |
Hi all, I need to backup and restore a DB. In this particular case the data in the database is not important (strange hum...) but only the schema to put new data... I m thinking use the pg_dump: pg_dump -c -C -s schema > file.out With this i have in file.out the schema, correct? So, to restore the db from scratch, for example to a new system, what should i do? it automatically creates all users, rolls, permissions etc?How? What is the best way of doing it? Many thanks -- View this message in context: http://old.nabble.com/Backup-Restore-Postgres-DB-tp27984540p27984540.html Sent from the PostgreSQL - admin mailing list archive at Nabble.com.
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера