When the backup script is running, the following recursive rsync command is used if a remote connection is available and enabled:
ionice -c 3 nice -n +19 /usr/bin/rsync -avzr --delete
but if a remote connection is not available or not enabled, the following non recursive command is used without ionice:
/usr/bin/rsync -avz --no-o --no-g --delete
The latter needs to be fixed as:
ionice -c 3 nice -n +19 /usr/bin/rsync -avzr --no-o --no-g --delete
This happens when we observe the cwp cron running the file:
/usr/local/cwpsrv/resources/admin/include/cron_backup.php