At 03:42 AM 9/21/2013 -0700, chandru1782 wrote:
Dear all,

I have made a fresh install of Koha 3.12.4 on a Debian machine X, with all
the optional set of patrons, libraries, itemtypes etc.,. I have another
instance of Koha running in a seperate Debian machine Y. Now I want to
restore the data from Y to X without any change to the data in my fresh
install X.

I request some of the experts here to help me out with the above problem.

DUMP

you@Y:/$ cd /var/lib/mysql
mysqldump --user=[koha] --password=[pw] koha_db_name > /wherever_you_want_it/koha_db_name_dump.sql

RESTORE

you@X:/$ cd /var/lib/mysql
mysqldump --user=[koha] --password=[pw] koha_db_name < /wherever_you_have_it/koha_db_name_dump.sql

Best - Paul
_______________________________________________
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to