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" <[EMAIL PROTECTED]>
To: "Manuel Kissoyan" <[EMAIL PROTECTED]>
Cc: "rsync list" <rsync@lists.samba.org>
Sent: Saturday, January 20, 2007 9:33 PM
Subject: Re: problem with the delete option
On 1/20/07, Manuel Kissoyan <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]:/ /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
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html