>>>>> On Wed, 06 Jul 2005 19:30:48 -0300, Maurizio Santini <[EMAIL PROTECTED]> 
>>>>> said:

  Maurizio> Hello,

  Maurizio> I'm trying to set up bacula 1.36.3 on redhat 8 but I have the 
following
  Maurizio> problem.

  Maurizio> Instead of listing all the directory/files I want to backup within 
the
  Maurizio> FileSet/Include directive I set up a file with the 
directories/files I
  Maurizio> want to backup.

  Maurizio> bacula-dir.conf looks like this...

  Maurizio> FileSet {
  Maurizio>   Name = "Monitor0 files"
  Maurizio>   Include {
  Maurizio>     Options {
  Maurizio>       signature = MD5
  Maurizio>     }
  Maurizio>     File = @/root/bacula/bin/file_list/monitor_pc/monitor0.list
  Maurizio>   }
  Maurizio> }

  Maurizio> ...and monitor0.list like this...
  Maurizio> "File = /boot/message", "File = /boot/map", "File = /boot/kernel.h

  Maurizio> The configuration looks OK because I can restart bacula with no 
problems
  Maurizio> but when I try to backup the client I get the error "Could not stat
  Maurizio> File: ERR=No such file or directory".

  Maurizio> monitor0.list is on the director's machine.

  Maurizio> Does anyone know if I'm configuring wrong monitor0.list or
  Maurizio> bacula-dir.conf?

The @ operator includes monitor0.list as if it was inline in bacula-dir.conf,
so you have created the following:

File = "File = /boot/message", "File = /boot/map", "File = /boot/kernel.h

To get what you want, I suggest creating monitor0.list to contain this:

File = "/boot/message"
File = "/boot/map"
File = "/boot/kernel.h"

and using it like this:

FileSet {
  Name = "Monitor0 files"
  Include {
    Options {
      signature = MD5
    }
    @/root/bacula/bin/file_list/monitor_pc/monitor0.list
  }
}

__Martin


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to