New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Backup command

Started by apmuthu, November 13, 2014, 07:08:22 PM

Previous topic - Next topic

apmuthu

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