problem with the delete option

Manuel Kissoyan manuelk at telecentro.com.ar
Sat Feb 10 13:27:50 GMT 2007


I continue investigating this and have a question.....could a file name or a 
directory name with a dash, dot or comma in the include option could confuse 
rsync and effect in the --delete-during option?

in example:

--include=passwd,v --include=/etc/proftpd.conf.bytes --include=/etc/passwd-

Thanx!





----- Original Message ----- 
From: "Manuel Kissoyan" <manuelk at telecentro.com.ar>
To: "Wayne Davison" <wayned at samba.org>
Cc: "rsync list" <rsync at lists.samba.org>
Sent: Wednesday, January 31, 2007 6:32 PM
Subject: Re: problem with the delete option


> Just wondering if this bug will be corrected.
>
> Thank you!
>
>
>
>
>
>
>
> ----- Original Message ----- 
> From: "Manuel Kissoyan" <manuelk at telecentro.com.ar>
> To: "Wayne Davison" <wayned at samba.org>
> Cc: "rsync list" <rsync at lists.samba.org>
> Sent: Saturday, January 27, 2007 2:32 PM
> Subject: Re: problem with the delete option
>
>
>> ok, this going more complicated....
>>
>> In the sending side do not exists a directory called "piusfont", in the 
>> receving side yes...
>>
>> there are no entries with this directory name, no 
>> "delete_in_dir(DIRECTORY)" or "make_file()", what next?
>>
>> btw, dunno if this have something to do but im running the rsync through 
>> the backup server so the backup server is the receiving side and the 
>> other server is the sending side, so basically the backup server is 
>> running rsync to pull the data.
>>
>> I also did find something with another user account that it is in the 
>> backup server but not anymore in the other server:
>>
>> delete_in_dir(home/iccdom/public_html/administrator)
>>
>> This was in the logs in example but rsync havent deleted it from the 
>> backup server.
>>
>>
>> Thank you!
>>
>>
>>
>>
>>
>> ----- Original Message ----- 
>> From: "Wayne Davison" <wayned at samba.org>
>> To: "Manuel Kissoyan" <manuelk at telecentro.com.ar>
>> Cc: "rsync list" <rsync at lists.samba.org>
>> Sent: Friday, January 26, 2007 12:36 PM
>> Subject: Re: problem with the delete option
>>
>>
>>> On Mon, Jan 22, 2007 at 08:18:52PM -0300, Manuel Kissoyan wrote:
>>>> ok, i did add the -vv and it simply not running any delete command, the
>>>> only thing close to that is lines like this:
>>>
>>> You need a third -v to see mentions of where rsync is deleting.  It will
>>> say "delete_in_dir(DIRECTORY)" for every directory whose contents is
>>> being transferred.  You should also look for the make_file() calls from
>>> the generator, which is the directory reading on the sending side that
>>> is used for deletions.  If you see a message about a file being
>>> protected, that indicates that your exclude options have ensured that
>>> that particular file cannot be deleted.
>>>
>>>> so basicaly rsync is not deleting the files that are not there in the
>>>> sending side.
>>>
>>> If you weren't using --files-from, I would have said that you were being
>>> bitten by this bug:
>>>
>>>  - Fixed a recent bug where --delete was not working when transferring
>>>    from the root (/) of the filesystem with --relative enabled.
>>>
>>> With the --files-from option, I can't duplicate your problem, so it is
>>> probably a case of you expecting rsync to delete in a directory that it
>>> is not sending or your not expecting an exclude to protect a file from
>>> deletion.  If not, please let us know what you discover.
>>>
>>> ..wayne..
>>
>> -- 
>> To unsubscribe or change options: 
>> https://lists.samba.org/mailman/listinfo/rsync
>> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>
> -- 
> To unsubscribe or change options: 
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
> 



More information about the rsync mailing list