sorry for being imcomplete :-\ 

its version 1.38.0, the output from the restore process:

*restore
Using default Catalog name=MyCatalog DB=bacula

First you select one or more JobIds that contain files
to be restored. You will be presented several methods
of specifying the JobIds. Then you will be allowed to
select which files from those JobIds are to be restored.

To select the JobIds, you have the following choices:
     1: List last 20 Jobs run
     2: List Jobs where a given File is saved
     3: Enter list of comma separated JobIds to select
     4: Enter SQL list command
     5: Select the most recent backup for a client
     6: Select backup for a client before a specified time
     7: Enter a list of files to restore
     8: Enter a list of files to restore before a specified time
     9: Find the JobIds of the most recent backup for a client
    10: Find the JobIds for a backup for a client before a specified time
    11: Enter a list of directories to restore for found JobIds
    12: Cancel
Select item:  (1-12): 5
Defined Clients:
     1: lance-fd
     2: rock-fd
Select the Client (1-2): 2
Automatically selected FileSet: Rock Set
+-------+-------+----------+---------------+---------------------+---------------+-----------+
| jobid | level | jobfiles | jobbytes      | starttime           | volumename   
 | startfile |
+-------+-------+----------+---------------+---------------------+---------------+-----------+
|    19 | F     |   69,260 | 4,322,716,759 | 2005-11-09 08:13:52 | 
RockFull-0001 |         0 |
|    19 | F     |   69,260 | 4,322,716,759 | 2005-11-09 08:13:52 | 
RockFull-0001 |         0 |
|    19 | F     |   69,260 | 4,322,716,759 | 2005-11-09 08:13:52 | 
RockFull-0001 |         0 |
|    19 | F     |   69,260 | 4,322,716,759 | 2005-11-09 08:13:52 | 
RockFull-0001 |         0 |
|    19 | F     |   69,260 | 4,322,716,759 | 2005-11-09 08:13:52 | 
RockFull-0001 |         0 |
|    22 | D     |      159 |     8,282,445 | 2005-11-09 14:27:02 | 
RockDiff-0001 |         0 |
+-------+-------+----------+---------------+---------------------+---------------+-----------+
You have selected the following JobIds: 19,22

Building directory tree for JobId 19 ...  
+++++++++++++++++++++++++++++++++++++++++++++++++
Building directory tree for JobId 22 ...
2 Jobs, 68,559 files inserted into the tree.

You are now entering file selection mode where you add (mark) and
remove (unmark) files to be restored. No files are initially added, unless
you used the "all" keyword on the command line.
Enter "done" to leave this mode.

cwd is: /
$ cd etc
cwd is: /etc/
$ mark zshrc
1 file marked.
$ done
Bootstrap records written to 
/bacula/working/lance-dir.restore.*Console*.2005-11-09_16.32.21.bsr

The job will require the following Volumes:

   RockFull-0001


1 file selected to be restored.

Run Restore job
JobName:    RestoreFiles
Bootstrap:  /bacula/working/lance-dir.restore.*Console*.2005-11-09_16.32.21.bsr
Where:      /tmp/bacula-restores
Replace:    always
FileSet:    Full Set
Client:     rock-fd
Storage:    File
When:       2005-11-09 16:33:35
Catalog:    MyCatalog
Priority:   10
OK to run? (yes/mod/no): yes
Job started. JobId=29
*
*
You have messages.
*
*messages
09-Nov 16:33 lance-dir: Start Restore Job RestoreFiles.2005-11-09_16.33.39
09-Nov 16:33 lance-sd: RestoreFiles.2005-11-09_16.33.39 Fatal error: 
acquire.c:199 Open device "FileStorage" (/backups/local) Volume "RockFull-0001" 
failed: ERR=dev.c:466 Could not open: /backups/local/RockFull-0001, ERR=No such 
file or directory

09-Nov 16:33 rockhopper-fd: RestoreFiles.2005-11-09_16.33.39 Fatal error: 
job.c:1597 Bad response to Read Data command. Wanted 3000 OK data
, got 3000 error

09-Nov 16:33 lance-dir: RestoreFiles.2005-11-09_16.33.39 Error: Bacula 1.38.0 
(28Oct05): 09-Nov-2005 16:33:42
  JobId:                  29
  Job:                    RestoreFiles.2005-11-09_16.33.39
  Client:                 rock-fd
  Start time:             09-Nov-2005 16:33:41
  End time:               09-Nov-2005 16:33:42
  Files Expected:         1
  Files Restored:         0
  Bytes Restored:         0
  Rate:                   0.0 KB/s
  FD Errors:              0
  FD termination status:  Error
  SD termination status:  Error
  Termination:            *** Restore Error ***

09-Nov 16:33 lance-dir: Begin pruning Jobs.
09-Nov 16:33 lance-dir: No Jobs found to prune.
09-Nov 16:33 lance-dir: Begin pruning Files.
09-Nov 16:33 lance-dir: No Files found to prune.
09-Nov 16:33 lance-dir: End auto prune.

-------------------------------------------------------------

if i try with restore storage="RockFileStorage"

*restore storage="RockFileStorage"
Using default Catalog name=MyCatalog DB=bacula

First you select one or more JobIds that contain files
to be restored. You will be presented several methods
of specifying the JobIds. Then you will be allowed to
select which files from those JobIds are to be restored.

To select the JobIds, you have the following choices:
     1: List last 20 Jobs run
     2: List Jobs where a given File is saved
     3: Enter list of comma separated JobIds to select
     4: Enter SQL list command
     5: Select the most recent backup for a client
     6: Select backup for a client before a specified time
     7: Enter a list of files to restore
     8: Enter a list of files to restore before a specified time
     9: Find the JobIds of the most recent backup for a client
    10: Find the JobIds for a backup for a client before a specified time
    11: Enter a list of directories to restore for found JobIds
    12: Cancel
Select item:  (1-12): 5
Defined Clients:
     1: lance-fd
     2: rock-fd
Select the Client (1-2): 2
Automatically selected FileSet: Rock Set
+-------+-------+----------+---------------+---------------------+---------------+-----------+
| jobid | level | jobfiles | jobbytes      | starttime           | volumename   
 | startfile |
+-------+-------+----------+---------------+---------------------+---------------+-----------+
|    19 | F     |   69,260 | 4,322,716,759 | 2005-11-09 08:13:52 | 
RockFull-0001 |         0 |
|    19 | F     |   69,260 | 4,322,716,759 | 2005-11-09 08:13:52 | 
RockFull-0001 |         0 |
|    19 | F     |   69,260 | 4,322,716,759 | 2005-11-09 08:13:52 | 
RockFull-0001 |         0 |
|    19 | F     |   69,260 | 4,322,716,759 | 2005-11-09 08:13:52 | 
RockFull-0001 |         0 |
|    19 | F     |   69,260 | 4,322,716,759 | 2005-11-09 08:13:52 | 
RockFull-0001 |         0 |
|    22 | D     |      159 |     8,282,445 | 2005-11-09 14:27:02 | 
RockDiff-0001 |         0 |
+-------+-------+----------+---------------+---------------------+---------------+-----------+
You have selected the following JobIds: 19,22

Building directory tree for JobId 19 ...  
+++++++++++++++++++++++++++++++++++++++++++++++++
Building directory tree for JobId 22 ...
2 Jobs, 68,559 files inserted into the tree.

You are now entering file selection mode where you add (mark) and
remove (unmark) files to be restored. No files are initially added, unless
you used the "all" keyword on the command line.
Enter "done" to leave this mode.

cwd is: /
$ cd etc
cwd is: /etc/
$ mark zshrc
1 file marked.
$ done
Bootstrap records written to 
/bacula/working/lance-dir.restore.*Console*.2005-11-09_16.36.23.bsr

The job will require the following Volumes:

   RockFull-0001


1 file selected to be restored.

Run Restore job
JobName:    RestoreFiles
Bootstrap:  /bacula/working/lance-dir.restore.*Console*.2005-11-09_16.36.23.bsr
Where:      /tmp/bacula-restores
Replace:    always
FileSet:    Full Set
Client:     rock-fd
Storage:    File
When:       2005-11-09 16:36:51
Catalog:    MyCatalog
Priority:   10
OK to run? (yes/mod/no): yes
Job started. JobId=30
*
You have messages.
*messages
09-Nov 16:36 lance-dir: Start Restore Job RestoreFiles.2005-11-09_16.36.56
09-Nov 16:36 lance-sd: RestoreFiles.2005-11-09_16.36.56 Fatal error: 
acquire.c:199 Open device "FileStorage" (/backups/local) Volume "RockFull-0001" 
failed: ERR=dev.c:466 Could not open: /backups/local/RockFull-0001, ERR=No such 
file or directory

09-Nov 16:36 rockhopper-fd: RestoreFiles.2005-11-09_16.36.56 Fatal error: 
job.c:1597 Bad response to Read Data command. Wanted 3000 OK data
, got 3000 error

09-Nov 16:36 lance-dir: RestoreFiles.2005-11-09_16.36.56 Error: Bacula 1.38.0 
(28Oct05): 09-Nov-2005 16:36:59
  JobId:                  30
  Job:                    RestoreFiles.2005-11-09_16.36.56
  Client:                 rock-fd
  Start time:             09-Nov-2005 16:36:58
  End time:               09-Nov-2005 16:36:59
  Files Expected:         1
  Files Restored:         0
  Bytes Restored:         0
  Rate:                   0.0 KB/s
  FD Errors:              0
  FD termination status:  Error
  SD termination status:  Error
  Termination:            *** Restore Error ***

09-Nov 16:36 lance-dir: Begin pruning Jobs.
09-Nov 16:36 lance-dir: No Jobs found to prune.
09-Nov 16:36 lance-dir: Begin pruning Files.
09-Nov 16:36 lance-dir: No Files found to prune.
09-Nov 16:36 lance-dir: End auto prune.



On Wed, Nov 09, 2005 at 11:24:11PM +0200, Kern Sibbald wrote:
> Hello,
> 
> I'll need a little more basic information before I can make any comments:
> 1. What version of Bacula are you using?
> 2. What is the full output from the restore command that you used?
> 3. What is the full output from the restore job that ran.
> 
> Did you try specifying:
> 
>   restore storage="RockFileStorage" 
> 
> ?
> 
> On Wednesday 09 November 2005 21:14, Michael Galloway wrote:
> > good day, i'm having problems restoring files from backups done to disks. i
> > have two storage daemon entries:
> >
> > Device {
> >   Name = FileStorage
> >   Media Type = File
> >   Archive Device = /backups/local
> >   LabelMedia = yes;                   # lets Bacula label unlabeled media
> >   Random Access = Yes;
> >   AutomaticMount = yes;               # when device opened, read it
> >   RemovableMedia = no;
> >   AlwaysOpen = no;
> > }
> >
> > Device {
> >   Name = RockFileStorage
> >   Media Type = File
> >   Archive Device = /backups/rockhopper
> >   LabelMedia = yes;                   # lets Bacula label unlabeled media
> >   Random Access = Yes;
> >   AutomaticMount = yes;               # when device opened, read it
> >   RemovableMedia = no;
> >   AlwaysOpen = no;
> >
> > backups to both devices work correctly. restores from FileStorage work
> > fine, but they fail for RockFileStorge with this error:
> >
> > 09-Nov 14:12 lance-dir: Start Restore Job RestoreFiles.2005-11-09_14.12.25
> > 09-Nov 14:12 lance-sd: RestoreFiles.2005-11-09_14.12.25 Fatal error:
> > acquire.c:199 Open device "FileStorage" (/backups/local) Volume
> > "RockFull-0001" failed: ERR=dev.c:466 Could not open:
> > /backups/local/RockFull-0001, ERR=No such file or directory
> >
> > 09-Nov 14:12 rockhopper-fd: RestoreFiles.2005-11-09_14.12.25 Fatal error:
> > job.c:1597 Bad response to Read Data command. Wanted 3000 OK data , got
> > 3000 error
> >
> >
> > i tried adding a second restore job for the rockhopper backups/storage
> > device:
> >
> > Job {
> >   Name = "RockRestoreFiles"
> >   Type = Restore
> >   Client=lance-fd
> >   FileSet="Rock Set"
> >   Storage = RockFile
> >   Pool = RockFull
> >   Messages = Standard
> >   Where = /tmp/bacula-restores
> > }
> >
> >
> > but the restore still fails.
> >
> > what do i need to configure to restore from those storage devices?
> >
> > thanks!
> >
> > -- michael
> >
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by:
> > Tame your development challenges with Apache's Geronimo App Server.
> > Download it for free - -and be entered to win a 42" plasma tv or your very
> > own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> > _______________________________________________
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> -- 
> Best regards,
> 
> Kern
> 
>   (">
>   /\
>   V_V
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server. Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to