Bacula-users

Re: [Bacula-users] Exclude dir containing -> Invalid fileset command

2010-12-07 23:10:56
Subject: Re: [Bacula-users] Exclude dir containing -> Invalid fileset command
From: Dan Langille <dan AT langille DOT org>
To: Christoph Litauer <litauer AT uni-koblenz DOT de>
Date: Tue, 07 Dec 2010 23:07:29 -0500
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/

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>