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" <[email protected]>
> An: "Bacula" <[email protected]>
>
> 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.
--
Erik
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users