[K12OSN] Simple RSYNC question

Jim Kronebusch jim at winonacotter.org
Wed Oct 5 16:50:33 UTC 2005


I have two servers and am doing a migration from one to another.  I am
doing an rsync to move home over.  Only problem I have is the rsync does
not remove files from the new server that no longer exist on the current
server.  This isn't a problem if I do an rsync from scratch, but I want
to have it rsync'd prior so that the final sync doesn't take as long
making for a smoother transition.

I currently have /home from the existing server mounted on the new
server as /mnt/mailhome.  I am using rsync with the following command:

#rsync -arvv /mnt/mailhome/ /home

Is there a simple switch to add that will remove the files from the new
server if they have been removed from the old server?

Thanks,

Jim Kronebusch
Cotter Tech Department
507-453-5188
jim at winonacotter.org 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.10/119 - Release Date:
10/4/2005
 


-- 
This message has been scanned for viruses and
dangerous content by the Cotter Technology 
Department, and is believed to be clean.




More information about the K12OSN mailing list