All,
Â
I am having a major issue with BackupPC. I first tried using BackupFilesOnly to restrict backups to just the C:\Users directory, but I needed to exclude some files and since the first overrides the second I decided to try just using the ExcludeFiles directive. I am using the following.
Â
$Conf{BackupFilesExclude} = {
 #Windows 7 Specific
 '*' => [
       #7/Vista junction points
       '/Documents and Settings',
       '/ProgramData/Application Data',
       '/ProgramData/Desktop',
       '/ProgramData/Documents',
       '/ProgramData/Favorites',
       '/ProgramData/Start Menu',
       '/ProgramData/Templates',
       '/Users/All Users',
       '/Users/Users/Default User',
       '/Users/Users/All Users/Application Data',
       '/Users/Users/All Users/Desktop',
       '/Users/All Users/Documents',
       '/Users/All Users/Favorites',
       '/Users/All Users/Start Menu',
       '/Users/All Users/Templates',
Â
       #Junction points common to every user profile
       '/Users/*/Application Data',
       '/Users/*/Cookies',
       '/Users/*/Local Settings',
       '/Users/*/My Documents',
       '/Users/*/NetHood',
       '/Users/*/PrintHood',
       '/Users/*/Recent',
       '/Users/*/SendTo',
       '/Users/*/Start Menu',
       '/Users/*/Templates',
       '/Users/*/AppData/Local/Application Data',
       '/Users/*/AppData/Local/History',
       '/Users/*/AppData/Local/Temporary Internet Files',
       '/Users/*/Documents/My Music',
       '/Users/*/Documents/My Pictures',
       '/Users/*/Documents/My Videos',
Â
       #Temporary and in-use user data
       '/Users/*/AppData/Local/Microsoft/Windows/Temporary Internet Files',
       '/Users/*/AppData/Local/Temp',
       '/Users/*/NTUSER.DAT*',
       '/Users/*/ntuser.dat*',
       '/Users/*/AppData/Local/Microsoft/Windows/UsrClass.dat*',
       '/Users/*/AppData/Local/Microsoft/Windows Defender/FileTracker',
       '/Users/*/AppData/Local/Microsoft/Windows/Explorer/thumbcache_*.db',
       '/Users/*/AppData/Local/Microsoft/Windows/WER',
       '/Users/*/AppData/Local/lxss',
       '/Users/*/AppData/Local/Mozilla/Firefox/Profiles/*/Cache',
       '/Users/*/AppData/Local/Mozilla/Firefox/Profiles/*/OfflineCache',
       '/Users/*/AppData/Roaming/Microsoft/Windows/Cookies',
       '/Users/*/AppData/Roaming/Microsoft/Windows/Recent',
       'ProgramData/Microsoft/Search',
       'ProgramData/Microsoft/Windows Defender',
       '*.lock',
       â??*.soâ??,
       'Thumbs.db',
       'IconCache.db',
       'Cache*',
       'cache*',
Â
       #Installation folders and system data
       '/Program Files',
       '/Windows',
       '/$Recycle.Bin',
       '/MSOCache',
       '/System Volume Information',
       '/Boot',
       '/autoexec.bat',
       '/bootmgr',
       '/BOOTSECT.BAK',
       '/config.sys',
       '/hiberfil.sys',
       '/pagefile.sys'
 ]
};
Â
I restarted the BackupPC service and I am manually running a backup using
Â
/usr/share/BackupPC/bin/BackupPC_dump -v -f l-jwest17b.corpnet.com
Â
I am seeing this when backing up.
Â
lla/ui/ui_template_buttons.json
 pool    644      0/0      10999 Program Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla/ui/ui_template_dialogs.json
 pool    644      0/0      11641 Program Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla/ui/ui_template_toggles.json
 pool    644      0/0      23160 Program Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla/ui/world_templates_screen.json
 pool    644      0/0       6236 Program Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla/ui/xbl_failed.json
 pool    644      0/0       5523 Program Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla/ui/xbl_first_launch.json
 pool    644      0/0       5980 Program Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla/ui/xbl_optional_signin.json
 pool    644      0/0       2796 Program Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla/ui/_ui_defs.json
 create  755      0/0          0 Program Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla_music
 pool    644      0/0        440 Program Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla_music/pack_manifest.json
 create  755      0/0          0 Program Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla_music/sounds
 create  755      0/0          0 Program Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla_music/sounds/music
 create  755      0/0          0 Program Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla_music/sounds/music/game
 pool    644      0/0    2530812 Program Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla_music/sounds/music/game/calm1.ogg
 pool    644      0/0    1976731 Program Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla_music/sounds/music/game/calm2.ogg
 pool    644      0/0    2232651 Program Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla_music/sounds/music/game/calm3.ogg
Â
I excluded the â??Program Filesâ?? directory, so not sure why it is still backing up. I also checked the backup location and it is indeed backing up these files. Any ideas?
Â
Smbclient -V
Version 4.5.10
Â
Fedora 25 OS
Â
Command being ran.
Â
/usr/bin/smbclient \\l-jwest17b.corpnet.com\C$ -U corpnet\backup -E -d 1 -c tarmode full -TcrX - /Documents and Settings /ProgramData/Application Data /ProgramData/Desktop /ProgramData/Documents /ProgramData/Favorites /ProgramData/Start Menu /ProgramData/Templates /Users/All Users /Users/Users/Default User /Users/Users/All Users/Application Data /Users/Users/All Users/Desktop /Users/All Users/Documents /Users/All Users/Favorites /Users/All Users/Start Menu /Users/All Users/Templates /Users/*/Application Data /Users/*/Cookies /Users/*/Local Settings /Users/*/My Documents /Users/*/NetHood /Users/*/PrintHood /Users/*/Recent /Users/*/SendTo /Users/*/Start Menu /Users/*/Templates /Users/*/AppData/Local/Application Data /Users/*/AppData/Local/lxss /Users/*/AppData/Local/History /Users/*/AppData/Local/Temporary Internet Files /Users/*/Documents/My Music /Users/*/Documents/My Pictures /Users/*/Documents/My Videos /Users/*/AppData/Local/Microsoft/Windows/Temporary Internet Files /Users/*/AppData/Local/Temp /Users/*/NTUSER.DAT* /Users/*/ntuser.dat* /Users/*/AppData/Local/Microsoft/Windows/UsrClass.dat* /Users/*/AppData/Local/Microsoft/Windows Defender/FileTracker /Users/*/AppData/Local/Microsoft/Windows/Explorer/thumbcache_*.db /Users/*/AppData/Local/Microsoft/Windows/WER /Users/*/AppData/Local/Mozilla/Firefox/Profiles/*/Cache /Users/*/AppData/Local/Mozilla/Firefox/Profiles/*/OfflineCache /Users/*/AppData/Roaming/Microsoft/Windows/Cookies /Users/*/AppData/Roaming/Microsoft/Windows/Recent ProgramData/Microsoft/Search ProgramData/Microsoft/Windows Defender *.lock *.so Thumbs.db IconCache.db Cache* cache* /Program Files /Windows /$Recycle.Bin /MSOCache /System Volume Information /Boot /autoexec.bat /bootmgr /BOOTSECT.BAK /config.sys /hiberfil.sys /pagefile.sys
Â
Jeff West
Systems Engineer
Riptide Software
Office 321-296-7724 ext 216
Direct 407-542-7697
Cell   407-925-7030
www.riptidesoftware.com
Â