RSYNC not deleting

Michael L Torrie torriem at chem.byu.edu
Mon Feb 12 09:31:52 MST 2007


On Fri, 2007-02-09 at 12:27 -0700, Jonathan Duncan wrote:
> I run a nightly script that rsync's my Mac to my Linux backup server.
> 
> I ran out of room on my backup server.  So I started to investigate.  I 
> found that the /backup folder on my backup server was almost twice 
> as big as the directory that I was backing up.  I looked at the files and 
> found stuff in the backup that I had deleted on the Mac a long time ago.
> 
> Apparently RSYNC is not deleting, or at least not deleting everything.
> 
> This command I am using:
> 
> rsync -az -e ssh --delete --exclude-from=ExcFile /Users/jonathan login@$192.168.0.1:/home/jonathan/backup

Would adding --delete-excluded do anything to help here?

> 
> 
> Can any rsync gurus out there tell me what I might be doing wrong?
> 
> Thanks,
> Jonathan
> 
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */
> 




More information about the PLUG mailing list