Ok, I’ve done some reconfiguring. Will paste my new configuration files below as well as bconsole output from show pools, list volumes, status storage and querying volumes per job. I am running 4 concurrent jobs to the same pool and the writes are still
interleaving data to the same volume.
I stopped and started bacula-sd, dir and fd, ran update slots scan before kicking off these jobs. Status storage shows the new device names and things are working, aside from the single tape being written to by all 4 jobs.
Still not sure where I’m going wrong with bacula and writing to multiple volumes at the same time from the same pool. Currently the only way I’ve achieved this with mixed results, i.e. success and failures, is with ‘prefer mounted volumes = no.
:\
############# BEGIN BACULA-SD.CONF ############
SEA-12176-MAC:backup02_bacula jkelley$ cat bacula-sd.conf
#
# Default Bacula Storage Daemon Configuration file
#
# For Bacula release 3.0.1 (30 April 2009) -- debian 5.0.1
#
# You may need to change the name of your tape drive
# on the "Archive Device" directive in the Device
# resource. If you change the Name and/or the
# "Media Type" in the Device resource, please ensure
# that dird.conf has corresponding changes.
#
Storage { # definition of myself
Name = backup02-sd
SDPort = 9103 # Director's port
WorkingDirectory = "/etc/bacula/working"
Pid Directory = "/var/run/bacula"
Maximum Concurrent Jobs = 20
}
# List Directors who are permitted to contact Storage daemon
#
Director {
Name = backup02-dir
Password = password
}
## Restricted Director, used by tray-monitor to get the
# status of the storage daemon
##
Director {
Name = backup02-mon
Password = password
Monitor = yes
}
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
# same Name and MediaType.
#
Autochanger {
Name = Autochanger
Device = Drive0, Drive1, Drive2, Drive3, Drive4, Drive5, Drive6, Drive7, Drive8, Drive9
Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
Changer Device = /dev/sg12
}
Device {
Name = Drive0
Drive Index = 0
Media Type = LTO
Archive Device = /dev/tape/by-path/ip-IPiscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-01-lun-0-nst
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
LabelMedia = no;
AutoChanger = yes
# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
SpoolDirectory = /etc/bacula/spool
Maximum Concurrent Jobs = 20
}
Device {
Name = Drive1
Drive Index = 1
Media Type = LTO
Archive Device = /dev/tape/by-path/ip-IPiscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-02-lun-0-nst
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
LabelMedia = no;
AutoChanger = yes
# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
SpoolDirectory = /etc/bacula/spool
Maximum Concurrent Jobs = 20
}
Device {
Name = Drive2
Drive Index = 2
Media Type = LTO
Archive Device = /dev/tape/by-path/ip-IPiscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-03-lun-0-nst
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
LabelMedia = no;
AutoChanger = yes
# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
SpoolDirectory = /etc/bacula/spool
Maximum Concurrent Jobs = 20
}
Device {
Name = Drive3
Drive Index = 3
Media Type = LTO
Archive Device = /dev/tape/by-path/ip-IPiscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-04-lun-0-nst
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
LabelMedia = no;
AutoChanger = yes
# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
SpoolDirectory = /etc/bacula/spool
Maximum Concurrent Jobs = 20
}
Device {
Name = Drive4
Drive Index = 4
Media Type = LTO
Archive Device = /dev/tape/by-path/ip-IPiscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-05-lun-0-nst
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
LabelMedia = no;
AutoChanger = yes
# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
SpoolDirectory = /etc/bacula/spool
Maximum Concurrent Jobs = 20
}
Device {
Name = Drive5
Drive Index = 5
Media Type = LTO
Archive Device = /dev/tape/by-path/ip-IPiscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-06-lun-0-nst
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
LabelMedia = no;
AutoChanger = yes
# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
SpoolDirectory = /etc/bacula/spool
Maximum Concurrent Jobs = 20
}
Device {
Name = Drive6
Drive Index = 6
Media Type = LTO
Archive Device = /dev/tape/by-path/ip-IPiscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-07-lun-0-nst
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
LabelMedia = no;
AutoChanger = yes
# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
SpoolDirectory = /etc/bacula/spool
Maximum Concurrent Jobs = 20
}
Device {
Name = Drive7
Drive Index = 7
Media Type = LTO
Archive Device = /dev/tape/by-path/ip-IPiscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-08-lun-0-nst
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
LabelMedia = no;
AutoChanger = yes
# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
SpoolDirectory = /etc/bacula/spool
Maximum Concurrent Jobs = 20
}
Device {
Name = Drive8
Drive Index = 8
Media Type = LTO
Archive Device = /dev/tape/by-path/ip-IPiscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-09-lun-0-nst
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
LabelMedia = no;
AutoChanger = yes
# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
SpoolDirectory = /etc/bacula/spool
Maximum Concurrent Jobs = 20
}
Device {
Name = Drive9
Drive Index = 9
Media Type = LTO
Archive Device = /dev/tape/by-path/ip-IPiscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-10-lun-0-nst
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
LabelMedia = no;
AutoChanger = yes
# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
SpoolDirectory = /etc/bacula/spool
Maximum Concurrent Jobs = 20
}
# Send all messages except skipped files back to Director
Messages {
Name = Standard
director = backup02-dir = all, !skipped, !restored
}
####### END SD.CONF #####
###### BEGIN DIR.CONF ####
# 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 3.0.1 (30 April 2009) -- debian 5.0.1
#
# 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.
#
###
### Source other config files
###
@/etc/bacula/clients.conf
@/etc/bacula/jobs.conf
###
### Basic director configuration
###
Director { # define myself
Name = backup-dir
DIRport = 9101 # where we listen for UA connections
QueryFile = "/etc/bacula/query.sql"
WorkingDirectory = "/etc/bacula/working"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 20
# Password = password
Password = password
Messages = Daemon
DIRAddress = localhost
}
###
### Storage
###
# Storage device for tape
Storage {
Name = Autochanger
Address = backup. # N.B. Use a fully qualified name here, not localhost
SDPort = 9103
Password = password
Device = Autochanger
Media Type = LTO
Autochanger = yes # enable for autochanger device
Maximum Concurrent Jobs = 20
}
#Storage {
###
###
### Storage pools
###
# Default storage pool
Pool {
Name = Default
Pool Type = Backup
Storage = Autochanger
Recycle = no # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # one year
Maximum Volume Bytes = 2500G
}
###
# social service storage pool
Pool {
Name = svc
Pool Type = Backup
Storage = Autochanger
Recycle = no # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # one year
Maximum Volume Bytes = 2500G
}
# database service storage pool
Pool {
Name = database
Pool Type = Backup
Storage = Autochanger
Recycle = no # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # one year
Maximum Volume Bytes = 2500G
}
###
### Backup catalog
###
# Generic catalog service
Catalog {
Name = MyCatalog
# Uncomment the following line if you want the dbi driver
# dbdriver = "dbi:mysql"; dbaddress = 127.0.0.1; dbport =
dbname = "bacula"; dbuser = ""; dbpassword = "password"
}
###
### Logging
###
# Reasonable message delivery -- send most everything to email address
# and to the console
Messages {
Name = Standard
#
# NOTE! If you send to two email or more email addresses, you will need
# to replace the %r in the from field (-f part) with a single valid
# email address in both the mailcommand and the operatorcommand.
# What this does is, it sets the email address that emails would display
# in the FROM field, which is by default the same email as they're being
# sent to. However, if you send email to more than one address, then
# you'll have to set the FROM address manually, to a single address.
# for example, a 'no-reply AT mydomain DOT com', is better since that tends to
# tell (most) people that its coming from an automated source.
#
mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: Intervention needed for %j\" %r"
mail on error = whodat AT wedat DOT com = all, !skipped
operator = whodat AT wedat DOT com= mount
console = all, !skipped, !saved
#
# WARNING! the following will create a file that you must cycle from
# time to time as it will grow indefinitely. However, it will
# also keep all your messages if they scroll off the console.
#
append = "/etc/bacula/working/log" = all, !skipped
catalog = all, !skipped, !saved
}
#
# Message delivery for daemon messages (no job).
Messages {
Name = Daemon
mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula daemon message\" %r"
mail = @localhost = all, !skipped
console = all, !skipped, !saved
append = "/etc/bacula/working/log" = all, !skipped
}
###
### Console
###
# Restricted console used by tray-monitor to get the status of the director
Console {
Name = backup-mon
Password = password
CommandACL = status, .status
}
###### END DIR.CONF ####
#### SHOW POOLS OUTPUT ####
Pool: name=Default PoolType=Backup
use_cat=1 use_once=0 cat_files=1
max_vols=0 auto_prune=1 VolRetention=1 year
VolUse=0 secs recycle=0 LabelFormat=*None*
CleaningPrefix=*None* LabelType=0
RecyleOldest=0 PurgeOldest=0 ActionOnPurge=0
MaxVolJobs=0 MaxVolFiles=0 MaxVolBytes=2684354560000
MigTime=0 secs MigHiBytes=0 MigLoBytes=0
JobRetention=0 secs FileRetention=0 secs
--> Storage: name=Autochanger address=backup02.wes.popcap.com SDport=9103 MaxJobs=20
DeviceName=Autochanger MediaType=LTO StorageId=13
Pool: name=svc PoolType=Backup
use_cat=1 use_once=0 cat_files=1
max_vols=0 auto_prune=1 VolRetention=1 year
VolUse=0 secs recycle=0 LabelFormat=*None*
CleaningPrefix=*None* LabelType=0
RecyleOldest=0 PurgeOldest=0 ActionOnPurge=0
MaxVolJobs=0 MaxVolFiles=0 MaxVolBytes=2684354560000
MigTime=0 secs MigHiBytes=0 MigLoBytes=0
JobRetention=0 secs FileRetention=0 secs
--> Storage: name=Autochanger address=backup02.wes.popcap.com SDport=9103 MaxJobs=20
DeviceName=Autochanger MediaType=LTO StorageId=13
Pool: name=database PoolType=Backup
use_cat=1 use_once=0 cat_files=1
max_vols=0 auto_prune=1 VolRetention=1 year
VolUse=0 secs recycle=0 LabelFormat=*None*
CleaningPrefix=*None* LabelType=0
RecyleOldest=0 PurgeOldest=0 ActionOnPurge=0
MaxVolJobs=0 MaxVolFiles=0 MaxVolBytes=2684354560000
MigTime=0 secs MigHiBytes=0 MigLoBytes=0
JobRetention=0 secs FileRetention=0 secs
--> Storage: name=Autochanger address=backup02.wes.popcap.com SDport=9103 MaxJobs=20
DeviceName=Autochanger MediaType=LTO StorageId=13
#### OUTPUT FROM QUERY option 15 #####
15: List Volumes Bacula thinks are in changer
16: List Volumes likely to need replacement from age or errors
Choose a query (1-16): 15
+---------+------------+-------------+-------------+------+----------+-----------+-----------+
| MediaId | VolumeName | GB | Storage | Slot | Pool | MediaType | VolStatus |
+---------+------------+-------------+-------------+------+----------+-----------+-----------+
| 19 | AAAACE5F6B | 255.5893 | Autochanger | 1 | svc | LTO | Append |
| 26 | AAAACC5F69 | 1657.5554 | Autochanger | 2 | svc | LTO | Append |
| 20 | AAAACF5F6A | 1509.3844 | Autochanger | 3 | database | LTO | Append |
| 25 | AAAAD45F71 | 7.1532 | Autochanger | 4 | database | LTO | Append |
| 22 | AAAAD55F70 | 900.0329 | Autochanger | 5 | database | LTO | Append |
| 21 | AAAAC95F6C | 129.9827 | Autochanger | 6 | database | LTO | Append |
| 24 | AAAACB5F6E | 32.4151 | Autochanger | 7 | Default | LTO | Append |
| 28 | AAAB3B609E | 329.3842 | Autochanger | 8 | Default | LTO | Append |
| 23 | AAAACA5F6F | 1602.8880 | Autochanger | 9 | Default | LTO | Append |
| 27 | AAAACD5F68 | 15.8603 | Autochanger | 10 | Default | LTO | Append |
| 18 | AAAAC85F6D | 683.2106 | Autochanger | 11 | Default | LTO | Full |
+---------+------------+-------------+-------------+------+----------+-----------+—————+
###### OUT PUT FROM STATUS STORAGE #####
*status storage
Automatically selected Storage: Autochanger
Connecting to Storage daemon Autochanger at backup02.wes.popcap.com:9103
backup02-sd Version: 5.2.6 (21 February 2012) x86_64-pc-linux-gnu ubuntu 14.04
Daemon started 20-Nov-14 20:53. Jobs: run=4, running=0.
Heap: heap=270,336 smbytes=361,672 max_bytes=665,104 bufs=248 max_bufs=325
Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0
Running Jobs:
No Jobs running.
====
Jobs waiting to reserve a drive:
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
===================================================================
950 Diff 2 14.14 G OK 20-Nov-14 10:39 shopdb3-02:database
948 Diff 2 29.38 G OK 20-Nov-14 11:12 pushdb1-02:database
946 Diff 1 31.01 G OK 20-Nov-14 11:28 ecommdb1-02:database
959 Diff 202 27.32 G OK 20-Nov-14 12:41 svc4
960 Full 3,205 137.3 G OK 20-Nov-14 19:01 svc5
966 Diff 1 1.321 G Cancel 20-Nov-14 20:46 labsdb3-02:database
970 Diff 1 3.567 G OK 20-Nov-14 21:20 labsdb3-02:database
971 Diff 3 4.529 G OK 20-Nov-14 21:25 labsdb4-02:database
972 Diff 1 5.152 G OK 20-Nov-14 21:26 labsdb5-01:database
973 Diff 1 5.508 G OK 20-Nov-14 21:26 labsdb6-02:database
====
Device status:
Autochanger "Autochanger" with devices:
"Drive0" (/dev/tape/by-path/ip-10.5.66.22:3260-iscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-01-lun-0-nst)
"Drive1" (/dev/tape/by-path/ip-10.5.66.22:3260-iscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-02-lun-0-nst)
"Drive2" (/dev/tape/by-path/ip-10.5.66.22:3260-iscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-03-lun-0-nst)
"Drive3" (/dev/tape/by-path/ip-10.5.66.22:3260-iscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-04-lun-0-nst)
"Drive4" (/dev/tape/by-path/ip-10.5.66.22:3260-iscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-05-lun-0-nst)
"Drive5" (/dev/tape/by-path/ip-10.5.66.22:3260-iscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-06-lun-0-nst)
"Drive6" (/dev/tape/by-path/ip-10.5.66.22:3260-iscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-07-lun-0-nst)
"Drive7" (/dev/tape/by-path/ip-10.5.66.22:3260-iscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-08-lun-0-nst)
"Drive8" (/dev/tape/by-path/ip-10.5.66.22:3260-iscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-09-lun-0-nst)
"Drive9" (/dev/tape/by-path/ip-10.5.66.22:3260-iscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-10-lun-0-nst)
Device "Drive0" (/dev/tape/by-path/ip-10.5.66.22:3260-iscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-01-lun-0-nst) is mounted with:
Volume: AAAACF5F6A
Pool: database
Media type: LTO
Slot 3 is loaded in drive 0.
Total Bytes=1,621,836,840,960 Blocks=290,988 Bytes/block=5,573,552
Positioned at File=1,662 Block=0
Device "Drive1" (/dev/tape/by-path/ip-10.5.66.22:3260-iscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-02-lun-0-nst) is not open.
Drive 1 is not loaded.
Device "Drive2" (/dev/tape/by-path/ip-10.5.66.22:3260-iscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-03-lun-0-nst) is not open.
Drive 2 is not loaded.
Device "Drive3" (/dev/tape/by-path/ip-10.5.66.22:3260-iscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-04-lun-0-nst) is not open.
Drive 3 is not loaded.
Device "Drive4" (/dev/tape/by-path/ip-10.5.66.22:3260-iscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-05-lun-0-nst) is not open.
Drive 4 is not loaded.
Device "Drive5" (/dev/tape/by-path/ip-10.5.66.22:3260-iscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-06-lun-0-nst) is not open.
Drive 5 is not loaded.
Device "Drive6" (/dev/tape/by-path/ip-10.5.66.22:3260-iscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-07-lun-0-nst) is not open.
Drive 6 is not loaded.
Device "Drive7" (/dev/tape/by-path/ip-10.5.66.22:3260-iscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-08-lun-0-nst) is not open.
Drive 7 is not loaded.
Device "Drive8" (/dev/tape/by-path/ip-10.5.66.22:3260-iscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-09-lun-0-nst) is not open.
Drive 8 is not loaded.
Device "Drive9" (/dev/tape/by-path/ip-10.5.66.22:3260-iscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-10-lun-0-nst) is not open.
Drive 9 is not loaded.
====
Used Volume status:
AAAACF5F6A on device "Drive0" (/dev/tape/by-path/ip-10.5.66.22:3260-iscsi-iqn.1997-05.com.amazon:sgw-20b85d49-tapedrive-01-lun-0-nst)
Reader=0 writers=0 devres=0 volinuse=0
###############
##### OUT PUT FROM LIST JOBS ###
| 970 | labsdb3-02:database | 2014-11-20 20:58:07 | B | D | 1 | 3,567,140,654 | T |
| 971 | labsdb4-02:database | 2014-11-20 20:58:09 | B | D | 3 | 4,529,882,002 | T |
| 972 | labsdb5-01:database | 2014-11-20 20:58:16 | B | D | 0 | 0 | R |
| 973 | labsdb6-02:database | 2014-11-20 20:58:18 | B | D | 0 | 0 | R
##### AND FINALLY, querying jobid for volume shows all 4 jobs writing to the same volume at the same time, interleaving as opposed to using available volume in pool ####
Available queries:
1: List up to 20 places where a File is saved regardless of the directory
2: List where the most recent copies of a file are saved
3: List last 20 Full Backups for a Client
4: List all backups for a Client after a specified time
5: List all backups for a Client
6: List Volume Attributes for a selected Volume
7: List Volumes used by selected JobId
8: List Volumes to Restore All Files
9: List Pool Attributes for a selected Pool
10: List total files/bytes by Job
11: List total files/bytes by Volume
12: List Files for a selected JobId
13: List Jobs stored on a selected MediaId
14: List Jobs stored for a given Volume name
15: List Volumes Bacula thinks are in changer
16: List Volumes likely to need replacement from age or errors
Choose a query (1-16): 7
Enter JobId: 970
+-------+------------+
| JobId | VolumeName |
+-------+------------+
| 970 | AAAACF5F6A |
+-------+------------+
*query
Available queries:
1: List up to 20 places where a File is saved regardless of the directory
2: List where the most recent copies of a file are saved
3: List last 20 Full Backups for a Client
4: List all backups for a Client after a specified time
5: List all backups for a Client
6: List Volume Attributes for a selected Volume
7: List Volumes used by selected JobId
8: List Volumes to Restore All Files
9: List Pool Attributes for a selected Pool
10: List total files/bytes by Job
11: List total files/bytes by Volume
12: List Files for a selected JobId
13: List Jobs stored on a selected MediaId
14: List Jobs stored for a given Volume name
15: List Volumes Bacula thinks are in changer
16: List Volumes likely to need replacement from age or errors
Choose a query (1-16): 7
Enter JobId: 971
+-------+------------+
| JobId | VolumeName |
+-------+------------+
| 971 | AAAACF5F6A |
+-------+------------+
*query
Available queries:
1: List up to 20 places where a File is saved regardless of the directory
2: List where the most recent copies of a file are saved
3: List last 20 Full Backups for a Client
4: List all backups for a Client after a specified time
5: List all backups for a Client
6: List Volume Attributes for a selected Volume
7: List Volumes used by selected JobId
8: List Volumes to Restore All Files
9: List Pool Attributes for a selected Pool
10: List total files/bytes by Job
11: List total files/bytes by Volume
12: List Files for a selected JobId
13: List Jobs stored on a selected MediaId
14: List Jobs stored for a given Volume name
15: List Volumes Bacula thinks are in changer
16: List Volumes likely to need replacement from age or errors
Choose a query (1-16): 7
Enter JobId: 972
+-------+------------+
| JobId | VolumeName |
+-------+------------+
| 972 | AAAACF5F6A |
+-------+------------+
*query
Available queries:
1: List up to 20 places where a File is saved regardless of the directory
2: List where the most recent copies of a file are saved
3: List last 20 Full Backups for a Client
4: List all backups for a Client after a specified time
5: List all backups for a Client
6: List Volume Attributes for a selected Volume
7: List Volumes used by selected JobId
8: List Volumes to Restore All Files
9: List Pool Attributes for a selected Pool
10: List total files/bytes by Job
11: List total files/bytes by Volume
12: List Files for a selected JobId
13: List Jobs stored on a selected MediaId
14: List Jobs stored for a given Volume name
15: List Volumes Bacula thinks are in changer
16: List Volumes likely to need replacement from age or errors
Choose a query (1-16): 7
Enter JobId: 973
+-------+------------+
| JobId | VolumeName |
+-------+------------+
| 973 | AAAACF5F6A |
+-------+------------
Hi Jared,
In your bacula-sd.conf, you have defined an autochanger device:
Name = Autochanger
Device = Drive-1, Drive-2, Drive-3, Drive-4, Drive-5, Drive-6, Drive-7, Drive-8, Drive-9, Drive-10
...
}
But, in your bacula-sd.conf, you don't use it. Instead, you have a storage definition for each of your tape devices, like the bellow one for the Drive-1:
Storage {
Name = Tape1
Address = backup # N.B. Use a fully qualified name here, not localhost
SDPort = 9103
Password = “PASSWORD" # password for SD
Device = Drive-1
Media Type = LTO
Autochanger = yes # enable for autochanger device
Maximum Concurrent Jobs = 20
}
|