views:

309

answers:

1

while I find the apache portion of mamp pretty easy to backup, what is everyone using or how are you performing a scheduled backup of your mysql databases? It would be kinda annoying to export each DB one by one.

thank you

A: 

You could write a simple cron that would export all the databases you wish using mysqldump and then move them to a remote machine for storage using scp or some other mechanism.

Miha Hribar
i tried that, however, either my script was wrong or it could not connect to mamp, it could not locate the mysqldump command
chris hough
Try installing macports and install mysqldump from the repository. Would need to check to see that the versions will be compatible though. I'm sorry but I don't use Mamp, I have installed everything either from macports or by hand.
Miha Hribar