CRON Database Backup Creates FULL backup

I created a CRON job to back up all domains weekly. Did this in NodeWorx and this works great.

I then created a second CRON job to back up the mySql databases nightly. This didn’t go so well.

Here’s the CRON syntax in NodeWorx.

cd /home/interworx/cron ; /home/interworx/bin/backup.pex, --database only

What I got was full backups of the domains.

What’s missing?



That explains the syntax.

Thanks. That uses the --databases flag. I’ll try it.

One of socheat’s posts uses ‘–database only’ as a valid parameter.

Will report back.

Yup. You’re right. --databases worked great.


The backup and restore system has been changed a few times, I don’t remember the specifics but as a general rule it’s always a good idea to check the docs because they tend to have the most up to date info unless you have reason to believe otherwise.