On 2018-03-20 at 20:26:43 Christian Lehmann wrote:

> you are right, Bootstrap-Directive is not needed.
> The Schedule-Line is from my point of view also optional.
> Did you try to leave out the "accurate" option?
> is this directory: "Where = /backupdev/bacula-restores/epohost" existing and 
> is bacual
> allowed to write there? I am alos not sure, if you backup for example only 
> /home/, you
> might need to also create /backupdev/bacula-restores/epohost/home/. Maybe 
> someone else
> can clarify that point.
> 
> Did you can any additional error messages in the Log-Files?

I get this error message in bacula.log:

Error: bsock.c:537 Socket has errors=1 on call to
client:192.168.1.100:9101

I have no idea what it means and what I can do to fix the problem. Maybe I 
should report
it as a bug?

--
Regards,
Erik P. Olsen

> 
> Best,
> 
> Christian
> 
> 
> 
> 
> 
> -----Original-Nachricht-----
> Betreff: Re: [Bacula-users] Unable to restore files using BAT.
> Datum: 2018-03-20T13:59:30+0100
> Von: "Erik P. Olsen" <epod...@gmail.com>
> An: "Bacula" <bacula-users@lists.sourceforge.net>
> 
> On 2018-03-20 at 10:33:14 Christian Lehmann wrote:
> 
> > Hi Erik,
> > 
> > just to be sure: Did you actually create a ressource for restoring.That 
> > means you need
> > a job definition to be able to create a restore.
> > 
> > For example:
> > 
> > Job {
> >   Type = Restore
> >   Name = "A Restore Job"
> >   Client = Server-fd
> >   JobDefs = "DefaultJob"
> >   Level = Full
> >   FileSet = "MemberNoComp"
> >   Schedule = "Never"
> >   Bootstrap = "/var/lib/bacula/MemberNoComp.bsr"
> > #  RunBeforeJob = "/etc/bacula/make_catalog_backup bacula bacula SockenC7"
> > #  RunAfterJob = "/etc/bacula/delete_catalog_backup"
> > #  WriteBootstrap = "/var/lib/bacula/catalog.bsr"
> >   Priority = 11
> >   Max Wait Time = 5d
> > }
> > 
> > Best,
> > 
> > Christian
> > 
> > 
> > -----Original-Nachricht-----
> > Betreff: [Bacula-users] Unable to restore files using BAT.
> > Datum: 2018-03-20T09:06:46+0100
> > Von: "Erik P. Olsen" <epod...@gmail.com>
> > An: "Bacula" <bacula-users@lists.sourceforge.net>
> > 
> > OS: Fedora 27
> > BAT: bacula 9.0.6
> > 
> > When attempting to restore a set of files using BAT I get a correct build 
> > of files and
> > the process comes to the point where BAT states (twice!) the number of 
> > selected files.
> > Then nothing happens. I assume it expects some command to actually run the 
> > restore but
> > which command? No matter what command I issue it says <command> invalid. 
> > 
> > How should I proceed from there? Or is there a way to get some sort of 
> > debug list to
> > document the failure?
> >    
>  
> My resource looks as follows:
> 
> Job {
>   Name = "RestoreEpohost"
>   Type = Restore
>   Accurate = yes
>   Client=epohost-fd                 
>   FileSet="Full Set"                  
>   Storage = FileStorage                      
>   Pool = Files
>   Messages = Standard
>   Where = /backupdev/bacula-restores/epohost
> }
> 
> What I am missing from your resource is basicly the bootstrap line but 
> looking in the
> main manual this should not be needed. Next thing missing is the Schedule 
> line but I
> doubt this is critical again it is not in the manual example.
>  

 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to