Bacula-users

[Bacula-users] webacula can't restore

2009-03-31 08:10:33
Subject: [Bacula-users] webacula can't restore
From: François Mehault <Francois.Mehault AT netplus DOT fr>
To: "Bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 31 Mar 2009 14:04:24 +0200

Hi All

 

I used webacula to do some restore, but I saw that it can’t. I use bacula 2.4.4 and webacula 1.4. Well, I started a restore with webacula, I executed and i saw the director :

 

Sortie du directeur:

Connecting to Director localhost:9101
1000 OK: labobe2-dir Version: 2.4.4 (28 December 2008)
Enter a period to cancel a command.
mount "LAB3Storage"
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
3906 File device "LAB3Device" (/usr/home/netplus/labobe3/bacula) is always mounted.
You have messages.
@sleep 10
restore jobid=160 restoreclient="labobe3" client="labobe3" where="C:/bacula-restores" storage="LAB3Storage" pool="LAB3Rep2DailyCycle" fileset="LAB2Rep2FileSet" all done yes
You have selected the following JobId: 160

Building directory tree for JobId 160 ...
1 Job, 6 files inserted into the tree and marked for extraction.
Bootstrap records written to /var/db/bacula/labobe2-dir.restore.2.bsr

The job will require the following
   Volume(s)                 Storage(s)                SD Device(s)
===========================================================================

   LAB3Rep2Daily-0045        LAB3Storage               LAB3Device


6 files selected to be restored.

The defined Restore Job resources are:
     1: LAB2Rep1RestoreFilesJob
     2: LAB2Rep2RestoreFilesJob
     3: LAB1Rep1RestoreFilesJob
     4: LAB1Rep2RestoreFilesJob
     5: LAB3Rep1RestoreFilesJob
     6: LAB3Rep2RestoreFilesJob
Select Restore Job (1-6): @sleep 10
status dir
Expected a positive integer, got: status dir
Select Restore Job (1-6): @quit

 

 

So I copy this line « restore jobid=160 restoreclient="labobe3" client="labobe3" where="C:/bacula-restores" storage="LAB3Storage" pool="LAB3Rep2DailyCycle" fileset="LAB2Rep2FileSet" all done yes » and put it in bconsole. Then bconsole ask me to define a Restore Job ressources.

 

So I search to have the same line with directive like « jobrestore=LAB3Rep2RestoreFilesJob » or « restorejob=LAB3Rep2RestoreFilesJob » 

But I had :

 

 

*restore jobid=160 restoreclient="labobe3" client="labobe3" where="C:/bacula-restores" storage="LAB3Storage" pool="LAB3Rep2DailyCycle" fileset="LAB2Rep2FileSet" all done yes jobrestore="LAB3Rep2RestoreFilesJob"

Unknown keyword: jobrestore

 

[…]

 

Unknown keyword: restorejob

 

 

I search the good directive. Then I could correct my webacula source. Someone knows the good instruction ?

 

Thanks,

Regards

 

François

 

------------------------------------------------------------------------------
_______________________________________________
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>
  • [Bacula-users] webacula can't restore, François Mehault <=