RSync Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I use an external USB drive and rsync to back up everything in /home.
The USB drive has an entry in fstab and I mount it with "# mount /mnt"
The rsync command I use is:

rsync -av --delete --include='.thunderbird' --include='.filezilla' 
--include='.putty' \
--exclude='.*' --exclude='Desktop' --exclude='VirtualBox*' /home/* 
/mnt/home/

After I deleted one of the users on my system, including their home 
directory, I ran the rsync command.
I found that the deleted user's home directory wasn't deleted from 
/mnt/home.
I thought that the --delete option deleted everything on the destination 
that was not on the source.

Please help.
Thank you,
Joe



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux