if you schedule backup job with "backup add" with a <backup_name> that contains
spaces breaks the cron breaks as the quotes are not put into the crontab. This
causes the cron jobs to completely fail with email from cron with: Error:
Invalid or incomplete parameters for the Scheduled Backup to run were given.
Fix is to change line 781 in includes/service.classes.php
from:
$cron .= $scheduledBackupInfo['cron_expression'].' '.$XBM_AUTO_INSTALLDIR.'/xbm
backup run '.$hostInfo['hostname'].' '.$scheduledBackupInfo['name']." quiet\n";
to:
$cron .= $scheduledBackupInfo['cron_expression'].' '.$XBM_AUTO_INSTALLDIR.'/xbm
backup run '.$hostInfo['hostname'].' "'.$scheduledBackupInfo['name']."\"
quiet\n";
Original issue reported on code.google.com by brian...@gmail.com on 26 Jan 2013 at 12:06
Original issue reported on code.google.com by
brian...@gmail.com
on 26 Jan 2013 at 12:06