Hi,

 

We use bacula in our company for all server backups.   The backup portion is
working just fine no errors on backing up (connects good to the SD).
However, when I am doing a test restore I get the following error.  I think
it is strange that it can connect to the SD for backups, but not for
restores.  It give the same error on doing restores to different servers.

 

The Director and SD are on the same box.  I have iptables turned off,
hosts.allow is All:All.  Also have the max connects for dir is 100 and Max
connections for SD is 100.  It is not that busy of a backup server, this
should be the only thing going on.  The authentication password is the same
for everything, I have changed the password in the configs I have provided
below for security reason; however, if the passwords work for backing it up
to the storage shouldn't it work for restoring from the storage?  I have
also restarted all the bacula daemons and have rebooted the server.  Please
let me know if I need to provide more files and information.

 

  _____  

Version: 1.38.11 (28 June 2006)

 

Job started. JobId=2562

*messages

21-Apr 14:06 nas1-dir: Start Restore Job FILE-Restore.2010-04-21_14.06.26

21-Apr 14:06 nas1-dir: FILE-Restore.2010-04-21_14.06.26 Fatal error:
authenticate.c:99 Director unable to authenticate with Storage daemon.
Possible causes:

Passwords or names not the same or

Maximum Concurrent Jobs exceeded on the SD or

SD networking messed up (restart daemon).

Please see http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors for
help.

21-Apr 14:06 nas1-dir: FILE-Restore.2010-04-21_14.06.26 Error: Bacula
1.38.11 (28Jun06): 21-Apr-2010 14:06:34

  _____  

Bacula-dir.conf

Director {                            

  Name = nas1-dir

  DIRport = 9101                

  QueryFile = "/etc/bacula/scripts/query.sql"

  WorkingDirectory = "/var/lib/bacula"

  PidDirectory = "/var/run/bacula"

  Maximum Concurrent Jobs = 100

  Password = "somepassword"         

  Messages = Daemon

}

Job {

  Name = "FILE-Backup"

  Type = Backup

  Client = file-fd

  FileSet = "FILE-FileSet"

  Schedule = "FileServers-Schedule"

  Storage = "FileServers-Storage"

  Pool = "FileServers-Pool"

  Messages = Standard

}

Job {

  Name = "FILE-Restore"

  Type = Restore

  Client = file-fd

  FileSet = "FILE-FileSet"

  Storage = "FileServers-Storage"

  Pool = "FileServers-Pool"

  Messages = Standard

  Where = /var/tmp

}

Client {

  Name = file-fd

  Address = mylocal.domain.com

  FDPort = 9102

  Catalog = Catalog

  Password = "somepassword"

  File Retention = 30 days

  Job Retention = 30 days

  AutoPrune = yes

}

Storage {

  Name = FileServers-Storage

  Address = 172.xxx.xxx.xxx (where xxx is the ip of my server)

  SDPort = 9103

  Password = "somepassword"

  Device = FileServers-Storage-Device

  Media Type = File

}

Pool {

  Name = FileServers-Pool

  Pool Type = Backup

  LabelFormat = "FileServers_Vol_"

  Recycle = Yes

  AutoPrune = Yes

  Volume Retention = 30 days

  Volume Use Duration = 23h

  Accept Any Volume = Yes

  Recycle Oldest Volume = Yes

}

  _____  

Bacula-sd.conf

Storage {                             # definition of myself

  Name = nas1-sd

  SDPort = 9103                  # Director's port

  WorkingDirectory = "/var/lib/bacula"

  Pid Directory = "/var/run/bacula"

  Maximum Concurrent Jobs = 100

}

Director {

  Name = nas1-dir

  Password = "somepassword"

Device {

  Name = FileServers-Storage-Device

  Media Type = File

  Archive Device = /data/fileservers

  LabelMedia = Yes

  Random Access = Yes

  AutomaticMount = Yes

  RemovableMedia = No

  AlwaysOpen = No

}

  _____  

 

Thank You,

Mark

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to