Re: [Bacula-users] excluded folders being included in the backup

2012-03-09 Thread Gary Stainburn
On Thursday 08 March 2012 23:56:30 Steve Ellis wrote:
 Just a guess, but I'm thinking that this may be due to the trailing '/'
 in your 'wild' entries.  I know that for my systems, when I exclude
 (with Ignore Case), I'm able to exclude both files and directories
 appropriately with wild, but I never put trailing '/' in the directory
 names.  Also, just to check I ran a simple test using 'bwild' (a tool I
 was not previously aware of) and that suggested that the trailing '/'
 might be a problem (unclear since bwild doesn't actually look at
 filesystems, instead it takes filenames in a file).

 -se

Thanks Steve. I've removed the trailing '/' and that has fixed the problem. 
The new backup size is only 13GB.

Thanks also for mentioning bwild.

Gary

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] excluded folders being included in the backup

2012-03-08 Thread Gary Stainburn
I'm trying to back up a Windows 7 DELL laptop but it keeps insisting on trying 
to back up 56GB of data.  I've added exclude entries for most of the folders 
I don't want to back up but they're still being included, as confirmed in an

estimate job=ladmina listing level=Full

run.  I have checked the Fileset, client and job entries and all looks right.  
The 'show job' listing below also looks like the files are being parsed 
correctly.  Can anyone please tell me why these excludes are being ignored.

(I have experimented with wild, wilddir, wildfile etc.)

Gary


FileSet {
 Name = Windows 7
 Include {
  Options {
   signature = MD5
   Exclude = yes
   IgnoreCase = yes
   # Exclude Mozilla-based programs' file caches
   wild = [A-Z]:/users/*/Application Data/*/Profiles/*/*/Cache
   wild = [A-Z]:/users/*/Application Data/*/Profiles/*/*/Cache.Trash
   wild = [A-Z]:/users/*/Application Data/*/Profiles/*/*/ImapMail

   # Exclude user's registry files - they're always in use anyway.
   wild = [A-Z]:/users/*/Local Settings/Application 
Data/Microsoft/Windows/usrclass.*
   wild = [A-Z]:/users/*/ntuser.*

   # Exclude directories full of lots and lots of useless little files
   wild = [A-Z]:/users/*/Cookies
   wild = [A-Z]:/users/*/Recent
   wild = [A-Z]:/users/*/Local Settings/History
   wild = [A-Z]:/users/*/Local Settings/Temp
   wild = [A-Z]:/users/*/Local Settings/Temporary Internet Files

   # These are always open and unable to be backed up
   wild = [A-Z]:/users/All Users/Application 
Data/Microsoft/Network/Downloader/qmgr[01].dat

   # Windows 7 stuff
   wild = [A-Z]:/\$Recycle.bin/
   wild = [A-Z]:/Recovery/
   wild = [A-Z]:/System Volume Information/
   wild = [A-Z]:/Windows.old/
   wild = [A-Z]:/Windows/winsxs/
   wild = [A-Z]:/Windows/Temp/
   wild = [A-Z]:/Windows/Temp/
   wild = [A-Z]:/Windows/Web/

   # Some random bits of Windows we want to ignore
   wild = [A-Z]:/WINNT/security/logs/scepol.log
   wild = [A-Z]:/WINNT/system32/config
   wild = [A-Z]:/WINNT/msdownld.tmp
   wild = [A-Z]:/WINNT/Internet Logs
   wild = [A-Z]:/WINNT/$Nt*Uninstall*
   wild = [A-Z]:/WINNT/sysvol
   wild = [A-Z]:/WINNT/cluster/CLUSDB
   wild = [A-Z]:/WINNT/cluster/CLUSDB.LOG
   wild = [A-Z]:/WINNT/NTDS/edb.log
   wild = [A-Z]:/WINNT/NTDS/ntds.dit
   wild = [A-Z]:/WINNT/NTDS/temp.edb
   wild = [A-Z]:/WINNT/ntfrs/jet/log/edb.log
   wild = [A-Z]:/WINNT/ntfrs/jet/ntfrs.jdb
   wild = [A-Z]:/WINNT/ntfrs/jet/temp/tmp.edb
   wild = [A-Z]:/WINNT/system32/CPL.CFG
   wild = [A-Z]:/WINNT/system32/dhcp/dhcp.mdb
   wild = [A-Z]:/WINNT/system32/dhcp/j50.log
   wild = [A-Z]:/WINNT/system32/dhcp/tmp.edb
   wild = [A-Z]:/WINNT/system32/LServer/edb.log
   wild = [A-Z]:/WINNT/system32/LServer/TLSLic.edb
   wild = [A-Z]:/WINNT/system32/LServer/tmp.edb
   wild = [A-Z]:/WINNT/system32/wins/j50.log
   wild = [A-Z]:/WINNT/system32/wins/wins.mdb
   wild = [A-Z]:/WINNT/system32/wins/winstmp.mdb

   # Temporary directories  files
   wild = [A-Z]:/MSOCache
   wild = [A-Z]:/WINNT/Temp
   wild = [A-Z]:/temp
   wild = *.tmp
   wild = [A-Z]:/tmp
   wild = [A-Z]:/var/tmp

   # Recycle bins
   wild = [A-Z]:/RECYCLER

   # Swap files
   wild = [A-Z]:/pagefile.sys

   # These are programs and are easier to reinstall than restore from
   # backup
   wild = [A-Z]:/cygwin
   wild = [A-Z]:/PinnacleSmartClient
   wild = [A-Z]:/Program Files/
   wild = [A-Z]:/Program Files/Acro Software
   wild = [A-Z]:/Program Files/Adobe
   wild = [A-Z]:/Program Files/Bacula
   wild = [A-Z]:/Program Files/Broadcom
   wild = [A-Z]:/Program Files/Cisco
   wild = [A-Z]:/Program Files/Common Files
   wild = [A-Z]:/Program Files/CyberLink
   wild = [A-Z]:/Program Files/DVD Maker
   wild = [A-Z]:/Program Files/Epson*
   wild = [A-Z]:/Program Files/Gemplus
   wild = [A-Z]:/Program Files/GPLGS
   wild = [A-Z]:/Program Files/Google*
   wild = [A-Z]:/Program Files/Grisoft
   wild = [A-Z]:/Program Files/Internet Explorer
   wild = [A-Z]:/Program Files/InstallShield Installation Information
   wild = [A-Z]:/Program Files/Intel
   wild = [A-Z]:/Program Files/Java
   wild = [A-Z]:/Program Files/JavaSoft
   wild = [A-Z]:/Program Files/Java Web Start
   wild = [A-Z]:/Program Files/Kaspersky Lab
   wild = [A-Z]:/Program Files/Loyalty Logistix*
   wild = [A-Z]:/Program Files/Messenger
   wild = [A-Z]:/Program Files/microsoft ActiveSync
   wild = [A-Z]:/Program Files/microsoft ASP.NET
   wild = [A-Z]:/Program Files/microsoft frontpage
   wild = [A-Z]:/Program Files/Microsoft Office
   wild = [A-Z]:/Program Files/Microsoft Silverlight
   wild = [A-Z]:/Program Files/microsoft Visual*
   wild = [A-Z]:/Program Files/microsoft works
   wild = [A-Z]:/Program Files/MSBuild
   wild = [A-Z]:/Program Files/MSECache
   wild = [A-Z]:/Program Files/Nokia
   wild = [A-Z]:/Program Files/Movie Maker
   wild = [A-Z]:/Program Files/Mozilla*
   wild = [A-Z]:/Program Files/Mozilla Firefox
   wild = [A-Z]:/Program Files/mozilla.org
   wild = [A-Z]:/Program Files/Mozilla Thunderbird
   wild = [A-Z]:/Program Files/MSN*
 

Re: [Bacula-users] excluded folders being included in the backup

2012-03-08 Thread Andrea Conti
Hello,

 I've added exclude entries for most of the folders 
 I don't want to back up but they're still being included,

Which folders are still being included? All of them or just some?

A lot of the default folders under windows 7 (for example 'Application
Data' and 'Local Settings' in every user directory) are really junction
points, i.e. a kind of link referring to some other folder: you are
probably excluding the junction points (which bacula does not descend
into anyway) instead of the actual folders.

You can use dir /a in a command prompt to quickly find out what
folders are really junctions and what they point to.

andrea

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] excluded folders being included in the backup

2012-03-08 Thread Gary Stainburn
On Thursday 08 March 2012 20:35:10 Andrea Conti wrote:
 Hello,

  I've added exclude entries for most of the folders
  I don't want to back up but they're still being included,

 Which folders are still being included? All of them or just some?

 A lot of the default folders under windows 7 (for example 'Application
 Data' and 'Local Settings' in every user directory) are really junction
 points, i.e. a kind of link referring to some other folder: you are
 probably excluding the junction points (which bacula does not descend
 into anyway) instead of the actual folders.

 You can use dir /a in a command prompt to quickly find out what
 folders are really junctions and what they point to.

 andrea

Hi Andrea,

Examples are:

C:/Windows/winsxs/
C:/$Recycle.Bin/
C:/dell


The user has taken her laptop home so I'm looking at another Win7 PC but here 
are the dir outputs:

C:\dir /a
dir /a
 Volume in drive C has no label.
 Volume Serial Number is F8E2-C48B

 Directory of C:\

21/02/2012  13:29DIR  $Recycle.Bin
21/02/2012  17:05 1,024 .rnd
21/02/2012  13:3686 csb.log
14/07/2009  05:08JUNCTION Documents and Settings [C:\Users]
07/03/2012  16:42 3,208,044,544 hiberfil.sys
21/02/2012  13:32DIR  Intel
21/02/2012  17:06   390 ladmine-fd.conf
21/02/2012  13:50DIR  MSOCache
07/03/2012  16:42 4,277,395,456 pagefile.sys
14/07/2009  03:20DIR  PerfLogs
21/02/2012  16:10DIR  Program Files
24/02/2012  03:00DIR  Program Files (x86)
21/02/2012  16:16DIR  ProgramData
21/02/2012  13:29DIR  Recovery
21/02/2012  13:36 3,026 RHDSetup.log
07/03/2012  02:17DIR  System Volume Information
21/02/2012  16:10DIR  Users
08/03/2012  23:31DIR  Windows
   6 File(s)  7,485,444,526 bytes
  12 Dir(s)  458,721,439,744 bytes free

C:\Windowsdir /a
dir /a   
 Volume in drive C has no label.
 Volume Serial Number is F8E2-C48B

 Directory of C:\Windows

08/03/2012  23:31DIR  .
08/03/2012  23:31DIR  ..
[snip]
21/02/2012  14:10   499 win.ini
14/07/2009  04:54   749 WindowsShell.Manifest
08/03/2012  19:36 1,242,504 WindowsUpdate.log
08/03/2012  23:3116,896 winexesvc.exe
14/07/2009  01:14 9,728 winhlp32.exe
03/03/2012  03:19DIR  winsxs
10/06/2009  20:52   316,640 WMSysPr9.prx
14/07/2009  01:3910,240 write.exe
  37 File(s)  8,954,905 bytes
  59 Dir(s)  458,721,435,648 bytes free

C:\Windows



-- 
Gary Stainburn
Group I.T. Manager
Ringways Garages
http://www.ringways.co.uk 

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] excluded folders being included in the backup

2012-03-08 Thread Steve Ellis
On 3/8/12 3:34 PM, Gary Stainburn wrote:
 On Thursday 08 March 2012 20:35:10 Andrea Conti wrote:
 Hello,

 I've added exclude entries for most of the folders
 I don't want to back up but they're still being included,
 Which folders are still being included? All of them or just some?

 A lot of the default folders under windows 7 (for example 'Application
 Data' and 'Local Settings' in every user directory) are really junction
 points, i.e. a kind of link referring to some other folder: you are
 probably excluding the junction points (which bacula does not descend
 into anyway) instead of the actual folders.

 You can use dir /a in a command prompt to quickly find out what
 folders are really junctions and what they point to.

 andrea
 Hi Andrea,

 Examples are:

 C:/Windows/winsxs/
 C:/$Recycle.Bin/
 C:/dell

Just a guess, but I'm thinking that this may be due to the trailing '/' 
in your 'wild' entries.  I know that for my systems, when I exclude 
(with Ignore Case), I'm able to exclude both files and directories 
appropriately with wild, but I never put trailing '/' in the directory 
names.  Also, just to check I ran a simple test using 'bwild' (a tool I 
was not previously aware of) and that suggested that the trailing '/' 
might be a problem (unclear since bwild doesn't actually look at 
filesystems, instead it takes filenames in a file).

-se



--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users