備份 :pg_dump -h localhost -U odoo -W -d gino > gino.sqlpython
建立: createdb -h localhost -U odoo gino還原:psql -h localhost -U odoo -d gino < gino.sql linux
刪除: dropdb -h localhost -U odoo gino
中止更新sql
SELECT * from ir_module_module WHERE "state" like '%up%';windows
SELECT state from ir_module_module GROUP BY "state" ;spa
UPDATE ir_module_module set state='installed' WHERE "state" like '%up%';server
windows 下更新模塊命令;it
linux 下更新模塊命令:module
python openerp-server -c /etc/odoo-server.conf -u all –stop-after-init -d DB_ debian