Hello all,

I have not been able to resolve this. 
I did find one email in the archives about giving the two storage areas each 
their own media type, which I have done now.

I found nothing related in the bug list for the SD

And no references to this error message in the manual or anywhere else.
I checked the Bacula DB and the entries in the tables for the actual jobs 
contain the correct ID's and everything looks OK here - just like all the 
other jobs and clients.

The error message is:

02-May 12:02 adm-backup-sd: RestoreFiles.2006-05-02_12.02.49 Fatal error: No 
Volume names found for restore.

Bacula 1.38.0 running on 64-bit Mandriva Linux 2006

All other clients seem to not have this problem at all.

Following are extracts from bacula-dir.conf with stuff relating to the client 
that does give the error called samba and another client as an example that 
works just fine, and bacula-sd.conf

Does the SD get its volume names from the director or directly from the 
catalog?

thanks for any input

########################################## Header Comments 
###########################
# Default Bacula Director Configuration file
#
#  The only thing that MUST be changed is to add one or more
#   file or directory names in the Include directive of the
#   FileSet resource.
#
#  For Bacula release 1.38.0 (28 October 2005) -- mandrake for
#
#  You might also want to change the default email address
#   from root to your address.  See the "mail" and "operator"
#   directives in the Messages resource.
#
#
########################################## Director Name 
##########################

Director {                            # define myself
  Name = adm-backup-dir
  DIRport = 9101                # where we listen for UA connections
  QueryFile = "/etc/bacula/query.sql"
  WorkingDirectory = "/var/bacula"
  PidDirectory = "/var/run"
  Maximum Concurrent Jobs = 1
  Password = ""         # Console password
  Messages = Daemon
}

########################################## Job Defaults 
########################### 

JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  Client = adm-backup-fd 
  FileSet = "Windows-E"
  Schedule = "MonthlyCycle"
  Pool = Full
  Incremental Backup Pool = Default
  Differential Backup Pool = Differential
  Storage = File
  Messages = Standard
  Priority = 10
}

JobDefs {
  Name = "ArchiveJob"
  Type = Backup
  Level = Incremental
  Client = adm-backup-fd 
  FileSet = "Windows-E"
  Schedule = "ArchiveCycle"
  Pool = Archive
  Incremental Backup Pool = Monthly
  Differential Backup Pool = Monthly
  Storage = Archive
  Messages = Standard
  Priority = 10
}

########################################## Job definitions 
##########################

# Define the main nightly save backup job
#   By default, this job will back up to disk in /tmp

Job {
  Name = "adm-backup"
  JobDefs = "ArchiveJob"
  FileSet = "Linux Full Set"
  Write Bootstrap = "/var/bacula/adm-backup.bsr"
}

Job {
  Name = "Notap01"
  Client = notap01-fd
  JobDefs = "DefaultJob"
  FileSet = "Notap01"
  Schedule = "DominoCycle"
  Pool = Database
  Full Backup Pool = Database
  Differential Backup Pool = Db-diff
  Write Bootstrap = "/var/bacula/notap01.bsr"
}


Job {
  Name = "samba"
  Client = samba-fd
  JobDefs = "DefaultJob"
  FileSet = "Samba"
  Pool = Samba
  Full Backup Pool = Samba
  Write Bootstrap = "/var/bacula/samba.bsr"
}


############### Standard jobs ##############


#
# Standard Restore template, to be changed by Console program
#  Only one such job is needed for all Jobs/Clients/Storage ...
#
Job {
  Name = "RestoreFiles"
  Type = Restore
  Client=adm-backup-fd
  FileSet = Share
  Storage = File
  Pool = Default
  Messages = Standard
  Where = /var/tmp/bacula/bacula-restores
}

Job {
  Name = "RestoreSamba"
  Type = Restore
  Client = samba-fd
  FileSet = Samba
  Storage = File
  Pool = Samba
  Messages = Standard
  Where = /var/tmp/bacula/bacula-restores
}

###################################### Schedule definitions 
#########################

#
# When to do the backups, full backup on first sunday of the month,
#  differential (i.e. incremental since full) every other sunday,
#  and incremental backups other days

Schedule {
  Name = "MonthlyCycle"
  Run = Full 1st sun at 23:05
  Run = Differential 2nd-5th sun at 23:05
  Run = Incremental mon-sat at 23:05
}

Schedule {
  Name = "DominoCycle"
  Run = Full 2nd sun at 13:05
  Run = Differential mon-sat at 1:05
}

Schedule {
  Name = "ArchiveCycle"
  Run = Differential 1st sat at 10:05
  Run = Incremental 2nd-5th sat at 10:05
}


# This schedule does the catalog. It starts after the MonthlyCycle
Schedule {
  Name = "WeeklyCycleAfterBackup"
  Run = Full sun-sat at 1:10
}

# This is the backup of the catalog
FileSet {
  Name = "Catalog"
  Include {
    Options {
      signature = MD5
    }
    File = /var/bacula/bacula.sql
  }
}


####################################### Client definitions 
##########################

Client {
  Name = adm-backup-fd
  Address = adm-backup
  FDPort = 9102
  Catalog = MyCatalog
  Password = ""
  File Retention = 30 days
  Job Retention = 6 months
  AutoPrune = yes
}



Client {
  Name = notap01-fd
  Address = notap01.ibsen.dk
  FDPort = 9102
  Catalog = MyCatalog
  Password = "
  File Retention = 6 months
  Job Retention = 6 months
  AutoPrune = yes
}


Client {
  Name = samba-fd
  Address = samba.ibsen.dk
  FDPort = 9102
  Catalog = MyCatalog
  Password = ""
  File Retention = 30 days
  Job Retention = 6 months
  AutoPrune = yes
}


################################### Pool definitions 
##########################

    
# Default pool definition
Pool {
  Name = Default
  LabelFormat = "Def"
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 8 days 
  Volume Use Duration = 12 hours
  Accept Any Volume = yes
  Recycle Oldest Volume = yes
  Maximum Volume Bytes = 2 gb
}


Pool {
  Name = Archive
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle 
Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 14 months         # one year
  Accept Any Volume = yes             # write on any volume in the pool
  Recycle Oldest Volume = yes
  Maximum Volume Bytes = 2 gb
  Volume Use Duration = 3 months
  LabelFormat = "Arch-"
}


Pool {
  Name = Full
  LabelFormat = "Full-"
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 6 months
  Volume Use Duration = 3 weeks
  Accept Any Volume = yes
  Recycle Oldest Volume = yes
  Maximum Volume Bytes = 2 gb
}


Pool {
  Name = Database
  LabelFormat = "Datab-"
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 4 months
  Volume Use Duration = 3 weeks
  Accept Any Volume = yes
  Recycle Oldest Volume = yes
  Maximum Volume Bytes = 2 gb
}


Pool {
  Name = Samba
  LabelFormat = "Samba-"
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 6 months
  Volume Use Duration = 3 weeks
  Accept Any Volume = yes
  Recycle Oldest Volume = yes
  Maximum Volume Bytes = 2 gb
}


Pool {
  Name = Kaleido
  LabelFormat = "Kaleido-"
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 6 months
  Volume Use Duration = 3 weeks
  Accept Any Volume = yes
  Recycle Oldest Volume = yes
  Maximum Volume Bytes = 2 gb
}


Pool {
  Name = Monthly
  LabelFormat = "Month-"
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 40 days 
  Volume Use Duration = 5 days
  Accept Any Volume = yes
  Recycle Oldest Volume = yes
  Maximum Volume Bytes = 2 gb
}


Pool {
  Name = Differential
  LabelFormat = "Diff-"
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 40 days 
  Volume Use Duration = 5 days
  Accept Any Volume = yes
  Recycle Oldest Volume = yes
  Maximum Volume Bytes = 2 gb
}


Pool {
  Name = Db-diff
  LabelFormat = "Db-diff-"
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 4 days 
  Volume Use Duration = 12 hours
  Accept Any Volume = yes
  Recycle Oldest Volume = yes
  Maximum Volume Bytes = 2 gb
}






SD.Conf:

Storage {                             # definition of myself
  Name = adm-backup-sd
  SDPort = 9103                  # Director's port      
  WorkingDirectory = "/var/bacula"
  Pid Directory = "/var/run"
  Maximum Concurrent Jobs = 20
}

#
# List Directors who are permitted to contact Storage daemon
#
Director {
  Name = adm-backup-dir
  Password = 
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the storage daemon
#
Director {
  Name = adm-backup-mon
  Password = "QvHj2R7DgK0va83QBzm18dSMnoosnQC6EArwh9nc1U1a"
  Monitor = yes
}

#
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
#  same Name and MediaType. 
#

Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /home/bckp/data/ibsen
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

Device {
  Name = ArchiveStorage
  Media Type = Archive
  Archive Device = /home/bckp/data/archive
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

-- 
Regards

Steen


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to