Make sure I'm backing up all needed files

93 views
Skip to first unread message

LTC Lib dfa

unread,
Jul 25, 2011, 7:53:01 AM7/25/11
to Koha Live CD by Mizstik
Hello,

I'm setting up a backup for Koha installed from the Live CD. I want
to make sure I get everything needed. Looking at some of your earlier
posts it looks like I need to do the mysqldump of the koha database
and then also back up /etc/koha/koha-httpd.conf and /etc/koha/koha-
conf.xml. I could also back up the manual and links from the desktop,
I guess. Should this get everything we need? We went mostly with
defaults and ended up choosing NoZebra if this helps.

By the way, the mysqldump command I'm using is: mysqldump -u root -p
koha > koha-backups/000000-koha-mysql.sql

To restore the database I'd use: mysqldump -u root -p koha > koha-
backups/000000-koha-mysql.sql (in both of these the 000000 is the
date of the dump).

Do these look Ok? Any other suggestions for as complete a backup as
possible would be welcomed.

Many Thanks.

Mizstik

unread,
Jul 25, 2011, 8:21:20 AM7/25/11
to kohal...@googlegroups.com
The password should be "kohalivecd" not just "koha".
 
Also, if you never edited the xml and conf files, you don't need to back them up.
 
If you use the Live CD as it comes, then the mysql dump alone is a complete backup.

Mizstik

unread,
Jul 25, 2011, 8:27:15 AM7/25/11
to kohal...@googlegroups.com
Oh wait I've just realized you omitted the password, and koha was for the db name. The command should look like this:
 
mysqldump -u kohaadmin -p kohalivecd koha > koha-backup.sql
 
or you can use the root user:
 
mysqldump -u root -p kohasqlpwd koha > koha-backup.sql

Mizstik

unread,
Jul 25, 2011, 8:29:06 AM7/25/11
to kohal...@googlegroups.com
Alternatively, you can use phpmyadmin that comes with the Live CD.
 
 
user: kohaadmin
password: kohalivecd

nidheesh.aradhana5

unread,
Jul 28, 2011, 1:28:20 AM7/28/11
to kohal...@googlegroups.com
sir,
A command appeared on every installation that is" user@user system-product-name /~$ "                                what command Will type there .


welcome to u



Mizstik

unread,
Jul 28, 2011, 1:38:58 AM7/28/11
to kohal...@googlegroups.com
nidheesh,
 
Please make a new topic for each new problem and don't hijack other people's thread.
 
And if your next post doesn't make sense in English and describe what your problem is clearly, I'll have to block you from the group to spare the other people from it. Please be mindful that there are other people receiving emails from this group as well.
 
Regards,
Mizst
Reply all
Reply to author
Forward
0 new messages