BackupPC-users

Re: [BackupPC-users] Backuppc Exclude trouble

2014-11-10 16:06:08
Subject: Re: [BackupPC-users] Backuppc Exclude trouble
From: Carl Wilhelm Soderstrom <chrome AT real-time DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Mon, 10 Nov 2014 16:04:52 -0500
On 11/10 12:33 , jdurand wrote:
> Trying to exclude opened files ~*.*, ntuser.dat.log, etc, but having trouble. 
> Tried several different suggestions, all turn out to do nothing. I am not 
> using excludes and includes simultaneously. See below for my exclude lines:
> 
> Share *
> 
> /Documents and Settings/*/Local Settings
> /Documents and Settings/*/UsrClass.dat
> /Documents and Settings/*/UsrClass.dat.LOG
> /Documents and Settings/*/NTUSER.DAT
> /Documents and Settings/*/ntuser.dat.LOG
> /Documents and Settings/*/Recent
> */Cache
> */parent.lock
> Thumbs.db
> IconCache.db
> /RECYCLER
> */Temporary Internet Files
> /System Volume Information
> /pagefile.sys
> /hiberfil.sys
> *.pst
> ~*

Here's some of the exclude patterns I use, inside the appropriate
configuration directive. AFAIK these work (tho I haven't thoroughly audited
recenly, and upon some cursory examination I see that there's a few more
files I should exclude).

$Conf{BackupFilesExclude} = {
        'docs' => [
        '*/AppData/Local/Microsoft/Outlook/*',
        '*/AppData/Local/Microsoft/Windows/Temporary Internet Files/*',
        '*/AppData/Local/Microsoft/Internet Explorer/Recovery/*',
        '*/AppData/Local/Mozilla/Firefox/*/*/Cache/*',
        '*/AppData/LocalLow/Microsoft/CryptnetUrlCache/*',
        '*/AppData/Local/Microsoft/BingBar/*',
        '*/AppData/Local/Temp/*',
        '*/AppData/Local/Microsoft/Media Player/*',
        '*/Local Settings/Application
Data/Mozilla/Firefox/Profiles/*/Cache/',
        '*/Local Settings/Application Data/Microsoft/Internet
Explorer/Recovery/Active/',
        '*/Application Data/*/Log/',
        '*/Local Settings/Temporary Internet Files/*', 
        '*/Local Settings/Temp/*', 
        '*/Local Settings/History/', 
        '*/My Documents/My Music',
        '*/My Documents/My Videos',
        '*/My Documents/My Pictures',
        '*/My Documents/Private',
        '*/Cookies/', 
        '*/Favorites/', 
        '*/IETldCache/', 
        '*/IECompatCache/', 
        '*/NetHood/', 
        '*/PrivacIE/', 
        '*/PrintHood/', 
        '*/WINDOWS/', 
        '*/Recent/', 
        '*/Webex/', 
        '*/temp/', 
        '*/avg8',
        '*/*.msi', 
       '*/NTUSER.DAT',
       '*/NTUSER.DAT.LOG',
       '*/ntuser.dat.LOG',
       '*/UsrClass.dat',
       '*/UsrClass.dat.LOG',
        ],
       'cDrive' => [
        '/RECYCLER', 
        '/WINNT', 
        '/temp', 
        '/WUTemp', 
        '/WINDOWS/*', 
        '/Windows/*', 
        '/$Recycle.Bin/*',
        '/System Volume Information',
        '/Users/*/AppData/Local/Microsoft/Outlook/*',
        '/Users/*/AppData/Local/Microsoft/Windows/Temporary Internet
Files/*',
        '/Users/*/AppData/Local/Microsoft/Internet Explorer/Recovery/*',
        '/Users/*/AppData/Local/Mozilla/Firefox/*/*/Cache/*',
        '/Users/*/AppData/LocalLow/Microsoft/CryptnetUrlCache/*',
        '/Users/*/AppData/Local/Microsoft/BingBar/*',
        '/Users/*/AppData/Local/Temp/*',
        '/Users/*/AppData/Local/Microsoft/Media Player/*',
        '/Documents and Settings/*/Local Settings/Application
Data/Mozilla/Firefox/Profiles/*/Cache/',
        '/Documents and Settings/*/Local Settings/Application
Data/Microsoft/Internet Explorer/Recovery/Active/',
        '/Documents and Settings/*/Application Data/*/Log/',
        '/Documents and Settings/*/Local Settings/Temporary Internet
Files/*', 
        '/Documents and Settings/*/Local Settings/History/*', 
        '/Documents and Settings/*/Local Settings/Temp/*', 
        '/Documents and Settings/*/Cookies/', 
        '/Documents and Settings/*/Favorites/', 
        '/Documents and Settings/*/IETldCache/', 
        '/Documents and Settings/*/IECompatCache/', 
        '/Documents and Settings/*/NetHood/', 
        '/Documents and Settings/*/PrivacIE/', 
        '/Documents and Settings/*/PrintHood/', 
        '/Documents and Settings/*/WINDOWS/', 
        '/Documents and Settings/*/Recent/', 
        '/Documents and Settings/*/Webex/', 
        '/Documents and Settings/*/temp/', 
        '/pagefile.sys', 
        '/hiberfil.sys',
      '/Documents and Settings/*/My Documents/My Music',
       '/Documents and Settings/*/My Documents/My Videos',
       '/Documents and Settings/*/My Documents/My Pictures',
       '/Documents and Settings/*/My Documents/Private',
       '/Documents and Settings/*/avg8',
        '*.avi',
        '*.AVI',
        '*.mp3',
        '*.MP3',
        '*.mpg',
        '*.MPG',
        '*/*.msi', 
       '*/NTUSER.DAT',
       '*/NTUSER.DAT.LOG',
       '*/ntuser.dat.LOG',
       '*/UsrClass.dat',
       '*/UsrClass.dat.LOG',
        ],
   };

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
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>