All pastes #332241 Raw Edit

Mine

public text v1 · immutable
#332241 ·published 2007-01-29 20:49 UTC
rendered paste body
htplas31:/etc/bacula# bconsole 
Connecting to Director localhost:9101
1000 OK: bacula-dir Version: 1.38.11 (28 June 2006)
Enter a period to cancel a command.
*htplas31:/etc/bacula# /etc/init.d/bacula-director restart
Restarting Bacula Director: bacula-dir.
htplas31:/etc/bacula# bconsole 
Connecting to Director localhost:9101
1000 OK: bacula-dir Version: 1.38.11 (28 June 2006)
Enter a period to cancel a command.
*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): 11
Enter JobId(s), comma separated, to restore: 26,176,188,200,212,232,245,260,288
Defined Clients:
     1: HTTSAS91Client
     2: HALPINLINUXClient
     3: HTDSAS66Client
     4: HTTSAS86Client
     5: HTTSDB89Client
     6: HTPSDB91Client
     7: HTDSWS92Client
     8: HTPSAS87Client
     9: htplas31-fd
    10: HUDSAS94Client
    11: HTTLAS38Client
    12: htplas38
    13: HTDSAS92Client
    14: bacula-fd
    15: htpwfs94-fd
Select the Client (1-15): 11
Enter full directory names or start the name
with a < to indicate it is a filename containing a list
of directories and terminate them with a blank line.
Enter directory name: /data
Enter directory name: data
No database record found for: data/
Enter directory name: /data/
Enter directory name: 
The defined Storage resources are:
     1: File
     2: htpwfs94-sd
Select Storage resource (1-2): 2
Bootstrap records written to /var/lib/bacula/bacula-dir.1.restore.bsr

The job will require the following Volumes:
   
   lto
   lt01
   lto003
   lto005


38 files selected to be restored.

Client "HTTLAS38Client" not found.
The defined Client resources are:
     1: bacula-fd
     2: htpwfs94-fd
Select Client (File daemon) resource (1-2): 2
Run Restore job
JobName:    RestoreFiles
Bootstrap:  /var/lib/bacula/bacula-dir.1.restore.bsr
Where:      D:bacula
Replace:    always
FileSet:    Full Set
Client:     htpwfs94-fd
Storage:    htpwfs94-sd
When:       2007-01-29 14:38:08
Catalog:    MyCatalog
Priority:   10
OK to run? (yes/mod/no): yes
Job started. JobId=302
*status
Status available for:
     1: Director
     2: Storage
     3: Client
     4: All
Select daemon type for status (1-4): 2
The defined Storage resources are:
     1: File
     2: htpwfs94-sd
Select Storage resource (1-2): 2
Connecting to Storage daemon htpwfs94-sd at htpwfs94.petris.com:9103

htpwfs94-sd Version: 2.0.1 (12 January 2007) Linux Cross-compile Win32
Daemon started 29-Jan-07 14:24, 1 Job run since started.
 Heap: bytes=16,841 max_bytes=78,953 bufs=67 max_bufs=73

Running Jobs:
No Jobs running.
====

Jobs waiting to reserve a drive:
====

Terminated Jobs:
 JobId  Level    Files      Bytes   Status   Finished        Name 
===================================================================
   302                0         0   Error    29-Jan-07 14:49 RestoreFiles
====

Device status:
Device "FileStorage" (D:\bacula) is not open.
====

In Use Volume status:
====

You have messages.
*messages
29-Jan 14:38 bacula-dir: Start Restore Job RestoreFiles.2007-01-29_14.38.09
29-Jan 14:49 htpwfs94-sd: Failed command: 
29-Jan 14:49 htpwfs94-sd: RestoreFiles.2007-01-29_14.38.09 Fatal error: 
     Device "File Storage" with MediaType "File" requested by DIR not found in SD Device resources.
29-Jan 14:38 bacula-dir: RestoreFiles.2007-01-29_14.38.09 Fatal error: 
     Storage daemon didn't accept Device "FileStorage" because:
     3924 Device "File Storage" not in SD Device resources.
29-Jan 14:38 bacula-dir: RestoreFiles.2007-01-29_14.38.09 Error: Bacula 1.38.11 (28Jun06): 29-Jan-2007 14:38:12
  JobId:                  302
  Job:                    RestoreFiles.2007-01-29_14.38.09
  Client:                 htpwfs94-fd
  Start time:             29-Jan-2007 14:38:11
  End time:               29-Jan-2007 14:38:12
  Files Expected:         38
  Files Restored:         0
  Bytes Restored:         0
  Rate:                   0.0 KB/s
  FD Errors:              0
  FD termination status:  
  SD termination status:  
  Termination:            *** Restore Error ***

29-Jan 14:38 bacula-dir: RestoreFiles.2007-01-29_14.38.09 Error: Bacula 1.38.11 (28Jun06): 29-Jan-2007 14:38:12
  JobId:                  302
  Job:                    RestoreFiles.2007-01-29_14.38.09
  Client:                 htpwfs94-fd
  Start time:             29-Jan-2007 14:38:11
  End time:               29-Jan-2007 14:38:12
  Files Expected:         38
  Files Restored:         0
  Bytes Restored:         0
  Rate:                   0.0 KB/s
  FD Errors:              1
  FD termination status:  
  SD termination status:  
  Termination:            *** Restore Error ***