[Koha] Koha Backup

Paul paul.a at aandc.org
Sun Sep 22 11:24:03 NZST 2013


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 at Y:/$ cd /var/lib/mysql
mysqldump --user=[koha] --password=[pw] koha_db_name > 
/wherever_you_want_it/koha_db_name_dump.sql

RESTORE

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

Best - Paul 



More information about the Koha mailing list