Bacula-users

Re: [Bacula-users] Problem to include File on Client side

2008-10-04 15:24:44
Subject: Re: [Bacula-users] Problem to include File on Client side
From: Arno Lehmann <al AT its-lehmann DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 29 Sep 2008 20:38:13 +0200
Hi,

29.09.2008 12:51, Urban Loesch wrote:
> Hi Arno,
> 
> I tried out your hints but with no luck.
> 
>> I can't check this myself now, but you could try the following:
>> - Remove the space between "<" and "d:". As far as I can see, this 
>> should work - the code does not strip whitespace.
>> - Use a backslash instead of the forward slash, escaping it: "\\".
>> - Use a capital letter D.
> 
> I tried the following "FILE" configuraton's:
> 
> File = "\\<D:\\filelist.txt"
> File = "\\<D:\\filelist"
> File = "\\<d:\\filelist"
> File = "\\<d:/filelist"
> 
> The log shows me:
> 
> ...
> 29-Sep 12:30 wxpclient JobId 120: Fatal error: Cannot open FileSet input 
> file: D:\filelist. ERR=No such file or directory
> 29-Sep 12:30 wxpclient JobId 120: Fatal error: Failed to authenticate 
> Storage daemon.
> ...
> 
>  >
>  > - Run the client with debug output enabled (in bconsole: "setdebug
>  > level=100 trace=1 client=wxpclient") and look for a line containing
>  > "include on client" in the resulting trace file. Check if there are
>  > any spaces left in the file name.
> 
> I run the client with debug output as you suggested, but I found no 
> tracefile and in "/var/log/bacula/log" there was no more information.

Hmm... on my desktop system, those files are created in the directory 
the FD runs in, or in what you configure as a working dir in the FD 
configuration - I see old trace files in both locations :-)

This is Vista... the directories are c:\ProgramData\Bacula and Work\ 
below that.

The files remain locked while the FD uses them, so you've got to issue 
'setdebug trace=0 level=0 client=whatever-fd' before you can actually 
read them.

I'm a bit overloaded with work currently; if possible, I'll set up a 
test job in the next few days and see what happens here. I guess I'll 
have to upgrade my playground Bacula installation first ;-)

It would be best if this scenario was in the automatic test cases run 
nightly, but as Windows is supported only minimally and Kern really 
dislikes working on the windows programs I doubt that will happen soon...

Arno

> Here is the full log of an unsuccessfull job I run:
> 
> 29-Sep 12:30 backup1.rolbox.net-dir JobId 120: No prior Full backup Job 
> record found.
> 29-Sep 12:30 backup1.rolbox.net-dir JobId 120: No prior or suitable Full 
> backup found in catalog. Doing FULL backup.
> 29-Sep 12:30 backup1.rolbox.net-dir JobId 120: Start Backup JobId 120, 
> Job=wxpclient.2008-09-29_12.30.08
> 29-Sep 12:30 backup1.rolbox.net-dir JobId 120: Using Device "FileStorage"
> 29-Sep 12:30 wxpclient JobId 120: Fatal error: Cannot open FileSet input 
> file: D:\filelist. ERR=No such file or directory
> 29-Sep 12:30 wxpclient JobId 120: Fatal error: Failed to authenticate 
> Storage daemon.
> 29-Sep 12:30 backup1.rolbox.net-dir JobId 120: Fatal error: Socket error 
> on Storage command: ERR=No data available
> 29-Sep 12:30 backup1.rolbox.net-dir JobId 120: Error: Bacula 
> backup1.rolbox.net-dir 2.4.2 (26Jul08): 29-Sep-2008 12:30:21
>    Build OS:               x86_64-pc-linux-gnu debian lenny/sid
>    JobId:                  120
>    Job:                    wxpclient.2008-09-29_12.30.08
>    Backup Level:           Full (upgraded from Incremental)
>    Client:                 "wxpclient-fd" 2.4.2 (26Jul08) 
> Linux,Cross-compile,Win32
>    FileSet:                "winxpfiles" 2008-09-29 12:25:36
>    Pool:                   "Default" (From Job resource)
>    Storage:                "File" (From Job resource)
>    Scheduled time:         29-Sep-2008 12:30:10
>    Start time:             29-Sep-2008 12:30:14
>    End time:               29-Sep-2008 12:30:21
>    Elapsed time:           7 secs
>    Priority:               10
>    FD Files Written:       0
>    SD Files Written:       0
>    FD Bytes Written:       0 (0 B)
>    SD Bytes Written:       0 (0 B)
>    Rate:                   0.0 KB/s
>    Software Compression:   None
>    VSS:                    no
>    Storage Encryption:     no
>    Volume name(s):
>    Volume Session Id:      3
>    Volume Session Time:    1222683894
>    Last Volume Bytes:      13,835,739 (13.83 MB)
>    Non-fatal FD errors:    0
>    SD Errors:              0
>    FD termination status:
>    SD termination status:  Waiting on FD
>    Termination:            *** Backup Error ***
> 
> 
> Thanks and regards
> Urban
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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>
  • Re: [Bacula-users] Problem to include File on Client side, Arno Lehmann <=