RSYNC not deleting
Jonathan Duncan
jonathan at bluesunhosting.com
Thu Feb 15 14:13:52 MST 2007
On Mon, 12 Feb 2007, Michael L Torrie wrote:
> 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?
>
>
Hmmm, that could help. I will see how it goes. Thanks for the idea.
Jonathan
More information about the PLUG
mailing list