I have setup rsync to backup a drive everyday using cron. This is the command:
0 1 * * * /usr/bin/rsync -av --stats --delete /media/sdc1/ /media/sdd1/
My understanding is that the "--delete" will delete any files on the backup drive that are not on the source drive....but it doesn't. The backup drive has accumulated all the files that were deleted on the source drive. If the rync command is correct then why are the files not being deleted or if the rsync command is incorrect please supply the correct command.