Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
4911 Visualizzazioni

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.

Avatar
Abbandona
Risposta migliore

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

Avatar
Abbandona
Risposta migliore

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.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
9
mar 24
118852
1
giu 20
12103
2
mar 16
10409
2
mar 15
5048
2
mar 15
9955