BackupPC-users

Re: [BackupPC-users] backups failing due to errors under /sys... BackupFilesExclude is not taking effect. What gives?

2008-12-08 17:40:37
Subject: Re: [BackupPC-users] backups failing due to errors under /sys... BackupFilesExclude is not taking effect. What gives?
From: Matthias Meyer <Matthias.Meyer AT gmx DOT li>
To: backuppc-users AT lists.sourceforge DOT net
Date: Mon, 08 Dec 2008 23:37:25 +0100
Aleksey Tsalolikhin wrote:

> BackupPC 3.1.0 on CentOS 5.2
> 
> Backups of a single host are aborting after lots of errors like
> 
> sys/block/hdc/capability: md4 doesn't match: will retry in phase 1; file
> removed Remote[1]: rsync: read errors mapping "/sys/block/hdc/capability":
> No data available (61)
> sys/block/hdc/dev: md4 doesn't match: will retry in phase 1; file removed
> Remote[1]: rsync: read errors mapping "/sys/block/hdc/dev": No data
> available (61)
> [ skipped 4 lines ]
> sys/block/hdc/queue/iosched/back_seek_max: md4 doesn't match: will
> retry in phase 1; file removed
> Remote[1]: rsync: read errors mapping
> "/sys/block/hdc/queue/iosched/back_seek_max": No data available (61)
> sys/block/hdc/queue/iosched/back_seek_penalty: md4 doesn't match: will
> retry in phase
> 
> Always referencing files under /sys
> 
> My site-wide config.pl includes
> 
>     $Conf{BackupFilesExclude} = ['/proc', '/sys'];
> 
> My error log for this host shows:
> 
> Sent exclude: /proc
> 
> Why didn't /sys get excluded, as per the configuration?   There is no
> overriding   $Conf{BackupFilesExclude} directive in the per-host
> config file.
> 
Try
$Conf{BackupFilesExclude} = {
  '*' => [
    '/proc',
    '/sys'
  ]
};
> I've got rsync 3.0.3 (protocol version 30) on both ends.
> 
> Any ideas?
> 
> Thanks,
> Aleksey
> 
> 

-- 
Don't panic


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>