Hi all,

I am trying to create a restore job definition:
Job {
    Name = "ThecusCameraRestoreFiles"
    #JobDefs = "RestoreFilesTemplate"
    Storage = "ThecusCameraFile"
    Type = Restore
    Client=pluto
    FileSet="Full Set"
    Pool = Default
    Messages = Standard
    Where = /tmp/bacula-restores
}

When I run this job to restore files, the first thing I notice is that
the Job Summary (presented before run) shows that it will use Storage
"File".  Why would it not use "ThecusCameraFile", as specified in the
job definition?

Needing the files restored, I modify the job run so that the Storage is
correct, like this:
Run Restore job
JobName:    ThecusCameraRestoreFiles
Bootstrap:  /var/lib/bacula/pluto-dir.7.restore.bsr
Where:      /tmp/bacula-restores
Replace:    always
FileSet:    Full Set
Client:     thecus_camera
Storage:    ThecusCameraFile
When:       2007-10-08 07:17:10
Catalog:    MyCatalog
Priority:   10
OK to run? (yes/mod/no): y
Job started. JobId=692

I quickly get a message informing me that the Storage is a problem:
You have messages.
*mess
08-Oct 07:18 pluto-dir: Start Restore Job
ThecusCameraRestoreFiles.2007-10-08_07.18.57
08-Oct 07:18 pluto-sd: Failed command:
08-Oct 07:18 pluto-sd: ThecusCameraRestoreFiles.2007-10-08_07.18.57
Fatal error:
     Device "FileStorage" with MediaType "File" requested by DIR not
found in SD Device resources.
08-Oct 07:18 pluto-dir: ThecusCameraRestoreFiles.2007-10-08_07.18.57
Fatal error:
     Storage daemon didn't accept Device "FileStorage" because:
     3924 Device "FileStorage" not in SD Device resources.
08-Oct 07:18 pluto-dir: ThecusCameraRestoreFiles.2007-10-08_07.18.57
Error: Bacula 1.38.11 (28Jun06): 08-Oct-2007 07:18:59
  JobId:                  692
  Job:                    ThecusCameraRestoreFiles.2007-10-08_07.18.57
  Client:                 thecus_camera
  Start time:             08-Oct-2007 07:18:59
  End time:               08-Oct-2007 07:18:59
  Files Expected:         53
  Files Restored:         0
  Bytes Restored:         0
  Rate:                   0.0 KB/s
  FD Errors:              0
  FD termination status:
  SD termination status:
  Termination:            *** Restore Error ***

08-Oct 07:18 pluto-dir: ThecusCameraRestoreFiles.2007-10-08_07.18.57
Error: Bacula 1.38.11 (28Jun06): 08-Oct-2007 07:18:59
  JobId:                  692
  Job:                    ThecusCameraRestoreFiles.2007-10-08_07.18.57
  Client:                 thecus_camera
  Start time:             08-Oct-2007 07:18:59
  End time:               08-Oct-2007 07:18:59
  Files Expected:         53
  Files Restored:         0
  Bytes Restored:         0
  Rate:                   0.0 KB/s
  FD Errors:              1
  FD termination status:
  SD termination status:
  Termination:            *** Restore Error ***


Any help would be greatly appreciated.  Thank in advance!

Paul


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to