[BackupPC-users] excluding files from backup

2011-09-07 Thread SSzretter
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@lists.sourceforge.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 sszret...@hotmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] excluding files from backup

2011-09-07 Thread Holger Parplies
Hi,

SSzretter wrote on 2011-09-07 13:33:24 -0700 [[BackupPC-users]  excluding files 
from backup]:
 So what is the proper syntax for excluding files backed up via smb from a
 windows box (folders too)?

ask smbclient. I was going to recommend reading smbclient(1), but it isn't
very explicit on the syntax of its excludes (in contrast to rsync(1)).

 I have this currently, and I have tried adding a wildcard   '/WINDOWS/*' ,
 no difference  :
 
 $Conf{BackupFilesExclude} = { 
   '*' = [ 
 '/Documents and Settings/*/Local Settings/Temporary Internet Files/', 
 [...]
   ] 
 };

that would seem to be syntactically correct. In any case, the exclude would
apply, since you've got no other exclude for a share, and '*' would match any
share without an exclude.

 I found this thread which seems to imply my slashes need to go the other
 way ??like  '\WINDOWS\'  ??

Almost. In general, you should be able to use either '/' or '\\' as path
separator, but depending on who handles exclusions and how, it might only work
with the native path separator (if it's just a plain string comparison,
/WINDOWS/ obviously won't match \\WINDOWS\\; it *shouldn't* be a plain
string comparison, but I haven't checked the code, and it might not even be
the smbclient side handling the excludes).

Note how I tend to quote the backslash character; you'll have to do that, too,
in a config file (the web interface may or may not do it for you).

 http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/backuppc-21/backupfilesexclude-via-smb-for-windows-shares-solved-90560/

Sorry, I refuse to follow that reference.

 This thread has similar information:
 http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg08889.html

Does it? I read it as a simple issue of spelling error in the configuration.
Yes, if you misspell variable names, they won't be interpolated correctly.

Earlier, you had written:
 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 

Ah, yes. That's the lines immediately following the interesting ones. I had
thought it was obvious. My mistake. What *smbclient command invocation* does
the log file show? What excludes are passed?

Even before that, you had written:
 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: ? 

To which I had, sometime in between, replied:
 err, beside the question mark? 
 
 You need to not have set BackupFilesOnly. What does your log file say? 

Just for those readers who were gnirednow (that's wondering, but backwards)
about the context.

Regards,
Holger (who will soon need a sanity break from this list)

--
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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] excluding files from backup

2011-09-04 Thread SSzretter
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/07844 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

+--
|This was sent by sszret...@hotmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
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/


Re: [BackupPC-users] excluding files from backup

2011-09-04 Thread Ralf Gross
SSzretter schrieb:
 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/07844 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


I don't see any context in your mail.

 
 +--
 |This was sent by sszret...@hotmail.com via Backup Central.
 |Forward SPAM to ab...@backupcentral.com.
 +--


Ah, Backup Central again.

Ralf

--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
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/


[BackupPC-users] excluding files from backup

2011-09-04 Thread SSzretter
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 sszret...@hotmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
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/


[BackupPC-users] excluding files from backup

2011-08-31 Thread SSzretter
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:  ?

$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/'
  ]
};
--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev___
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/


Re: [BackupPC-users] excluding files from backup

2011-08-31 Thread Holger Parplies
Hi,

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:  ?

err, beside the question mark?

You need to not have set BackupFilesOnly. What does your log file say?

Regards,
Holger

--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
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/