So what is the proper syntax for excluding files backed up via smb from a
windows box (folders too)?
I have this currently, and I have tried adding a wildcard '/WINDOWS/*' , no
difference :
$Conf{BackupFilesExclude} = {
'*' => [
'/Documents and Settings/*/Local Settings/Temporary Internet Files/',
'/Documents and Settings/*/Local Settings/Temp/',
'/Documents and Settings/*/NTUSER.DAT',
'/Documents and Settings/*/ntuser.dat.LOG',
'/Documents and Settings/*/Local Settings/Application
Data/Microsoft/Windows/UsrClass.dat',
'/Documents and Settings/*/Local Settings/Application
Data/Microsoft/Windows/UsrClass.dat.LOG',
'/Documents and Settings/*/Local Settings/Application
Data/Mozilla/Firefox/Profiles/*/Cache/',
'/Documents and Settings/*/Local Settings/Application
Data/Mozilla/Firefox/Profiles/*/OfflineCache/',
'/Documents and Settings/*/Recent/',
'*.lock',
'Thumbs.db',
'IconCache.db',
'Cache',
'cache',
'/WINDOWS/',
'/RECYCLER/',
'/MSOCache/',
'/System Volume Information/',
'/AUTOEXEC.BAT',
'/BOOTSECT.BAK',
'/CONFIG.SYS',
'/hiberfil.sys',
'/pagefile.sys',
'/WINNT/'
]
};
I found this thread which seems to imply my slashes need to go the other way ??
like '\WINDOWS\' ??
http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/backuppc-21/backupfilesexclude-via-smb-for-windows-shares-solved-90560/
This thread has similar information:
http://www.mail-archive.com/backuppc-users AT lists.sourceforge DOT
net/msg08889.html
SO, what IS the proper way to define excludes so it's not going to back up the
windows folder and similar?
HISTORY:
It's set to :
$Conf{BackupFilesOnly} = {};
My file count / reuse summary is basically not changed (which I would expect
some numbers to drop) in the web admin for the machine's latest backup.
In the latest xfer log for this morning, just a SMALL sampling:
create d 755 0/0 0 System Volume Information
create d 755 0/0 0 temp
create d 755 0/0 0 TempEI4
create d 755 0/0 0 WINDOWS
create d 755 0/0 0 WINDOWS/$968930Uinstall_KB968930$
create d 755 0/0 0 WINDOWS/$968930Uinstall_KB968930$/spuninst
create d 755 0/0 0 WINDOWS/$hf_mig$
create d 755 0/0 0 WINDOWS/$hf_mig$/KB2079403
create d 755 0/0 0 WINDOWS/$hf_mig$/KB2079403/SP3QFE
create d 755 0/0 0 WINDOWS/$hf_mig$/KB2079403/update
create d 755 0/0 0 WINDOWS/$hf_mig$/KB2115168
pool 644 0/0 30216 WINDOWS/Prefetch/MOFCOMP.EXE-01718E95.pf
pool 644 0/0 55314 WINDOWS/Prefetch/MRT.EXE-1B4A8D49.pf
pool 644 0/0 7844 WINDOWS/Prefetch/MRTSTUB.EXE-0574A4ED.pf
create 644 0/0 110134 WINDOWS/Prefetch/MSACCESS.EXE-175F0AD1.pf
pool 644 0/0 171224 WINDOWS/Prefetch/MSCORSVW.EXE-1366B4F5.pf
SSzretter wrote on 2011-08-31 13:37:13 -0400 [[BackupPC-users] excluding files
from backup]:
After further investigation, I believe my file exclusions are not working in
backuppc. I checked some random machine transfer logs and I see lots of
entries for /WINDOWS/...
In my config.pl this (and other) directories should be exuded. I am using
SMB to do backups (xp machines mostly):
Do I need anything besides this: ?
--- reply:
err, beside the question mark?
You need to not have set BackupFilesOnly. What does your log file say?
Regards,
Holger
+----------------------------------------------------------------------
|This was sent by sszretter AT hotmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
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/
|