Bacula-users

Re: [Bacula-users] bacula 3.0.2 fileset file-list on the fly ?

2009-08-13 05:21:11
Subject: Re: [Bacula-users] bacula 3.0.2 fileset file-list on the fly ?
From: ebollengier <eric AT eb.homelinux DOT org>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 13 Aug 2009 02:16:47 -0700 (PDT)
Hello,


Clark Hartness wrote:
> 
> I am attempting to send a list of files to Bacula from the Client using 
> this syntax described in the manual:
> 
> Any file-list item preceded by a less-than sign (<) will be taken to be 
> a file. This file will be read on the Director's machine at the time the 
> Job starts, and the data will be assumed to be a list of directories or 
> files, one per line, to be included. The names should start in column 1 
> and should not be quoted even if they contain spaces. This feature 
> allows you to modify the external file and change what will be saved 
> without stopping and restarting Bacula as would be necessary if using 
> the @ modifier noted above. For example:
> 
> Include {
>   Options { signature = SHA1 }
>   File = "</home/files/local-filelist"
> }
> 
> If you precede the less-than sign (<) with a backslash as in \<, the 
> file-list will be read on the Client machine instead of on the 
> Director's machine. Please note that if the filename is given within 
> quotes, you will need to use two slashes.
> 
> Include {
>   Options { signature = SHA1 }
>   File = "\\</home/xxx/filelist-on-client"
> }
> 
> 
> 
> If I use the \\< syntax I can not estimate or run the job to create the
> backup
> 
> I get errors like:
> 
> 12-Aug 19:29 ws27-fd JobId 297:      Could not stat "File =
> /mnt/fog006/ddrswa/jckh/dlr_leopard_dev_12/dfb/doc/001-10043-dfb-BROS-starB.doc":
> ERR=No such file or directory
> 12-Aug 19:29 ws27-fd JobId 297:      Could not stat "File =
> /mnt/fog006/ddrswa/jckh/dlr_leopard_dev_12/dfb/doc/001-10043-dfb-BROS-starB.pdf":
> ERR=No such file or directory
> 12-Aug 19:29 ws27-fd JobId 297:      Could not stat "File =
> /mnt/fog006/ddrswa/jckh/dlr_leopard_dev_12/dfb/doc/001-10043-dfb-BROS-starC.doc":
> ERR=No such file or directory
> 
> 

Have you really a file named :
File =
/mnt/fog006/ddrswa/jckh/dlr_leopard_dev_12/dfb/doc/001-10043-dfb-BROS-starB.doc
on your system ? If yes, i'm very surprised.

Don't forget to read what you've written 10 lines before:
"The names should start in column 1 and should not be quoted even if they
contain spaces."

I think that you have put File= before each filename, that will explain why
it works with the @ command.

Bye

-- 
View this message in context: 
http://www.nabble.com/bacula-3.0.2-fileset-file-list-on-the-fly---tp24947515p24951634.html
Sent from the Bacula - Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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>