Cloning of Test database from Live

Dear All

I have two databases , Live and demo/test. Pls advise me best way to cloning demo database from live database

thanks
MHI



You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Hi Mahr,


You can use:
mysqldump -uUSER -pPASSWORD DBNAME > PATH/dbname.sql

then, go to the concerned erpnext folder.
then user, lib/wnf.py --install NEW_DBNAME PATH/dbname.sql

then change conf.py's db_name to NEW_DBNAME

then login using username: administrator, password: admin

thanks,
Anand.

On Tue, Oct 30, 2012 at 4:16 PM, stkitmanager <st…@gmail.com> wrote:

Dear All

I have two databases , Live and demo/test. Pls advise me best way to cloning demo database from live database

thanks
MHI



You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.








You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.