problem with the delete option

Manuel Kissoyan manuelk at telecentro.com.ar
Mon Jan 22 23:18:52 GMT 2007


Thanx Matt,

ok, i did add the -vv and it simply not running any delete command, the only 
thing close to that is lines like this:

removing duplicate name usr/local/cpanel/3rdparty/mailman/Mailman/Bouncer.py 
from file list (93869)

so basicaly rsync is not deleting the files that are not there in the 
sending side.

any idea?







----- Original Message ----- 
From: "Matt McCutchen" <hashproduct+rsync at gmail.com>
To: "Manuel Kissoyan" <manuelk at telecentro.com.ar>
Cc: "rsync list" <rsync at lists.samba.org>
Sent: Saturday, January 20, 2007 9:33 PM
Subject: Re: problem with the delete option


> On 1/20/07, Manuel Kissoyan <manuelk at telecentro.com.ar> wrote:
>> im trying to backup a cpanel server and made a list in the file with the
>> directories and files to be backed up and also another file with the
>> excluded dir/file list.
>> For some reason when an account is deleted from the server then when 
>> rsync
>> is backing it up is not removing this account directory and files. Any 
>> idea
>> what could be the problem?
>>
>> Im using version 2.6.8  protocol version 29
>>
>> /usr/local/bin/rsync -vrplogDtzH --stats --delete-during --partial --timeout=500
>>  --exclude-from=/root/rsyncexcludedfiles --files-from=/root/rsyncincludedfiles
>>  -e ssh root at xx.xx.xx.xx:/ /home/server1 > /var/log/server1.log 2>&1
>>
>> my included lis:
>>
>> ---
>> /home
> [...]
>> ---
>
> Your setup looks correct: since you listed /home and used -r, rsync
> should delete subdirectories of /home from the backup when they are
> deleted from the server.  Try running rsync in double-verbose mode
> (-vv) to get more information about why it isn't deleting the
> directory from the backup.
>
> Matt
> 



More information about the rsync mailing list