Hi Vikraw, PostgreSQL has excellent facilities for dumping and loading data. For an excellent example, read how we do it in the fabfile.py, particularly the backup <https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/project_template/fabfile.py#L342-L351> and restore <https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/project_template/fabfile.py#L354-L359> tasks.
hth! - ken On Tue, Jun 9, 2015 at 6:07 AM, vikraw <[email protected]> wrote: > How can I sync the actual data in the database between development and > production for postgres? > > new pages, products, description, Prices, Sales etc will be first checked > in development. This has to be deployed to the production without > overwriting/updating production relevant content ex: Past orders, User > accounts, Stock Inventory, Sales, Discount codes etc.. > > > -- > You received this message because you are subscribed to the Google Groups > "Mezzanine Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
