2010-06-20 66 views

回答

5

http://www.postgresql.org/docs/current/interactive/app-pgdump.html

pg_dump -s -U username database > backup.sql 

沒有測試過了,所以不知道它的工作原理。

編輯:有德國鏈接那裏;)

+1

和英文版:http://www.postgresql.org/docs/current/interactive/app-pgdump.html -s只轉儲對象定義(模式),而不是數據。 – 2010-06-20 11:51:32

+0

我剛剛注意到了錯誤的語言,編輯它 – DrColossos 2010-06-20 11:54:47

+0

與beta文檔的鏈接有哪些? – 2010-06-20 12:00:06