[Koha] backup the database
Zeki Celikbas
celikbas at itu.edu.tr
Sat Nov 23 01:39:31 NZDT 2002
I've used the below cron script to backup koha's databases. This script
run everynight and backup a sperate file for each day's database.
Backup file named koha + year + mount + day, for example
koha20021101, koha20021102, koha20021103 and so on. This script
also send the backup file to another machine with ftp.
to run this script every day put it /etc/cron.d directory.
_______________ beginnign of file _____________________
#!/bin/sh
#
# koha's back-up cron script
#
mysqldump -uroot -pyonca --add-drop-table koha
>/home/yedek/koha/koha`date +%y%m%d`
ncftpput -V -u celikbas -p sem3zak 160.75.14.95 koha
/home/yedek/koha/koha`date +%y%m%d`
_______________ the end of file _____________________
On 21 Nov 2002 at 14:11, Jim Thomas wrote:
> Hi,
>
> How do I make backups of koha's mysql database? Specifically, what
> files do I need to make backups of?
>
> --
> Jim Thomas Principal Applications Engineer Bittware, Inc
> jthomas at bittware.com http://www.bittware.com (703) 779-7770
> Things could be a lot better around here, but worse is more likely -
> Calvin
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
Zeki Celikbas
More information about the Koha
mailing list