Re: backing up a database
| From: | Jochem Maas | Date: | Wed, 22 Nov 2006 10:18:36 +0000 |
| Subject: | Re: backing up a database | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-245023@lists.php.net to get a copy of this message | ||
Ross wrote:
> I have a database and it needs to get backed up on a daily basis. Is there a
> class that allows me to create a backup and then save it as a .sql or excel
> or both to a folder of her choice?
I'm only helping cos there's a chick involved. ;-)
the easiest solution would be to use a combination
of mysqldump and cron.
no-doubt there is php code out there capable of doing what you
want ... if nothing else you could probably rip out the
relevant bits from phpMyAdmin.
I have a strong suspicion google can provide lots
of potential winners for 'php mysql backup' like this one:
http://www.0php.com/MySQL-Backup.php (found in
0.5 seconds)
>
>
> R.
>
>