>>>>> On Mon, 11 Jul 2005 14:55:02 -0300, Maurizio Santini <[EMAIL PROTECTED]> 
>>>>> said:

  Maurizio> That it was my first configuration but it always throw the error "
  Maurizio> Could not stat File: ERR=No such file or directory"

If you are using File = "</what_ever_path/file.list", then you need to have
/what_ever_path/file.list containing just the filenames, 1 per line.  E.g.

/boot/message
/boot/map
/boot/kernel.h

__Martin


  >> On Monday 11 July 2005 10:10 am, Maurizio Santini wrote:
  >> > It worked!
  >> >
  >> > Bacula's manual should be corrected because it says to use "File =
  >> > @/what_ever_path/file.list" but as you suggested the word "File" is not
  >> > needed in bacula-dir.conf when the @ operator is used.
  >> >
  >> > Thank you very much,
  >> >
  >> > Maurizio
  >> 
  >> Maurizio,
  >> 
  >> Something to keep in mind is that @/what_ever_path/file.list will be read 
  >> only when you start bacula-director or issue the reload command from 
  >> bconsole. This may be what you intend, but if file.list will be changing 
  >> regularly you may wish to use the File = "</what_ever_path/file.list" 
  >> construct, which will be read every time you run a backup job.
  >> 
  >> Cheers!
  >> 
  >> cmr
  >> 
  >> > On Thu, 2005-07-07 at 17:42, Martin Simmons wrote:
  >> > > >>>>> 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
  >> >
  >> > -------------------------------------------------------
  >> > 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



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



-------------------------------------------------------
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