Is a database dump the same as a backup? Is it done from within OpenERP or at a command prompt? There is a command in PostgreSQL 9.3 bin directory pg_dump is this the command used?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Yes.
It is done via the Manage Databases link on the login page.
What actually happens is that OpenERP calls the relevant PostgreSQL commands. The exact format of the commands that OpenERP uses for backup and restore is below.
For backup
pg_dump --format=c --no-owner --username=<> --host=<> --port=<> <dbname>
For restore:
pg_restore --no-owner --dbname=<>
... and you can even pipe pg_dump with pg_restore to replicate a test environment from a production one.
I cannot find the Manage Database link in the online verion?
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký