Re: MySQL Dump
| From: | Torsten Roehr | Date: | Fri, 23 Apr 2004 01:19:01 +0000 |
| Subject: | Re: MySQL Dump | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-184331@lists.php.net to get a copy of this message | ||
"Matt Palermo" <webmaster@sweetphp.com> wrote in message
news:20040422220739.48299.qmail@pb1.pair.com...
> Is there an easy way to do a mysql dump routine written in php? I
basically
> want to write a function to backup a database and have it create all the
> neccessary structures and data in the dump. I know phpMyAdmin will do
this
> for me, but I want to write a function to do this incase the server
doesn't
> have phpMyAdmin installed. Any ideas?
>
> Thanks,
>
> Matt
Hi Matt,
I have converted the relevant dump scripts of phpMyAdmin into a function and
removed all unnecessary stuff. This has served me well for over a year now.
Are you interested?
Regards,
Torsten Roehr