Forum Moderators: open
I'd like this to be done automagically, nightly. Using a cron, or maybe a Windows scheduled task?
Can anyone recommend software to do this?
I've found a few options online but I can't tell a good one from a lousy one without trying them all.
Oh, and my favourite price point is $0, though if there's a small cost for great value, I'll pay up. Don't MySQL/PHP people do everything for free?
Please, spread your light
Well, a GOOG search for "backup mysql" turned up a dozen options, most are just scripts you'd run on a daily cronjob.
Here is one such:
mysqldump -u [username] -p [password] [databasename] > [backupfile.sql] and another:
mysqldump --all-databases> alldatabases.sql Maybe I'm being a weenie but I'd prefer something with a friendly GUI interface and pretty status messages and progress bars, saving the *.sql file to my local C: drive, rather than saving to my web server.
I like to have some hard copies of everything in two mirrored
a) CD's (some years ago)
b) portable 2.5' USB disks (1 year ago)
c) 8 GB pendrives now
I make the database copies from the server every saturday (ooops... today I must do it) but I feel uncomfortable with the fact that all of my databases are live and changing for a whole week and I can lose these contents.
I'll wait for this thread but if there is no anything useful and with pretty progress bars, maybe we should thing about to make the backups to servers from other companies/datacenters.
mysqldump and then copy/move the files to a backup location using scp/ftp/mounted drives/whatever ... It provides for easy recovery.
A few things to think about: don't dump everything. Dump in batches that are as small as possible. That way partial recovery is much quicker and easier. Also, it seems to put less strain on the server.