摘要: OpenRPT
xTuple core
CSVimp
Updater
7 數據庫恢復
下載:http://sourceforge.net/projects/postbooks/files/03%20PostBooks-databases/3.8.0Beta/
可恢復其中的.backup文件
恢復步驟:
1)創建admin用戶
執行命令:psql -U postgres -f init.sql template1
其中init.sql為下載好的文件,template1為登錄的數據庫。可以改為默認已存在的數據庫postgres
也可以在pgAdmin下的SQL中執行init.sql中的內容
2)創建新數據庫
執行命令:createdb -U admin production
注意用戶名為admin
也可以在pgAdmin下執行SQL語句:
create database "production" with owner = admin
閱讀全文