IO error encountered -- skipping file deletion

Matt McCutchen matt at mattmccutchen.net
Tue Jul 29 13:43:54 GMT 2008


Manuel, please remember to CC rsync at lists.samba.org .

On Sat, 2008-07-26 at 16:22 -0300, Manuel Kissoyan wrote:
> Thanx....yes, i have some files that are available in some servers and 
> are not in others......i was reading the filters rules, i havent used it 
> before and looks a bit confusing....
> I only want pass a list to excluded dirs/files and included dirs/files 
> to rsync and it also delete the dirs/files in the receiving side that do 
> not exist anymore in the sending side.

You may find the "support/files-to-excludes" script that comes with
rsync helpful.  My RPM installs it under /usr/share/doc/rsync-3.0.3 .

Matt

> Matt McCutchen wrote:
> > On Sat, 2008-07-26 at 13:06 -0300, Manuel Kissoyan wrote:
> >   
> >> Im not finding any useful info....this is the only thing that did show:
> >>
> >> rsync: link_stat "/etc/domainalias" failed: No such file or directory (2)
> >> rsync: link_stat "/etc/ips.remotedns" failed: No such file or directory (2)
> >> rsync: link_stat "/etc/master.passwd" failed: No such file or directory (2)
> >> rsync: link_stat "/etc/namedb/named.conf" failed: No such file or 
> >> directory (2)
> >> rsync: link_stat "/usr/local/apache/conf/userdata" failed: No such file 
> >> or directory (2)
> >> rsync: link_stat "/var/lib/named/chroot/var/named/master" failed: No 
> >> such file or directory (2)
> >> rsync: link_stat "/var/ssl" failed: No such file or directory (2)
> >> IO error encountered -- skipping file deletion
> >>     
> >
> > The "link_stat" errors do cause rsync to skip deletion, so you'll need
> > to remedy them.  Are you using a --files-from list that contains
> > nonexistent files?  If so, remove the files from the list or, if you
> > want to use the same list on other machines that do have the files, use
> > filters instead of --files-from.  If that isn't the problem, please
> > provide your rsync command line and any --files-from or filter files you
> > are using so I can try to figure out what is going on.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/rsync/attachments/20080729/1e940aa3/attachment.bin


More information about the rsync mailing list