So I added one entry
‘cygwin64’,
Also tried
‘/cygwin64’,
Also tried
‘”cygwin64”’
Also tried
‘”/cygwin64”’
Restarted the service after trying all of these and it still shows this
when I backup and it is backing up the C:\cygwin64 directory.
pool 644 0/0 4517
cygwin64/usr/share/groff/1.22.3/font/devdvi/TITC
pool 644 0/0 6821
cygwin64/usr/share/groff/1.22.3/font/devdvi/TR
pool 644 0/0 37225
cygwin64/usr/share/groff/1.22.3/font/devdvi/TREC
pool 644 0/0 3877
cygwin64/usr/share/groff/1.22.3/font/devdvi/TRTC
create 755 0/0 0
cygwin64/usr/share/groff/1.22.3/font/devhtml
pool 644 0/0 25106
cygwin64/usr/share/groff/1.22.3/font/devhtml/B
pool 644 0/0 25107
cygwin64/usr/share/groff/1.22.3/font/devhtml/BI
pool 644 0/0 25092
cygwin64/usr/share/groff/1.22.3/font/devhtml/CB
pool 644 0/0 25093
cygwin64/usr/share/groff/1.22.3/font/devhtml/CBI
pool 644 0/0 25092
cygwin64/usr/share/groff/1.22.3/font/devhtml/CI
pool 644 0/0 25107
cygwin64/usr/share/groff/1.22.3/font/devhtml/CR
pool 644 0/0 220
cygwin64/usr/share/groff/1.22.3/font/devhtml/DESC
pool 644 0/0 25106
cygwin64/usr/share/groff/1.22.3/font/devhtml/I
pool 644 0/0 25091
cygwin64/usr/share/groff/1.22.3/font/devhtml/R
pool 644 0/0 25091
cygwin64/usr/share/groff/1.22.3/font/devhtml/S
create 755 0/0 0
cygwin64/usr/share/groff/1.22.3/font/devlatin1
pool 644 0/0 3651
cygwin64/usr/share/groff/1.22.3/font/devlatin1/B
pool 644 0/0 3652
cygwin64/usr/share/groff/1.22.3/font/devlatin1/BI
pool 644 0/0 88
cygwin64/usr/share/groff/1.22.3/font/devlatin1/DESC
pool 644 0/0 3651
cygwin64/usr/share/groff/1.22.3/font/devlatin1/I
pool 644 0/0 3636
cygwin64/usr/share/groff/1.22.3/font/devlatin1/R
create 755 0/0 0
cygwin64/usr/share/groff/1.22.3/font/devlbp
pool 644 0/0 7033
cygwin64/usr/share/groff/1.22.3/font/devlbp/CB
pool 644 0/0 7033
cygwin64/usr/share/groff/1.22.3/font/devlbp/CI
pool 644 0/0 7033
cygwin64/usr/share/groff/1.22.3/font/devlbp/CR
pool 644 0/0 180
cygwin64/usr/share/groff/1.22.3/font/devlbp/DES
Any other ideas? I cannot seem to exclude folders.
Jeff West
Systems Engineer
Riptide Software
Office 321-296-7724 ext 216 <(321)%20296-7724>
Direct 407-542-7697 <(407)%20542-7697>
Cell 407-925-7030 <(407)%20925-7030>
www.riptidesoftware.com
*From:* Michael Stowe [mailto:mst...@chicago.us.mensa.org]
*Sent:* Wednesday, July 12, 2017 1:44 PM
*To:* General list for user discussion, questions and support <
backuppc-users@lists.sourceforge.net>
*Cc:* Jeffrey West <jeffrey.w...@riptidesoftware.com>; helpdesk <
helpd...@riptidesoftware.com>
*Subject:* Re: [BackupPC-users] Excluding files from BackupPC
On 2017-07-12 12:25, Jeffrey West via BackupPC-users wrote:
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 [1]
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 <file://l-jwest17b.corpnet.com>
[1]\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 [2]
Direct 407-542-7697 [3] Cell 407-925-7030 [4] www.riptidesoftware.com [5]
I believe you'll find the key to the discrepancy by comparing the logs to
the exclusions. Let's have a look. The exclude is:
/Program Files
and the log reports
Program
Files/WindowsApps/Microsoft.MinecraftUWP_1.0.20.0_x64__8wekyb3d8bbwe/data/resource_packs/vanilla/ui/ui_template_toggles.json
This suggests to me one of two possibilities:
1) Noting the lack of a leading slash in the logs, it may make sense to
remove the leading slash in the excludes and give it a whirl
2) I also note the unfortunate space in “Program Files” — if every other
exclude is behaving as expected, then it may be that smbclient is
interpreting this as “exclude \Program and exclude Files” which isn't
having the desired effect. If this is the case, you might want to try
“\Program*Files” instead, which will pick up directories with similar
names, but will identify the issue.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/