problem with the delete option

Manuel Kissoyan manuelk at telecentro.com.ar
Sat Jan 20 22:59:36 GMT 2007


hi guys,

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
/home2
/usr/local/apache/conf
/var/named
/usr/local/cpanel
/var/lib/mysql
/var/lib/pgsql
/var/cpanel
/usr/share/ssl
/var/ssl
/usr/local/cpanel/3rdparty/mailman
/var/log/bandwidth
/usr/local/frontpage
/var/spool/cron
/root/.my.cnf
/etc/httpd/conf/httpd.conf
/etc/sysconfig/network
/etc/userdomains
/etc/remotedomains
/etc/localdomains
/etc/trueuserdomains
/etc/trueuserowners
/var/cpanel/users
/etc/secondarymx
/etc/domainalias
/etc/valiases
/etc/vfilters
/etc/exim
/etc/exim.conf
/etc/exim.conf.buildtest
/etc/exim.conf.dist
/etc/exim.conf.local
/etc/exim.conf.localopts
/etc/exim.conf.mailman2.dist
/etc/exim.conf.mailman2.exiscan.dist
/etc/exim.crt
/etc/exim.key
/etc/eximmailtrap
/etc/exim.pl
/etc/exim.pl.local
/etc/eximrejects
/etc/eximrejects.rpmorig
/etc/exim_surbl.pl
/etc/proftpd
/etc/proftpd.conf
/etc/proftpd.conf.bytes
/etc/proftpd.conf.rpmnew
/etc/proftpd.conf.rpmsave
/etc/proftpd.conf.tmpeditlib
/etc/proftpd.conf,v
/etc/pure-ftpd
/etc/pure-ftpd.conf
/etc/pure-ftpd.conf.rpmsave
/etc/passwd
/etc/passwd-
/etc/passwd.OLD
/etc/passwd,v
/etc/group
/etc/group-
/etc/named.conf
/etc/named.conf.fixrndc
/etc/named.conf.prefixrndc
/etc/named.conf.rpmsave
/etc/named.conf,v
/etc/wwwacct.conf
/etc/cpupdate.conf
/etc/quota.conf
/etc/shadow
/etc/shadow-
/etc/shadow,v
/etc/ips
/etc/ips.dnsmaster
/etc/ips.remotedns
/etc/ipaddrpool
/etc/ipaddrpool-
/etc/nameserverips
/etc/ssl
/etc/hosts
---


my excluded list:

---
/home/virtfs
/home2/virtfs
/home/cpzendinstall
/home/cprestore
/home/cpphpbuild
/home/cpapachebuild
--- 



More information about the rsync mailing list