| От | Richard Broersma Jr |
|---|---|
| Тема | Re: moving a single database |
| Дата | |
| Msg-id | 417622.41556.qm@web31807.mail.mud.yahoo.com обсуждение исходный текст |
| Ответ на | moving a single database (Tom Allison <tallison@tacocat.net>) |
| Список | pgsql-novice |
> I want to move just one database from server A to server B. > The files under /var/lib/postgresql/8.1/ are not exactly jumping out and telling > me which files belong to which database. > So, how do you move a database (not the entire postgresql installation)? > Considering the existence of things like triggers and sequences -- will a simple > dump/restore be sufficient? you are going to pg_dumpall. It will get all schema, table, rule, trigger, and data into a sql script file. It will also get the user, group, and other cluster level entities and definitions. http://www.postgresql.org/docs/8.2/interactive/backup-dump.html#BACKUP-DUMP-ALL regards, Richard Broersma Jr.
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера