Hi,
23.09.2008 16:38, Urban Loesch wrote:
> Hi Arno,
>
> thanks for your help.
>
> I looked the tread "Strange behavior using @list_of_files as FileSet" as
> you specified and this is what I just tried before my first post.
>
> I'm not in the office this week so I can't test it out again.
> But just described in my first post I tried the configuration assfollows
> to include the FileSet on client's machine.
>
> Here comes the config again.
> -- snip --
> FileSet {
> Name = "winxpfiles"
> Include {
> Options {
> signature = MD5
> }
> File = "\\< d:/baculaincludelist"
> }
> }
> -- snip --
>
> I get the following error in the logfile. It seems that bacula doesn't
> find the included file on the client machine in I got:
>
> "02-Sep 15:33 wxpclient JobId 65: Fatal error: Cannot open FileSet input
> file: d:/baculaincludelist. ERR=No such file or directory"
>
> The file "baculaincludelist" exists on the the windows client and is
> stored on drive "D:\".
> I think the error indicates, that the Storage Director on the client
> isn't able to find the file. Please correct me, if I'm wrong whith it.
It would be the FD, but yes, that seems to be the problem.
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.
- 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.
Arno
> Here comes the full logfile entries for the running Job.
>
> -- snipp --
> 02-Sep 15:33 backup1.rolbox.net-dir JobId 65: No prior Full backup Job
> record found.
> 02-Sep 15:33 backup1.rolbox.net-dir JobId 65: No prior or suitable Full
> backup found in catalog. Doing FULL backup.
> 02-Sep 15:33 backup1.rolbox.net-dir JobId 65: Start Backup JobId 65,
> Job=wxpclient.2008-09-02_15.33.21
> 02-Sep 15:33 backup1.rolbox.net-dir JobId 65: Using Device "FileStorage"
> 02-Sep 15:33 wxpclient JobId 65: Fatal error: Cannot open FileSet input
> file: d:/baculaincludelist. ERR=No such file or directory
> 02-Sep 15:33 wxpclient JobId 65: Fatal error: Failed to authenticate
> Storage daemon.
> 02-Sep 15:33 backup1.rolbox.net-dir JobId 65: Fatal error: Socket error
> on Storage command: ERR=No data available
> 02-Sep 15:33 backup1.rolbox.net-dir JobId 65: Error: Bacula
> backup1.rolbox.net-dir 2.4.2 (26Jul08): 02-Sep-2008 15:33:14
> Build OS: x86_64-pc-linux-gnu debian lenny/sid
> JobId: 65
> Job: wxpclient.2008-09-02_15.33.21
> Backup Level: Full (upgraded from Incremental)
> Client: "wxpclient-fd" 2.4.2 (26Jul08)
> Linux,Cross-compile,Win32
> FileSet: "winxpfiles" 2008-09-02 12:11:38
> Pool: "Default" (From Job resource)
> Storage: "File" (From Job resource)
> Scheduled time: 02-Sep-2008 15:33:03
> Start time: 02-Sep-2008 15:33:07
> End time: 02-Sep-2008 15:33:14
> 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: 60
> Volume Session Time: 1220255835
> Last Volume Bytes: 5,374,466 (5.374 MB)
> Non-fatal FD errors: 0
> SD Errors: 0
> FD termination status:
> SD termination status: Waiting on FD
> Termination: *** Backup Error ***
>
> -- snip --
>
> I tried various configuration in the "File" statement like:
>
> File = \< d:/baculaincludelist
> File = "\\d:/baculaincludelist"
> File = "\\d:\\baculaincludelist"
> File = "\\D:/baculaincludelist"
> etc.
>
> But nothing seems to work. If I use a linux client the include
> statement will work correctly.
> For example: File = "\\</root/bclist.txt"
>
>
> Many thanks and regards
> Urban Loesch
>
>
> Arno Lehmann schrieb:
>> Hi,
>>
>> 22.09.2008 14:07, Urban Loesch wrote:
>>
>>> Hi,
>>>
>>> I read the manual, too. The @-sign indicates to read the file on the
>>> director's machine.
>>> I need to read the file on the client's machine.
>>>
>> See the thread "Strange behavior using @list_of_files as FileSet" from
>> a few days ago (overlapping with your question).
>>
>> Arno
>>
>>
>>> This to give the User
>>> the abillity to configure
>>> by himself, which files/directories should be backuped.
>>>
>>> Thanks
>>> Urban
>>>
>>>
>>> Javino schrieb:
>>>
>>>> Reading the bacula manual:
>>>>
>>>> Any name preceded by an at-sign (@) is assumed to be the name of a
>>>> file, which contains a list of files each preceded by a "File =". The
>>>> named file is read once when the configuration file is parsed during
>>>> the Director startup. Note, that the file is read on the Director's
>>>> machine and not on the Client's.
>>>>
>>>> Maybe you're using a wrong windows path to the filelist, try to copy
>>>> the filelist into the Director machine (a Linux host?) and use a
>>>> correct path for it in director.conf, restart the director o reload
>>>> the conf.
>>>>
>>>> J.
>>>>
>>>> 2008/9/20 Urban Loesch <bind AT enas DOT net <mailto:bind AT enas DOT net>>
>>>>
>>>> Yes, I canged the configuration to d:/bacula/filelist.lst and I
>>>> changed
>>>> the config on the windows machine, too.
>>>> Now on the windows machine the file lies under d:\bacula\bacula.lst.
>>>>
>>>> And I got the errors from my previous post.
>>>>
>>>> thanks
>>>> Urban
>>>>
>>>> Javino wrote:
>>>> > In your previous post you've used d:/baculaincludelist and I
>>>> write in
>>>> > my example the path d:/bacula/filelist.lst, have you used in
>>>> your new
>>>> > configuration the correct path of your filelist?
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > 2008/9/19 Urban Loesch <bind AT enas DOT net <mailto:bind AT enas
>>>> DOT net>
>>>> <mailto:bind AT enas DOT net <mailto:bind AT enas DOT net>>>
>>>> >
>>>> > Hi,
>>>> >
>>>> > thanks for your fast answer, but precede with the at-sign
>>>> (@) the file
>>>> > will be read on the Director's machine (Server) and not on
>>>> the client's
>>>> > machine. So it is described in the manual.
>>>> >
>>>> > I tried it out an I will become the following error's:
>>>> >
>>>> > > File = @d:/bacula/filelist.lst
>>>> >
>>>> > 18-Sep 13:22 backup1.rolbox.net-dir: ERROR in inc_conf.c:629
>>>> Config
>>>> > error: Expected a filename, got: d:/bacula/filelist.lst
>>>> > : line 174, col 35 of file
>>>> /etc/bacula/bacula-dir.conf
>>>> > File = @d:/bacula/filelist.lst
>>>> > 18-Sep 13:22 backup1.rolbox.net-dir: ERROR in lex.c:625
>>>> Config error:
>>>> > Cannot open included config file d:/bacula/filelist.lst: No
>>>> such file or
>>>> > directory: line 174, col 35 of file /etc/bacula/bacula-dir.conf
>>>> > File = @d:/bacula/filelist.lst
>>>> >
>>>> > After I tried:
>>>> >
>>>> > File = "@d:/bacula/filelist.lst"
>>>> >
>>>> > and I got the following error.
>>>> >
>>>> > ...
>>>> > 18-Sep 13:24 backup1.rolbox.net-dir JobId 114: No prior Full
>>>> backup Job
>>>> > record found.
>>>> > 18-Sep 13:24 backup1.rolbox.net-dir JobId 114: No prior or
>>>> suitable Full
>>>> > backup found in catalog. Doing FULL backup.
>>>> > 18-Sep 13:24 backup1.rolbox.net-dir JobId 114: Start Backup
>>>> JobId 114,
>>>> > Job=wxpclient.2008-09-18_13.24.28
>>>> > 18-Sep 13:24 backup1.rolbox.net-dir JobId 114: Using Device
>>>> > "FileStorage"
>>>> > 18-Sep 13:28 backup1.rolbox.net-sd JobId 114: Volume
>>>> "bctestvolume001"
>>>> > previously written, moving to end of data.
>>>> > 18-Sep 13:28 backup1.rolbox.net-sd JobId 114: Ready to
>>>> append to end of
>>>> > Volume "bctestvolume001" size=13323668
>>>> > 18-Sep 13:28 wxpclient JobId 114: No drive letters found for
>>>> generating
>>>> > VSS snapshots.
>>>> > 18-Sep 13:28 wxpclient JobId 114: Could not stat
>>>> > @d:/bacula/filelist.lst: ERR=Das System kann den angegebenen
>>>> Pfad nicht
>>>> > finden.
>>>> >
>>>> > 18-Sep 13:29 backup1.rolbox.net-sd JobId 114: Job write
>>>> elapsed time =
>>>> > 00:00:08, Transfer rate = 0 bytes/second
>>>> > 18-Sep 13:29 backup1.rolbox.net-dir JobId 114: Bacula
>>>> > backup1.rolbox.net-dir 2.4.2 (26Jul08): 18-Sep-2008 13:29:01
>>>> > Build OS: x86_64-pc-linux-gnu debian lenny/sid
>>>> > JobId: 114
>>>> > Job: wxpclient.2008-09-18_13.24.28
>>>> > Backup Level: Full (upgraded from Incremental)
>>>> > Client: "wxpclient-fd" 2.4.2 (26Jul08)
>>>> > Linux,Cross-compile,Win32
>>>> > FileSet: "winxpfiles" 2008-09-18 13:24:44
>>>> > Pool: "Default" (From Job resource)
>>>> > Storage: "File" (From Job resource)
>>>> > Scheduled time: 18-Sep-2008 13:24:39
>>>> > Start time: 18-Sep-2008 13:28:52
>>>> > End time: 18-Sep-2008 13:29:01
>>>> > Elapsed time: 9 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: yes
>>>> > Storage Encryption: no
>>>> > Volume name(s): bctestvolume001
>>>> > Volume Session Id: 109
>>>> > Volume Session Time: 1220255835
>>>> > Last Volume Bytes: 13,324,062 (13.32 MB)
>>>> > Non-fatal FD errors: 1
>>>> > SD Errors: 0
>>>> > FD termination status: OK
>>>> > SD termination status: OK
>>>> > Termination: Backup OK -- with warnings
>>>> >
>>>> > 18-Sep 13:29 backup1.rolbox.net-dir JobId 114: Begin pruning
>>>> Jobs.
>>>> > 18-Sep 13:29 backup1.rolbox.net-dir JobId 114: No Jobs found
>>>> to prune.
>>>> > 18-Sep 13:29 backup1.rolbox.net-dir JobId 114: Begin pruning
>>>> Files.
>>>> > 18-Sep 13:29 backup1.rolbox.net-dir JobId 114: No Files
>>>> found to prune.
>>>> > 18-Sep 13:29 backup1.rolbox.net-dir JobId 114: End auto prune.
>>>> > ...
>>>> >
>>>> > The system say's that it's not able to find the path: for
>>>> > @d:/bacula/filelist.lst.
>>>> >
>>>> > ...
>>>> > 18-Sep 13:28 wxpclient JobId 114: Could not stat
>>>> > @d:/bacula/filelist.lst: ERR=Das System kann den angegebenen
>>>> Pfad nicht
>>>> > finden.
>>>> > ...
>>>> >
>>>> > Strange is that the error was displaed in german language.
>>>> >
>>>> > Have you any other idea?
>>>> >
>>>> > many thanks and regards
>>>> > Urban Loesch
>>>> >
>>>> > Javino wrote:
>>>> > > Have you tried with:
>>>> > >
>>>> > > File = @d:/bacula/filelist.lst
>>>> > >
>>>> > > J.
>>>> > >
>>>> > > 2008/9/18 Urban Loesch <bind AT enas DOT net
>>>> <mailto:bind AT enas DOT net> <mailto:bind AT enas DOT net
>>>> <mailto:bind AT enas DOT net>>
>>>> > <mailto:bind AT enas DOT net <mailto:bind AT enas DOT net>
>>>> <mailto:bind AT enas DOT net <mailto:bind AT enas DOT net>>>>
>>>> > >
>>>> > > Hi,
>>>> > >
>>>> > > I'm new to the list and with bacula.
>>>> > > I installed bacula on debian lenny from official
>>>> repositories
>>>> > with
>>>> > > version 2.4.2-1.
>>>> > >
>>>> > > I have teh following packages installed on my test
>>>> environment.
>>>> > > bacula-client 2.4.2-1
>>>> > > bacula-common 2.4.2-1
>>>> > > bacula-console 2.4.2-1
>>>> > > bacula-director-common 2.4.2-1
>>>> > > bacula-director-myl 2.4.2-1
>>>> > > bacula-fd 2.4.2-1
>>>> > > bacula-sd 2.4.2-1
>>>> > > bacula-sd-mysql 2.4.2-1
>>>> > > bacula-traymonitor 2.4.2-1
>>>> > >
>>>> > > I tried to include a file from the client with a speficic
>>>> > directory list
>>>> > > to backup.
>>>> > >
>>>> > > The file lies on a WinXP Pro machine with SP3
>>>> installed under:
>>>> > > d:\baculaincludelist
>>>> > >
>>>> > > "winbacula-2.4.2" downloaded from Sourceforge is
>>>> installed on the
>>>> > > machine.
>>>> > >
>>>> > > The FileSet section in the bacula-dir.conf file looks as
>>>> > follows and is
>>>> > > very similar.
>>>> > >
>>>> > > -- snip --
>>>> > > FileSet {
>>>> > > Name = "winxpfiles"
>>>> > > Include {
>>>> > > Options {
>>>> > > signature = MD5
>>>> > > }
>>>> > > File = "\\< d:/baculaincludelist"
>>>> > > }
>>>> > > }
>>>> > > -- snip --
>>>> > >
>>>> > > I get the following error in the logfile. It seems that
>>>> > bacula doesn't
>>>> > > find the included file on the client machine.
>>>> > >
>>>> > > -- snipp --
>>>> > > 02-Sep 15:33 backup1.rolbox.net-dir JobId 65: No
>>>> prior Full
>>>> > backup Job
>>>> > > record found.
>>>> > > 02-Sep 15:33 backup1.rolbox.net-dir JobId 65: No prior or
>>>> > suitable Full
>>>> > > backup found in catalog. Doing FULL backup.
>>>> > > 02-Sep 15:33 backup1.rolbox.net-dir JobId 65: Start
>>>> Backup
>>>> > JobId 65,
>>>> > > Job=wxpclient.2008-09-02_15.33.21
>>>> > > 02-Sep 15:33 backup1.rolbox.net-dir JobId 65: Using
>>>> Device
>>>> > "FileStorage"
>>>> > > 02-Sep 15:33 wxpclient JobId 65: Fatal error: Cannot open
>>>> > FileSet input
>>>> > > file: d:/baculaincludelist. ERR=No such file or directory
>>>> > > 02-Sep 15:33 wxpclient JobId 65: Fatal error: Failed to
>>>> > authenticate
>>>> > > Storage daemon.
>>>> > > 02-Sep 15:33 backup1.rolbox.net-dir JobId 65: Fatal
>>>> error:
>>>> > Socket error
>>>> > > on Storage command: ERR=No data available
>>>> > > 02-Sep 15:33 backup1.rolbox.net-dir JobId 65: Error:
>>>> Bacula
>>>> > > backup1.rolbox.net-dir 2.4.2 (26Jul08): 02-Sep-2008
>>>> 15:33:14
>>>> > > Build OS: x86_64-pc-linux-gnu debian
>>>> lenny/sid
>>>> > > JobId: 65
>>>> > > Job: wxpclient.2008-09-02_15.33.21
>>>> > > Backup Level: Full (upgraded from
>>>> Incremental)
>>>> > > Client: "wxpclient-fd" 2.4.2 (26Jul08)
>>>> > > Linux,Cross-compile,Win32
>>>> > > FileSet: "winxpfiles" 2008-09-02
>>>> 12:11:38
>>>> > > Pool: "Default" (From Job resource)
>>>> > > Storage: "File" (From Job resource)
>>>> > > Scheduled time: 02-Sep-2008 15:33:03
>>>> > > Start time: 02-Sep-2008 15:33:07
>>>> > > End time: 02-Sep-2008 15:33:14
>>>> > > 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: 60
>>>> > > Volume Session Time: 1220255835
>>>> > > Last Volume Bytes: 5,374,466 (5.374 MB)
>>>> > > Non-fatal FD errors: 0
>>>> > > SD Errors: 0
>>>> > > FD termination status:
>>>> > > SD termination status: Waiting on FD
>>>> > > Termination: *** Backup Error ***
>>>> > >
>>>> > > -- snip --
>>>> > >
>>>> > > I tried various configuration in the "File" statement
>>>> like:
>>>> > >
>>>> > > File = \< d:/baculaincludelist
>>>> > > File = "\\d:/baculaincludelist"
>>>> > > File = "\\d:\\baculaincludelist"
>>>> > > File = "\\D:/baculaincludelist"
>>>> > > etc.
>>>> > >
>>>> > > But nothing seems to work. If I use a linux client the
>>>> > include statement
>>>> > > will work correctly.
>>>> > > For example:
>>>> > > File = "\\</root/bclist.txt"
>>>> > >
>>>> > > I read the manuals and searched the archives but I
>>>> tried no
>>>> > solution.
>>>> > > I have to implement bacula with this type of
>>>> configuration,
>>>> > because I
>>>> > > must give the client the possibility to define the
>>>> > directories to be
>>>> > > backuped by himself.
>>>> > >
>>>> > > Have you any idea how I can sole my problem?
>>>> > >
>>>> > > Many thanks and regards
>>>> > > Urban Loesch
>>>> > >
>>>> > >
>>>> >
>>>>
>>>> -------------------------------------------------------------------------
>>>> > > 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=/
>>>> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
>>>> > <http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>>
>>>> > >
>>>> <http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
>>>> > <http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>>>
>>>> > > _______________________________________________
>>>> > > Bacula-users mailing list
>>>> > > Bacula-users AT lists.sourceforge DOT net
>>>> <mailto:Bacula-users AT lists.sourceforge DOT net>
>>>> > <mailto:Bacula-users AT lists.sourceforge DOT net
>>>> <mailto:Bacula-users AT lists.sourceforge DOT net>>
>>>> > > <mailto:Bacula-users AT lists.sourceforge DOT net
>>>> <mailto:Bacula-users AT lists.sourceforge DOT net>
>>>> > <mailto:Bacula-users AT lists.sourceforge DOT net
>>>> <mailto:Bacula-users AT lists.sourceforge DOT net>>>
>>>> > > https://lists.sourceforge.net/lists/listinfo/bacula-users
>>>> > >
>>>> > >
>>>> >
>>>> >
>>>>
>>>> -------------------------------------------------------------------------
>>>> > 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=/
>>>> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
>>>> > <http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>>
>>>> > _______________________________________________
>>>> > Bacula-users mailing list
>>>> > Bacula-users AT lists.sourceforge DOT net
>>>> <mailto:Bacula-users AT lists.sourceforge DOT net>
>>>> > <mailto:Bacula-users AT lists.sourceforge DOT net
>>>> <mailto:Bacula-users AT lists.sourceforge DOT net>>
>>>> > https://lists.sourceforge.net/lists/listinfo/bacula-users
>>>> >
>>>> >
>>>>
>>>>
>>>> -------------------------------------------------------------------------
>>>> 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=/
>>>> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
>>>> _______________________________________________
>>>> Bacula-users mailing list
>>>> Bacula-users AT lists.sourceforge DOT net
>>>> <mailto:Bacula-users AT lists.sourceforge DOT net>
>>>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>>>
>>>>
>>>>
>>> -------------------------------------------------------------------------
>>> 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
>>>
>>>
>>
>
>
> -------------------------------------------------------------------------
> 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
|