Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4944 Lượt xem

Is there any way to copy only master data (partners, products, etc or data of a specific model) completely from one db to another. On development I will need some master data to create sales, invoices, etc. At some point I want to have a fresh db without sales and invoices, but with master data in.

Shure, I can keep a copy of db only with masters but during testing in running db I propably add data to masters that I want to copy to another db.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi

Refer this link may help you:

http://stackoverflow.com/questions/14826862/how-to-restore-a-single-table-from-a-sql-postgresql-backup

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

http://stackoverflow.com/questions/14826862/how-to-restore-a-single-table-from-a-sql-postgresql-backup

http://stackoverflow.com/questions/14826862/how-to-restore-a-single-table-from-a-sql-postgresql-backup

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Peterm,

If you want to use these master data, you should either keep them at module (by code) level so easily they are usable for other DBs.

In other case, you should export those data and keep them in import-compatible CSVs, so they are easily re-usable.

Thanks.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
What's the context? Đã xử lý
9
thg 3 24
118901
1
thg 6 20
12115
2
thg 3 16
10422
2
thg 3 15
5066
2
thg 3 15
9996