]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/new-test-bacula-dir.conf.in
ebl update for next-vol test
[bacula/bacula] / regress / scripts / new-test-bacula-dir.conf.in
index f10344215faccb33d479f5bb08f119cfbe7848df..af690361505d8895b7174fdab26d1a2281605f4f 100644 (file)
@@ -51,6 +51,19 @@ Job {
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
 }
 
+Job {
+  Name = "MonsterFileSet"
+  Type = Backup
+  Client=@hostname@-fd 
+  FileSet="MonsterFileSet"
+  Storage = File
+  Messages = Standard
+  Pool = Default
+  Maximum Concurrent Jobs = 4
+  Write Bootstrap = "@working_dir@/NightlySave.bsr"
+}
+
+
 
 Job {
   Name = "VerifyVolume"
@@ -224,6 +237,109 @@ FileSet {
   }
 }
 
+FileSet {
+  Name = "MonsterFileSet"
+  Include {
+    Options {
+       signature = MD5
+       noatime = yes
+       ignore case = yes
+       Exclude = yes
+       RegexDir = "Cache"
+       RegexDir = "Windows Defender"
+       RegexDir = "Temporary Internet Files"
+       RegexDir = "bacula"
+       RegexDir = "Temp"
+
+       RegexDir = "ATI Technologies"
+
+       RegexDir = "wmdownloads"
+       RegexDir = "My Music"
+       RegexDir = "iTunes"
+       RegexDir = "Cookies"
+
+       RegexFile = "desktop.ini"
+       RegexFile = "thumbs.db"
+       RegexFile = "acrobat7.exe"
+       RegexFile = "acr6win.exe"
+       RegexFile = "AdbeRdr70_enu_full.exe"
+       RegexFile = "antivirus10_1_5.exe"
+       #thunderbird lock file
+       RegexFile = "parent.lock"
+
+       RegexDir = "Retrospect Restore Points"
+
+       #exclude i386 director of windows installer files
+       WildDir = "[A-Z]:/i386"
+
+       # Exclude Mozilla-based programs' file caches
+       WildDir = "[A-Z]:/Documents and Settings/*/Application Data/*/Profiles/*/*/ImapMail"
+       WildDir = "[A-Z]:/Users/*/Application Data/*/Profiles/*/*/ImapMail"
+
+       # Exclude user's registry files - they're always in use anyway.
+       WildFile = "[A-Z]:/Documents and Settings/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
+       WildFile = "[A-Z]:/Users/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*"
+       WildFile = "[A-Z]:/Documents and Settings/*/ntuser.*"
+       WildFile = "[A-Z]:/Users/*/ntuser.*"
+
+       WildDir = "[A-Z]:/Documents and Settings/*/Recent"
+       WildDir = "[A-Z]:/Users/*/Recent"
+
+       WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/History"
+       WildDir = "[A-Z]:/Users/*/Local Settings/History"
+
+       # These are always open and unable to be backed up
+       WildFile = "[A-Z]:/Documents and Settings/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
+       WildFile = "[A-Z]:/Users/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat"
+
+       #Exclude all of Windows...
+       WildDir = "[A-Z]:/windows"
+       WildDir = "[A-Z]:/winnt"
+       WildDir = "[A-Z]:/winxp"
+       WildDir = "[A-Z]:/win"
+
+       #symantec antivirus app stuff
+       WildDir = "[A-Z]:/*/Symantec*"
+
+       #system volume information
+       WildDir = "[A-Z]:/System Volume Information"
+
+       WildFile = "*.tmp"
+       # ghost image and spanning files
+       WildFile = "*.gho"
+       WildFile = "*.ghs"
+
+       # Recycle bins
+       WildDir = "[A-Z]:/RECYCLER"
+       WildDir = "[A-Z]:/RECYCLER"
+       WildDir = "[A-Z]:/RECYCLED"
+       WildDir = "[A-Z]:/$RECYCLE.BIN"
+
+       # Swap files
+       WildFile = "[A-Z]:/pagefile.sys"
+
+       # These are programs and are easier to reinstall than restore from
+       # backup
+       WildDir = "[A-Z]:/cygwin"
+       WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 7.0"
+       WildDir = "[A-Z]:/Program Files/Adobe/Acrobat 8.0"
+
+       WildDir = "[A-Z]:/Program Files/Common Files/Software Center"
+       WildDir = "[A-Z]:/Software Center"
+
+       WildDir = "[A-Z]:/Program Files/Grisoft"
+       WildDir = "[A-Z]:/Program Files/Java"
+       WildDir = "[A-Z]:/Program Files/Java Web Start"
+       WildDir = "[A-Z]:/Program Files/JavaSoft"
+       WildDir = "[A-Z]:/Program Files/Microsoft Office"
+       WildDir = "[A-Z]:/Program Files/Mozilla Firefox"
+       WildDir = "[A-Z]:/Program Files/Mozilla Thunderbird"
+       WildDir = "[A-Z]:/Program Files/mozilla.org"
+       WildDir = "[A-Z]:/Program Files/OpenOffice*"
+    }
+    File = <@tmpdir@/file-list
+  }
+}
 
 
 #
@@ -323,7 +439,8 @@ Storage {
 # Generic catalog service
 Catalog {
   Name = MyCatalog
-  dbname = regress; user = regress; password = ""
+  @libdbi@
+  dbname = @db_name@; user = @db_user@; password = "@db_password@"
 }
 
 # Reasonable message delivery -- send most everything to email address
@@ -332,8 +449,8 @@ Messages {
   Name = Standard
   mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
   operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
-  MailOnError = @job_email@ = all
-  operator = @job_email@ = mount
+# MailOnError = @job_email@ = all
+# operator = @job_email@ = mount
   console = all, !skipped, !terminate, !restored
 #
 # WARNING! the following will create a file that you must cycle from