I have a site I am about to hand over to a client to manage - i.e. content manage and want to ensure that there is automated backuping up going on to ensure that if they mess anything up, I can easily roll things back to a previous stable version.
Does anyone have any oppinions on this? I have noticed Modback - is this any good?
I (and my clients) love it. It can run as a stand-alone script, thus making it possible to run it with a cron job, or as a module.
Thanks Susan, Can you schedule it to run automatically? Where do the backups download too?
By default they save to the backups/archive directory. When backing up, the backup folder is also backed up, but older zip files there are not; the sql dump file is in the backup/archives directory of the backup. You can put this anywhere you want; if your server allows it, outside of the web root is good if youâ€™re using it as a module, or running it via a cron job. You can also configure it to put the backup zip file somewhere else if you prefer.
Can it backup to a local machine? I.e. not a web server? If server goes then surely if your backups are on the server you have not backed anything up?
There is an archive management page where you can download, delete or unzip an archive; if itâ€™s unzipped you can upload files or import the sql dump file. So itâ€™s easy to download the zip file, then delete it from the server.
As far as automatically moving the zip file to another server, I doubt it. For one thing, PHP is limited in what it can do with remote servers. Probably would need another perl or shell script to handle that.
Then again, something might be able to be done with this... http://us.php.net/manual/en/function.ftp-fput.php
Susan - have you used Modback? What are your oppinions on that as a solution to backups? Seems to work very easily and zips up all MODx files as well as the SQL database into a date named Zip into a designated folder - from which point you can download.
Love to hear your thoughts on Modbak
No, bkupMODx is the only one Iâ€™ve ever used.