X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fstored%2Fbacula-sd.conf.in;h=434c431992c46e67c1fc9011cd806933d9b87569;hb=6fc016ea3c4f5698462494319733199e2de9a9af;hp=6db6582f7b76f6005230c9ffce9c9175f758b9d2;hpb=2643cdaa7a761d6d9ff906f26794d781c01c017d;p=bacula%2Fbacula diff --git a/bacula/src/stored/bacula-sd.conf.in b/bacula/src/stored/bacula-sd.conf.in index 6db6582f7b..434c431992 100644 --- a/bacula/src/stored/bacula-sd.conf.in +++ b/bacula/src/stored/bacula-sd.conf.in @@ -15,6 +15,7 @@ Storage { # definition of myself SDPort = @sd_port@ # Director's port WorkingDirectory = "@working_dir@" Pid Directory = "@piddir@" + Maximum Concurrent Jobs = 20 } # @@ -25,6 +26,16 @@ Director { Password = "@sd_password@" } +# +# Restricted Director, used by tray-monitor to get the +# status of the storage daemon +# +Director { + Name = @hostname@-mon + Password = "@mon_sd_password@" + Monitor = yes +} + # # Devices supported by this Storage daemon # To connect, the Director's bacula-dir.conf must have the @@ -35,39 +46,102 @@ Device { Name = FileStorage Media Type = File Archive Device = /tmp - LabelMedia = yes; # lets Bacula label unlabelled media + LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } +# +# A Linux or Solaris tape drive +# #Device { -# Name = "HP DLT 80" -# Media Type = DLT8000 +# Name = DDS-4 # +# Media Type = DDS-4 # Archive Device = @TAPEDRIVE@ # AutomaticMount = yes; # when device opened, read it # AlwaysOpen = yes; # RemovableMedia = yes; +# RandomAccess = no; +## Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d" +## Changer Device = /dev/sg0 +## AutoChanger = yes +## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" #} +# +# A FreeBSD tape drive +# #Device { -# Name = SDT-7000 # -# Media Type = DDS-2 -# Archive Device = @TAPEDRIVE@ +# Name = DDS-4 +# Description = "DDS-4 for FreeBSD" +# Media Type = DDS-4 +# Archive Device = /dev/nsa1 # AutomaticMount = yes; # when device opened, read it -# AlwaysOpen = yes; -# RemovableMedia = yes; +# AlwaysOpen = yes +# Offline On Unmount = no +# Hardware End of Medium = no +# BSF at EOM = yes +# Backward Space Record = no +# Fast Forward Space File = no +# TWO EOF = yes #} +# +# A OnStream tape drive. +# You need the kernel osst driver 0.9.14 or later, and +# do "mt -f /dev/nosst0 defblksize 32768" once as root. +# #Device { -# Name = Floppy -# Media Type = Floppy -# Archive Device = /mnt/floppy -# RemovableMedia = yes; +# Name = OnStream +# Description = "OnStream drive on Linux" +# Media Type = OnStream +# Archive Device = @TAPEDRIVE@ +# AutomaticMount = yes; # when device opened, read it +# AlwaysOpen = yes +# Offline On Unmount = no +## The min/max blocksizes of 32768 are *required* +# Minimum Block Size = 32768 +# Maximum Block Size = 32768 +#} + +# +# A DVD device +# +#Device { +# Name = "NEC ND-1300A" +# Media Type = DVD +# Archive Device = /dev/hdc +# LabelMedia = yes; # lets Bacula label unlabeled media # Random Access = Yes; # AutomaticMount = yes; # when device opened, read it +# RemovableMedia = yes; # AlwaysOpen = no; +# MaximumPartSize = 800M; +# RequiresMount = yes; +# MountPoint = /mnt/cdrom; +# MountCommand = "/bin/mount -t iso9660 -o ro %a %m"; +# UnmountCommand = "/bin/umount %m"; +# SpoolDirectory = /tmp/backup; +# WritePartCommand = "/etc/bacula/dvd-writepart %n %a %v" +# FreeSpaceCommand = "/etc/bacula/dvd-freespace %a %n" +#} + +# +# For OpenBSD OS >= 3.6 +# +#Device { +# Name = DDS-3 +# Media Type = DDS-3 +# Archive Device = /dev/nrst0 +# Use MTIOCGET= no +# BSF at EOM = yes +# TWO EOF = no +# AutomaticMount = yes; +# AlwaysOpen = yes; +# RemovableMedia = yes; +# RandomAccess = no; #} # @@ -81,6 +155,7 @@ Device { # AutomaticMount = yes; # when device opened, read it # AlwaysOpen = Yes; # RemovableMedia = yes; +# RandomAccess = no; #} #