WebLog Pro Olivier Berger

29/05/2007

Scripting mysql database backups on phpMyadmin with CURL

Filed under: Uncategorized — Tags: , , , — Olivier Berger @ 17:34

Sometimes, you can only access your MySQL database with phpMyadmin (the previous tool I blogged about won’t be helpful, then). But you may wish to backup the database on a regular way.

PhpMyadmin allows you to backup the database, but you may like to do it in an unattended way.

I’ve written a shell-script which will use CURL to do so.

I couldn’t find any such script… so I hope I didn’t reinvent the wheel ;)

Update 2008/04/15 : I have made some modifications to the script, and it is now in SVN. You may grab a copy from the picoforge project’s websvn.

Powered by WordPress