Greetings!

     I am still completely unable to have hald automatically mount my two
USB external hard drives to a specific directory, rather than the
"usbdisk" it creates in /media for whichever one is turned on.

     But, now I have accidentally deleted a file (/vmware/Windows
98/Windows 98.vmx), and I am trying to restore just this file.

     In gnome-console, I choose restore.  I then select 5 (Select the most
recent backup for a client).  I then select 2 (Full Set).

     (I'm having it select from the following two files: /media/usbdisk/
           Full-2005-12-3-1-5-5
           Diff-2005-12-31-1-5-5)

     It builds directory trees, and then it puts me in file selection
mode.  I cd into "vmware/Windows\ 98" and mark the file "Windows\ 98.vmx"
and the dir command shows an asterisk next to it, and it says 1 file
marked.

     I type "done" and then I select 1 (RestoreFiles).  It then gives me
the following:

Run Restore job
JobName:    RestoreFiles
Bootstrap:  /var/bacula/working/restore.bsr
Where:      /tmp/bacula-restores
Replace:    always
FileSet:    Full Set
Client:     barrycon-fd
Storage:    Files
When:       2006-01-02 16:45:47
Catalog:    barryconCatalog
Priority:   10
OK to run? (yes/mod/no):

     ...and I select yes, and it starts the job.

     I then get an error saying:

02-Jan 16:46 barrycon-dir: Start Restore Job RestoreFiles.2006-01-02_16.46.18
02-Jan 16:46 barrycon-sd: RestoreFiles.2006-01-02_16.46.18 Fatal error: 
     Archive "USBSimpleTech400GB" requested by DIR could not be opened or does 
not exist.
02-Jan 16:46 barrycon-dir: RestoreFiles.2006-01-02_16.46.18 Fatal error: 
     Storage daemon didn't accept Device "USBSimpleTech400GB" because:
     3925 Device "USBSimpleTech400GB" could not be opened or does not exist.
02-Jan 16:46 barrycon-dir: RestoreFiles.2006-01-02_16.46.18 Error: Bacula 
1.36.3 (22Apr05): 02-Jan-2006 16:46:21
  JobId:                  54
  Job:                    RestoreFiles.2006-01-02_16.46.18
  Client:                 barrycon-fd
  Start time:             02-Jan-2006 16:46:20
  End time:               02-Jan-2006 16:46:21
  Files Expected:         1
  Files Restored:         0
  Bytes Restored:         0
  Rate:                   0.0 KB/s
  FD Errors:              0
  FD termination status:  
  SD termination status:  
  Termination:            *** Restore Error ***

     ...it can't find USBSimpleTech400GB.

     I'm not sure where it's getting this.  I (was thinking that I) tested
this, back around October, when I first started using bacula.  I did
successfully restore.  (Though, come to think of it, it was a *complete*
restore, of a very small [around 20 files] backup.)  My bacula.dir.conf
(an excerpt) shows:

# Definiton of file storage device
Storage {
  Name = Files
# Do not use "localhost" here
  Address = barrycon.cfl.rr.com          # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "uM9GkDbpOss0lHv/iRIsze3JKnfOVmI5Ka0dV8ebUi18"
  Device = USB SimpleTech 400GB external hard drive
  Media Type = File
}

# Standard Restore template, to be changed by Console program
Job {
  Name = "RestoreFiles"
  Type = Restore
  Client=barrycon-fd
  FileSet="Full Set"
  Storage = Files
  Pool = Default
  Messages = Standard
  Where = /tmp/bacula-restores
}

     And the bacula-sd.conf (an excerpt) shows:

Device {
  Name = USB SimpleTech 400GB external hard drive
  Media Type = File
  Archive Device = /media/usbdisk
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = no;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

     (I'm planning on this drive being /media/simpletech if and when I can
get the system to automatically mount the USB drive to /media/simpletech,
but I have not been successful at this.  So, it is currently mounting it
as /media/usbdisk.  This shouldn't matter, for the restore.)

     What (probably obvious) thing am I overlooking?

     Thank you!

     Barry


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to