PDA

Bekijk de volledige versie : save the mysql database



rj.2001
22-07-2007, 11:27
Hello @all,

for a few months, I get my WL500gP to work fine with the following packages:

bzip2 - 1.0.4-1 - Very high-quality data compression program
cron - 4.1-5 - Standard vixie cron, with cron.d addition
cyrus-sasl-libs - 2.1.22-1 -
gdbm - 1.8.3-2 - GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines.
ipkg - 0.99.149-2 -
ipkg-opt - 0.99.163-9 - The Itsy Package Manager
libdb - 4.2.52-3 - Berkeley DB Libraries
libuclibc++ - 0.2.2-4 - C++ standard library designed for use in embedded systems
libxml2 - 2.6.27-2 -
libxslt - 1.1.20-1 -
lighttpd - 1.4.15-2 -
mysql - 4.1.20-1 -
nano - 2.0.6-1 - A pico like editor
ncurses - 5.6-1 - NCurses libraries
openldap-libs - 2.3.33-1 -
openssl - 0.9.7m-1 -
pcre - 6.7-5 -
php - 5.2.2-1 -
php-fcgi - 5.2.2-5 -
php-mysql - 5.2.2-1 -
readline - 5.2-2 - The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are
uclibc-opt - 0.9.28-12 - micro C library for embedded Linux systems
zlib - 1.2.3-2 - zlib is a library implementing the 'deflate' compression system.


Now, my question is, how can I save the mysql database to an other place, respectively where (in which path) is the database stored on the router?
The reason for that is:
I would save the database every day (to make an backup of the database) via cron to my second external harddisk conencted on my WL500gp.
The name of my Database is 'mysql'.

Thanks for your help :)