BackupPC-users

Re: [BackupPC-users] How to BackupFilesExclude to exclude locked files on Windows XP

2008-05-20 10:04:52
Subject: Re: [BackupPC-users] How to BackupFilesExclude to exclude locked files on Windows XP
From: "Kurt jasper" <kurt.jasper AT googlemail DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Tue, 20 May 2008 16:04:37 +0200
ok, to exclude the follwing files that can be found in any
user-directory C:\Documents and Settings\USERNAME), I followed your
suggestion and put intomy CLIENT.PL:
[...]
$Conf{RsyncShareName} = '/';
$Conf{BackupFilesOnly} = ['/home','/etc','/cygdrive/c/Dokumente und
Einstellungen/'];
$Conf{BackupFilesExclude} = {
'c' => ['/Dokumente und Einstellungen/*/NTUSER.DAT','/Dokumente und
Einstellungen/*/ntuser.dat.LOG','/Dokumente und Einstellungen/*/Lokale
Einstellungen/Anwendungsdaten/Microsoft/Windows/UsrClass.dat','/Dokumente
und Einstellungen/*/Lokale
Einstellungen/Anwendungsdaten/Microsoft/Windows/UsrClass.dat','/UsrClass.dat.LOG'],
};
[...]

The BackuPC XferLOG (Extracting only Errors) still shows:
[...]
Remote[1]: rsync: send_files failed to open "/cygdrive/c/Dokumente und
Einstellungen/pia/ntuser.dat.LOG": Device or resource busy (16)
Remote[1]: rsync: send_files failed to open "/cygdrive/c/Dokumente und
Einstellungen/root/ntuser.dat.LOG": Device or resource busy (16)

the same for all the other filenames above that should be excluded
from the backup (NTUSER.DAT, UstClass.dat.LOG etc). So what am I doing
wrong with the above exclude syntax?

- Kurt

2008/5/20 Les Stott <les AT cyberpro.com DOT au>:
> Excludes are relative to the share name.
>
> if the share name is "c" and its path is c:\, then your excludes would
> be.....
>
> $Conf{BackupFilesExclude} = {
>  'c' => ['/Documents and Settings/*/NTUSER.DAT',/Documents and 
> Settings/*/ntuser.dat.LOG',
> /Documents and Settings/*/Local Settings/Application 
> Data/Microsoft/Windows/UsrClass.dat',
> /Documents and Settings/*/Local Settings/Application 
> Data/Microsoft/Windows/UsrClass.dat
> /UsrClass.dat.LOG' ],
> };

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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/