Posted by Koncept on 01/14/07 05:20
In article <1168706666.210414.228160@38g2000cwa.googlegroups.com>,
kenoli <kenoli@igc.org> wrote:
> What is the best way to backup a MySQL database aside from what the seb
> server does on its own?
>
> Is there an effective way to write a php script that does this
> periodically, maybe saves the database (in an SQL file??) somewhere
> either on the web server or for downloading?
<?php
/**
* You most likely do not have to reinvent the wheel here Kenoli.
* the url below doesn't cut it for you, you can always take a
* peek at the source code....
* @author Koncept
* @link http://sourceforge.net/projects/phpmybackup
* @return string "Stop. Hammertime."
*/
?>
--
Koncept <<
"The snake that cannot shed its skin perishes. So do the spirits who are
prevented from changing their opinions; they cease to be a spirit." -Nietzsche
[Back to original message]
|