Hi all - Do we have a good / easy and reliable backup solution for MODx REVO? I've struggled to find one which can work on shared hosting - things like shell scripts are being banned from shared hosting - Anyone any suggestions on a good solution - I'd ideally like something all bundled, so a client can login and just hit backup - then the Manager backs up the database and the file system and saves it as a zip in a backup folder...
Any suggestions?
Cheers,
dubbs.
The only thing I know of is this:
https://modx.com/extras/package/backupmodx. I sounds like it's well-designed and will even back up a moved core folder, but it never got out of beta.
It does require MODX 2.3 or above, so there's a fair chance that it will still run.
You may be able to use something like this on a Cron job
https://github.com/gizalink/Backup-Website-PHP
You could put it into a snippet and then use something like cron manager to fire it off every x days or you might be able to make a quick start button which takes them to a page which contains the snippet.
Thanks Bob - yeh, I tried that - wont work on shared hosting solution as uses shell scripts that are not allowed...
It depends on the host. I just checked and the shell_exec() command, which is what the extra uses, works fine on my shared account at A2 Hosting.
I just tested the command, though, not the extra.