Les Stott wrote:


Paul S. Gumerman wrote:
Jonathan,

Here's what works for me:

$Conf{BackupFilesExclude} =  ['/hiberfil.sys', '/pagefile.sys', '/WUTemp', '/RECYCLER',
       'UsrClass.dat', 'UsrClass.dat.LOG', 'NTUSER.DAT', 'ntuser.dat.LOG',  'parent.lock',
       '/WINDOWS/system32/config/SAM', '/WINDOWS/system32/config/SAM.LOG',
       '/WINDOWS/system32/config/SECURITY', '/WINDOWS/system32/config/SECURITY.LOG',
       '/WINDOWS/system32/config/default', '/WINDOWS/system32/config/default.LOG',
       '/WINDOWS/system32/config/software', '/WINDOWS/system32/config/software.LOG',
       '/WINDOWS/system32/config/system', '/WINDOWS/system32/config/system.LOG',
       '/WINDOWS/system32/CatRoot2/edb.log', '/WINDOWS/system32/CatRoot2/tmp.edb',
       '/WINDOWS/system32/CatRoot2/edbtmp.log', '/WINDOWS/SoftwareDistribution/EventCache/*',
       '*/Temporary Internet Files/*', '*/Temp/*', '*.tmp', '*.bak'];

>From what I have observed, no wildcard characters work, so I don't believe anything with a "*" is doing anything useful.  I reject the idea of not backing up anything in Local Settings --- much of that stuff is EXACTLY what one NEEDS to back up.

Yes, the exclusions on the second line *could* be problematic in some circumstances, as they don't limit the exclusions to the Local Settings folders, but I simply could not get wildcards working, so it was the best solution for me.

If anyone can help with the wildcards, I can make this exclusion list work better.


FYI...i did some further testing and found the following works for me, i.e. no Xferlog errors about files in use or permission denied...it catches everything in Documents and Settings.

$Conf{RsyncShareName} = ['cdrive'];
$Conf{BackupFilesExclude} = ['*Outlook.pst', '*outlook.pst', '*/Local Settings/*',
 '/Documents and Settings/*/UsrClass.dat', '/Documents and Settings/*/UsrClass.dat.LOG',
 '/Documents and Settings/*/NTUSER.DAT*', '/Documents and Settings/*/ntuser.dat.LOG', '*parent.lock'];

Hope that gives you some hints.
Regards,

Les

Reply via email to