Hello,
I have not looked at your problem in detail, but it *sounds* a lot like
what happens to a lot of first time Runscript users. Please remember
when Bacula executes an external command, it runs it without a shell
(i.e. it simply executes and executable). If you want a shell to
interpret a
-+--+---+
> | 8 | BackupClient1 | 2016-04-13 16:56:37 | B| F |3 |
>0 | T |
> +---+---+-+--+---+--+--+---+
>
> Regards,
>
> - Original Message -
>> From: "Heitor Faria"
>
r Faria"
> To: "Lloyd Brown"
> Cc: bacula-users@lists.sourceforge.net
> Sent: Wednesday, April 13, 2016 4:46:07 PM
> Subject: Re: [Bacula-users] relative order of scripts vs files
>> Heitor,
>>
>> I don't know if this will affect anything, but
> Heitor,
>
> I don't know if this will affect anything, but your example backs up the
> file "/tmp/dummy". What I'm trying to do is read from a file, to get
> the list of files to be backed up. It's a difference between this syntax:
>
>> File = /tmp/dummy
>
> And something more like this
Heitor,
I don't know if this will affect anything, but your example backs up the
file "/tmp/dummy". What I'm trying to do is read from a file, to get
the list of files to be backed up. It's a difference between this syntax:
> File = /tmp/dummy
And something more like this:
> File = "\
> Unfortunately, there's some sensitive info in the script. I'll see if I
> can post an excerpt later.
>
> But here's what I've observed:
> - When the file doesn't exist, I get the error as described. I've even
> attached to the bacula-fd using strace, and verified that it does try to
> open() t
Unfortunately, there's some sensitive info in the script. I'll see if I
can post an excerpt later.
But here's what I've observed:
- When the file doesn't exist, I get the error as described. I've even
attached to the bacula-fd using strace, and verified that it does try to
open() that file, but
> If I have a situation like the attached file, can someone help me
> understand which comes first, between the "Client Run Before Job"
> script, and the "File = "\\
> The reason is this. This situation is a little complicated, but the
> short answer is that the "Client Run Before Job" script, wi
If I have a situation like the attached file, can someone help me
understand which comes first, between the "Client Run Before Job"
script, and the "File = "\\ 13-Apr 09:24 zhomebackup2-fd JobId 59114: Fatal error: Cannot open
> FileSet input file: /etc/bacula/zhome_jobfile_lists/zhome_list_l.
> ER