|
From: Dan L. <da...@la...> - 2010-12-08 04:07:34
|
On 12/7/2010 5:09 AM, Christoph Litauer wrote:
> Dear bacula users,
>
> my bacula version is 5.0.3. I am trying to use the "exclude dir containing" directive but only get fatal errors complaining about "Invalid FileSet command" when running my backup jobs.
The version above, is bacula-sd and bacula-dir?
My guess, your bacula-fd is older, and thus does not know this command.
If you upgrade bacula-fd, your issue should go away.
>
> My FileSet is:
>
> # List of files to be backed up
> FileSet {
> Name = "client files-to-backup"
> Ignore FileSet Changes = yes
> Include {
> Options {
> signature = MD5
> compression=GZIP1
> }
> File = "\\</etc/bacula/files-to-backup"
> ExcludeDirContaining = .nobackup
> }
That looks fine.
>
> Exclude {
> File = /proc
> File = /tmp
> File = /.journal
> File = /.fsck
> File = /var/cache/apache2
> File = /var/log
> }
> }
>
> On the client exists /etc/bacula-files-to-backup containing a list of filesystems to be backup'd, line by line (/, /var, /boot).
>
> Is the combination of "\<filename" and "exclude dir containing" not allowed?
--
Dan Langille - http://langille.org/
|