> On Sep 22, 2017, at 11:30 AM, Adam Weremczuk wrote:
>
> Hello,
>
> I have tried a couple of different ways of implementing "Exclude Dir
> Containing" but it was failing when restarting director with e.g:
>
> Config error: Keyword DirContaining not permitted in this resource
> or
> Config error: ExcludeDirContaining directive not permitted in Exclude.
>
> With this in client's config file:
What do you mean by "client's config file"? I assume it's a file included by
bacula-dir.conf
>
> FileSet {
> Name = testclient_fileset
> Enable VSS = yes
> Include {
> Options {
> signature = SHA1
> }
> File = "c:/backedup"
> Exclude Dir Containing = .excludeme
> }
> }
I cannot see the error but here is a simple example from my configuration.
FileSet {
Name = "dbclone daily databases"
Include {
Options {
signature=MD5
}
Exclude Dir Containing = .NOBACKUP
File = /home/dan/backups
}
}
I know that works.
>
> director doesn't complain and starts fine but then a problem manifests itself
> as below:
>
> Connecting to Director bacula:9101
> 1000 OK: bacula_dir Version: 5.2.6 (21 February 2012)
Your directory is 5.2.6.
What version is your client? It must be <= 5.2.6
> Enter a period to cancel a command.
> *estimate job=testclient_backup listing client=testclient_fd
> fileset=testclient_fileset
> Using Catalog "bacula_catalog"
> Connecting to Client testclient_fd at testclient.domainname.com:9102
> Error sending include list.
>
> 22-Sep 09:46 bacula_dir JobId 0: Error: getmsg.c:194 Malformed message:
> Invalid FileSet command: valid FileSet command: valid FileSet command: valid
> FileSet command: valid FileSet command: valid FileSet command: valid FileSet
> command: valid FileSet command: valid FileSet command: valid FileSet command:
> valid FileSet command: valid FileSet command: valid FileSet command: valid
> FileSet command: valid FileSet command: valid FileSet command: valid FileSet
> command: valid FileSet command: valid FileSet command: valid FileSet command:
> valid FileSet command: valid FileSet command: val
> 22-Sep 09:46 bacula_dir JobId 0: Fatal error: Socket error on Include
> command: ERR=No data available
>
> Can somebody advise what's wrong with my config or how to troubleshoot it
> further?
--
Dan Langille - BSDCan / PGCon
d...@langille.org
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users