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