BackupPC-users

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

2008-05-20 06:28:06
Subject: Re: [BackupPC-users] How to BackupFilesExclude to exclude locked files on Windows XP
From: Les Stott <les AT cyberpro.com DOT au>
To: backuppc-users AT lists.sourceforge DOT net
Date: Tue, 20 May 2008 20:27:32 +1000
Kurt jasper wrote:
> I've added the following line to my CLIENT.pl, unfortuantely the files
> I want to exclude still get backed up. BackupPC seems to ignore the
> BackupFilesExclude-settings:
>
> $Conf{BackupFilesExclude} = {
>  'c' => 
> ['*\\UsrClass.dat','*\\UsrClass.dat.log','*\\NTUSER.DAT','*\\ntuser.dat.log','*\\parent.lock'],
> };
>
> I'm not sure if I really need the double backslash's?
> Why can't I just use:
>
> $Conf{BackupFilesExclude} = {
>  'c' => ['*/UsrClass.dat','*/UsrClass.dat.log'],
> };
>
> confusing ... :-)
>
>
>   
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' ],
};


You maybe should just exclude the entire /Documents and 
Settings/NetworkService and /Documents and Settings/LocalService

I'm not sure any of that data is necessary for data based backup.

Hope that helps.

Regards,

Les


-------------------------------------------------------------------------
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/