Wondering if anyone's heard of a way to get MODx Revo (2.1.3) to, first create automatic db backups and then send them to an email account as an attachment or something.
I looked into using the Databackup/CronManager snippet combo but for the life of me I just can't get the thing to work.
Not that I'm any kind of db/cronjob expert, but following the instructions provided just results in no backups in the assigned directory (I was going to worry about getting it to email out later on, after I got the basic combo to work, first).
Anyone out there get this snippet combination to work in automating db backups? What I did was this:
1. Downloaded and installed both Data Backup and Cron Manager.
2. Created a directory in my root (yes, I tried putting it behind the web root first but I figured this way was quicker to test first) and called it 'dumps'.
3. In Components > Cron Manager, I created a new cronjob, assigned it to the backup snippet, time of 1 minute and set active to 'yes'.
3. In the server's control panel, I went to the cronjob section (I'm wondering if I understood the Cron Manager user guide correctly here...correct me if I'm wrong) and created a new cronjob with the following settings: 1 minute, command of /home/'username'/assets/components/cronmanager/ && php cron.php.
Anyway, this all resulted in...nothing. No change in the Cron Manager logs and nothing sitting in the dumps directory.
What obvious thing am I missing?
I was following the instructions on these pages:
Data Backup:
http://rtfm.modx.com/display/ADDON/Databackup
Cron Manager:
http://rtfm.modx.com/display/ADDON/CronManager
Revo: 2.1.3.
PHP: 5.2.10
Thank you in advance.
[ed. note: waizen last edited this post 14 years, 10 months ago.]