Article 5BTVX rsync --delete not working on LAN

rsync --delete not working on LAN

by
qajaq
from LinuxQuestions.org on (#5BTVX)
I use rsync to make daily backups of my main machine's data files (mounted at /libdata) onto an external HDD (mounted at /backups/backdata, also on my main machine).

I have recently set up a second laptop (named Avalon) to mirror my main machine, and I copied all the /libdata files from the main machine onto Avalon by means of physically moving the external HDD from the main laptop to the Avalon mirror laptop.

More recently, then, I've configured both laptops with openSSH (server and client on both machines).

Now, with the external HDD re-attached to my main machine, I am trying to use an rsync command to mirror changes written to the backup onto the new laptop (which is named Avalon) as follows (executed from the main machine):

Code:rsync -avu --delete /backups/backdata/ Avalon:/libdataThis rsync command successfully copies new and modified files as expected, but does not delete files that have been removed from the backup directories of the external HDD. (I've also tried replacing the rsync source directory with /libdata, but with the same failure to delete.)latest?d=yIl2AUoC8zA latest?i=HnJD4TQFsc4:WTjsvFjwuko:F7zBnMy latest?i=HnJD4TQFsc4:WTjsvFjwuko:V_sGLiP latest?d=qj6IDK7rITs latest?i=HnJD4TQFsc4:WTjsvFjwuko:gIN9vFwHnJD4TQFsc4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments