BackupPC-users

Re: [BackupPC-users] rsync never starts transferring files (but does something)

2012-11-20 16:33:24
Subject: Re: [BackupPC-users] rsync never starts transferring files (but does something)
From: Bowie Bailey <Bowie_Bailey AT BUC DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 20 Nov 2012 16:31:56 -0500
On 11/20/2012 4:07 PM, John Rouillard wrote:
> You are assuming that [A-Za-z] is the same as [A-Ca-cD-Md-mN-Zn-z].
> You are correct AFAIK in the C locale. I don't feel comfortable making
> the same claim in any other locale. E.G. There could be a C caret
> after C and before D that is included in the exclude list [A-Z] but
> not in the other set.
>
> To work around that this should work:
>
>    # back up problem user and other misc directories (non-alphabetic first 
> char)
>       $Conf{BackupFilesExclude} = {
>         '/home1' => [ "+ /user/**", "- /[A-Ca-c]*/**",
>                "- /[D-Md-m]*/**", "- /[N-Zn-z]*/**", ],
>        };
>
> The reason I could exclude all alphabetics in my 4th host setup was
> because it only needed to back up exactly one directory. The other
> 'hosts' handled the backup of strange directories/files.
>
> I agree this method looks promising (except for the mixing of
> BackupFilesExclude and BackupFilesOnly).

You're right.  I wasn't considering possible characters existing between 
c and d.  And your suggesting appears to be a good work around.

-- 
Bowie

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
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>