Ask the Community
Groups
Default auto-excluded items in a Windows file backup - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="summary"><strong>SUMMARY</strong></h2> <p>Auto-excluded items in a Windows file backup</p> <h2 data-id="issue"><strong>ISSUE</strong></h2> <p></p> <h1 data-id="purpose">Purpose</h1> Describe files automatically excluded when performing a file backup of a Windows system.<br> <h1 data-id="description">Description</h1> <p>/RECYCLER</p> <p>/$Recycle.Bin</p> <p>%TMP%</p> <p>%TEMP%</p> <p>*.tmp</p> <p>*.temp</p> <p><br>%AllUsersProfile%\Microsoft\Network\Downloader\Cache</p> <p>directory specified by : HKLM\Software\Microsoft\Windows Search\DataDirectory</p> <p>directory specified by : HKLM\Software\Microsoft\Windows Search\DefaultDataDirectory</p> <p> </p> <p>In the profile directories specfied by the registry key:</p> <p>“HKLM\Software\Microsofit\Windows NT\CurrentVersion\ProfileList\*\ProfileImagePath\” (example: c:\users\ksmith)</p> <p><br>The exclude the following directories:</p> <p>\AppData\Local\Temp</p> <p>\Local Settings\Temp</p> <p>\Local Settings\Temporary Internet Files</p> <p> </p> <p>%WINDIR%\System32\Config</p> <p>%WINDIR%\System32\Catroot2</p> <p><br>Files in Exchange database/log directories</p> <p>Files in SQL database/log directories</p> <p>** SQL system databases are still included in a file-level backup to facilitate Windows Instant Recovery</p> <p><br>%WINDIR%\win386.swp</p> <p>?:\System Volume Information</p> <p> </p> <p>Files specified by the subkeys in : HKLM\System\CurrentControlSet\Control\BackupRestore\FilesNotToBackup</p> <h2 data-id="resolution"><strong>RESOLUTION</strong></h2> <p>If common *.tmp and *.temp files or temp folders must be included in a backup (rare, files needed for protection should not be in tmp folders as they are subject to automatic windows deletion) the following tag can be manually added to the file C:/PCBP/MASTER.INI<br> </p> <div> [BProfessional]<br>ExclTempFiles=NO ;Default YES,True <br><br><br>This setting overrides the backup client default behavior and will then NOT exclude the following objects: <div> \RECYCLER\<br>*:\{*}\RECYCLER\*<br>$RECYCLE.BIN\<br>\$Recycle.Bin\<br>*:\\{*}\\$Recycle.Bin\\*<br>\temp\<br>*:\\{*}\\temp\\*<br>*.tmp<br>*.temp<br>pagefile.sys<br><br><br>This setting will NOT include files that are part of windows registry exclusions noted above, it may be necessary to also edit the windows registry. <br><br>It will be necessary to manually exclude some data that would otherwise have been auto excluded after using this setting. This setting may be removed by future agent updates and shoudl be re-validated after upgrading the agent. </div> </div> </article> </main>