problem with the delete option

Manuel Kissoyan manuelk at telecentro.com.ar
Sun Jan 21 01:32:19 GMT 2007


Thanx Matt,

i did, in fact i did -vvv but there are nothing useful is why is driving me 
crazy, i was trying to find the problem from a month or so now, any other 
idea?

Thank you!





----- 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