Author Topic: Backup command  (Read 2345 times)

0 Members and 1 Guest are viewing this topic.

Backup command
« on: November 13, 2014, 07:08:22 PM »
When the backup script is running, the following recursive rsync command is used if a remote connection is available and enabled:
Code: [Select]
ionice -c 3 nice -n +19 /usr/bin/rsync -avzr --deletebut if a remote connection is not available or not enabled, the following non recursive command is used without ionice:
Code: [Select]
/usr/bin/rsync -avz --no-o --no-g --deleteThe latter needs to be fixed as:
Code: [Select]
ionice -c 3 nice -n +19 /usr/bin/rsync -avzr --no-o --no-g --deleteThis happens when we observe the cwp cron running the file:
Code: [Select]