BackupPC-users

Re: [BackupPC-users] backup failed, can't get a fully backup

2013-05-31 12:09:39
Subject: Re: [BackupPC-users] backup failed, can't get a fully backup
From: "Michael Stowe" <mstowe AT chicago.us.mensa DOT org>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Fri, 31 May 2013 11:08:00 -0500

> Le Fri, May 31, 2013 at 07:18:07AM -0500, Michael Stowe a écrit :
>>
>> > I try to exclude some file from backup but it still try to copy them.
>> > Example with 'UsrClass.dat':
>> > NT_STATUS_SHARING_VIOLATION opening remote file \Julien
>> > Noé\AppData\Local\Microsoft\Windows\UsrClass.dat (\Julien
>> > Noé\AppData\Local\Microsoft\Windows\)
>> >
>> > but i have defined an exclusion in the config.pl
>>
>> You haven't defined the exclusion properly, or it would work.  However,
>> I
>> can only speculate as to how you defined it, since you don't say.  From
>> the error, I can guess you're using samba.
>>
>> > Could you give me some hint to bypass these problems ? Thanks.
>> >
>> > The backuppc server is a debian 7.0, backuppc 3.2.1-4.
>> > The host to save is a Windows 7 professionel SP1
>> >
>> > --
>> > Christophe Moille
>>
>> Sure, you can:
>> 1) Define the exclusion properly
>
> Thank you for your response. I joined the config file with the original
> post. Could you have a look to the $Conf{BackupFilesExclude} variable and
> tell what's wrong ?
> And yes, it's a smb xfermethod.

Whoops, so you did, sorry about that.  Samba can be weirdly touchy about
its excludes, and I recall there being some variation across samba client
versions.  You have this:

'*/Windows/UsrClass.dat*'

to exclude this (as an example)

\Julien Noé\AppData\Local\Microsoft\Windows\UsrClass.dat

I believe it's the trailing star which is causing this file not to be
excluded -- I'd suggest trying this:

'*/Windows/UsrClass.dat'

If none of your excludes are working, then it might be the slashes instead:

'*\\Windows\\UsrClass.dat'

>> 2) Switch to rsync/vshadow, which could actually back up this file
>
> I'll have a look to this method.



------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
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>