Hi all,
I'm running Bacula 2.4.2 off a FreeBSD 7.0 server using a DDS-3 tape drive.
I'm using a Grandfather/father/son tape rotational scheme where I back up
the data and the catalog as two nightly jobs onto a tape each time that it
runs. All is well. Except for the monthly full backup. It will start the
data backup and complete it. It starts the catalog backup job and report
that it cannot find any appendable volume. I have to cancel that job in
order to get going with the next backup job. Monthly backup jobs are
scheduled the first Saturday of each month.
The weird thing is- the monthly job definition is exactly the same as the
weekly job definitions. I have absolutely no issues with the weekly jobs nor
with the daily jobs.
04-Oct 02:31 orion-dir JobId 2019: BeforeJob: run command
"/usr/local/share/bacula/make_catalog_backup bacula bacula"
04-Oct 02:41 orion-dir JobId 2019: Start Backup JobId 2019,
Job=BackupCatalog.2008-10-04_00.10.03
04-Oct 02:41 orion-dir JobId 2019: Using Device "DDS-3"
04-Oct 02:41 orion-sd JobId 2019: Job BackupCatalog.2008-10-04_00.10.03
waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "DDS-3" (/dev/nsa0)
Pool: MonthlyPool
Media type: DDS-3
04-Oct 03:41 orion-sd JobId 2019: Job BackupCatalog.2008-10-04_00.10.03
waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "DDS-3" (/dev/nsa0)
Pool: MonthlyPool
Media type: DDS-3
04-Oct 05:41 orion-sd JobId 2019: Job BackupCatalog.2008-10-04_00.10.03
waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "DDS-3" (/dev/nsa0)
Pool: MonthlyPool
Media type: DDS-3
04-Oct 09:41 orion-sd JobId 2019: Job BackupCatalog.2008-10-04_00.10.03
waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "DDS-3" (/dev/nsa0)
Pool: MonthlyPool
Media type: DDS-3
04-Oct 17:41 orion-sd JobId 2019: Job BackupCatalog.2008-10-04_00.10.03
waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "DDS-3" (/dev/nsa0)
Pool: MonthlyPool
Media type: DDS-3
05-Oct 09:42 orion-sd JobId 2019: Job BackupCatalog.2008-10-04_00.10.03
waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "DDS-3" (/dev/nsa0)
Pool: MonthlyPool
Media type: DDS-3
06-Oct 09:42 orion-sd JobId 2019: Job BackupCatalog.2008-10-04_00.10.03
waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "DDS-3" (/dev/nsa0)
Pool: MonthlyPool
Media type: DDS-3
06-Oct 13:22 orion-sd JobId 2019: Job BackupCatalog.2008-10-04_00.10.03
canceled while waiting for mount on Storage Device ""DDS-3" (/dev/nsa0)".
06-Oct 13:22 orion-dir JobId 2019: Bacula orion-dir 2.4.2 (26Jul08):
06-Oct-2008 13:22:08
Build OS: i386-portbld-freebsd7.0 freebsd 7.0-STABLE
JobId: 2019
Job: BackupCatalog.2008-10-04_00.10.03
Backup Level: Full
Client: "orion-fd" 2.4.2 (26Jul08)
i386-portbld-freebsd7.0,freebsd,7.0-STABLE
FileSet: "Catalog" 2005-11-15 05:52:46
Pool: "MonthlyPool" (From Run pool override)
Storage: "DDS-3" (From Job resource)
Scheduled time: 04-Oct-2008 00:10:00
Start time: 04-Oct-2008 02:41:58
End time: 06-Oct-2008 13:22:08
Elapsed time: 2 days 10 hours 40 mins 10 secs
Priority: 13
FD Files Written: 0
SD Files Written: 0
FD Bytes Written: 0 (0 B)
SD Bytes Written: 0 (0 B)
Rate: 0.0 KB/s
Software Compression: None
VSS: no
Storage Encryption: no
Volume name(s):
Volume Session Id: 2
Volume Session Time: 1223079937
Last Volume Bytes: 0 (0 B)
Non-fatal FD errors: 0
SD Errors: 0
FD termination status: Canceled
SD termination status: Wait for new Volume
Termination: Backup Canceled
Config files as follows (edited for brevity):
############ bacula-dir.conf ############
#
# For Bacula release 1.36.2 (28 February 2005) -- freebsd 5.3-RELEASE-p10
#
# 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 { # define myself
Name = orion-dir
DIRport = 9101 # where we listen for UA connections
QueryFile = "/usr/local/share/bacula/query.sql"
WorkingDirectory = "/var/db/bacula"
PidDirectory = "/var/run"
Maximum Concurrent Jobs = 1
Password = "*******************************" # Console password
Messages = Daemon
}
#
# Job Definitions
#
# By default, this job will back up to tape
Job {
Name = "Orion"
Type = Backup
Client = orion-fd
FileSet = "Full Set"
Schedule = "DataBackupCycle"
Storage = DDS-3
Messages = Standard
Pool = Default
Write Bootstrap = "/var/db/bacula/Orion.bsr"
Max Start Delay = 22h
Priority = 10
SpoolData = no
}
# Backup the catalog database (after the nightly save)
Job {
Name = "BackupCatalog"
Type = Backup
Client = orion-fd
Level = Full
FileSet = "Catalog"
Schedule = "CatalogBackupCycle"
Storage = DDS-3
Messages = Standard
Pool = Default
# This creates an ASCII copy of the catalog
RunBeforeJob = "/usr/local/share/bacula/make_catalog_backup bacula bacula"
# This deletes the copy of the catalog
RunAfterJob = "/usr/local/share/bacula/delete_catalog_backup"
# the following command ejects tape after catalog backup. If you do
# verification, be sure to comment out the line directly below
RunAfterJob = "/usr/local/etc/end_of_backup.sh"
Write Bootstrap = "/var/db/bacula/BackupCatalog.bsr"
Max Start Delay = 22h
Priority = 13 # run after main backup
}
#
# File Set Definitions
#
# List of files to be backed up
FileSet {
Name = "Full Set"
Include {
Options {
signature = MD5
aclsupport = yes
compression = GZIP6
HFS Plus Support = yes
wilddir = /proc
wilddir = /tmp
wildfile = /.journal
wildfile = /.fsck
wildfile = /var/db/bacula/bacula.sql
wilddir = /usr/local/pgsql/data/base
wildfile = /var/db/bacula/bacula.db-journal
wilddir = /usr/local/pgsql/erp/latest_snapshot
exclude = yes
}
File = /
File = /var
File = /data
File = /usr
}
}
# This is the backup of the catalog
FileSet {
Name = "Catalog"
Include {
Options {
signature = MD5
}
File = /var/db/bacula/bacula.sql
}
}
#
# When to do the backups
#
Schedule {
Name = "DataBackupCycle"
Run = Level=Differential Pool=TuesdayPool Tuesday at 00:05am
Run = Level=Differential Pool=WednesdayPool Wednesday at 00:05am
Run = Level=Differential Pool=ThursdayPool Thursday at 00:05am
Run = Level=Differential Pool=FridayPool Friday at 00:05am
Run = Level=Full Pool=MonthlyPool 1st Saturday at 00:05am
Run = Level=Full Pool=WeeklyPool 2nd-4th Saturday at 00:05am
Run = Level=Full Pool=WeeklyPool5 5th Saturday at 00:05am
}
# This does the catalog. It starts after the VerifyDataBackupCycle
Schedule {
Name = "CatalogBackupCycle"
Run = Level=Differential Pool=TuesdayPool Tuesday at 00:10am
Run = Level=Differential Pool=WednesdayPool Wednesday at 00:10am
Run = Level=Differential Pool=ThursdayPool Thursday at 00:10am
Run = Level=Differential Pool=FridayPool Friday at 00:10am
Run = Level=Full Pool=MonthlyPool 1st Saturday at 00:10am
Run = Level=Full Pool=WeeklyPool 2nd-4th Saturday at 00:10am
Run = Level=Full Pool=WeeklyPool5 5th Saturday at 00:10am
}
#
# Client (File Services) to backup
#
Client {
Name = orion-fd
Address = orion.dawnsign.com
FDPort = 9102
Catalog = MyCatalog
Password = "***********************************" # password for
FileDaemon
File Retention = 365 days # 30 days
Job Retention = 12 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
# Definition of DDS tape storage device
Storage {
Name = DDS-3
# Do not use "localhost" here
Address = orion.dawnsign.com # N.B. Use a fully qualified
name here
SDPort = 9103
Password = "***********************************" # password for
Storage daemon
Device = DDS-3 # must be same as Device in Storage
daemon
Media Type = DDS-3 # must be same as MediaType in Storage
daemon
}
# Generic catalog service
Catalog {
Name = MyCatalog
dbname = bacula; user = bacula; password = ""
}
# Pool definitions
#
# Default Pool for jobs, but will hold no actual volumes
Pool {
Name = Default
Pool Type = Backup
# Accept Any Volume = yes
# Label Format = "Default-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}"
Label Format = "Default-"
}
Pool {
Name = TuesdayPool
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 6 days
Volume Use Duration = 2 days #after 2 days, volume will be marked as
"used"
# Accept Any Volume = yes
Label Format = "Tuesday-"
Maximum Volume Jobs = 2 #the backup itself and the backup catalog
Maximum Volumes = 1
}
Pool {
Name = WednesdayPool
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 6 days
Volume Use Duration = 2 days #after 2 days, volume will be marked as
"used"
# Accept Any Volume = yes
Label Format = "Wednesday-"
Maximum Volume Jobs = 2 #the backup itself and the backup catalog
Maximum Volumes = 1
}
Pool {
Name = ThursdayPool
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 6 days
Volume Use Duration = 2 days #after 2 days, volume will be marked as
"used"
# Accept Any Volume = yes
Label Format = "Thursday-"
Maximum Volume Jobs = 2 #the backup itself and the backup catalog
Maximum Volumes = 1
}
Pool {
Name = FridayPool
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 6 days
Volume Use Duration = 2 days #after 2 days, volume will be marked as
"used"
# Accept Any Volume = yes
Label Format = "Friday-"
Maximum Volume Jobs = 2 #the backup itself and the backup catalog
Maximum Volumes = 1
}
Pool {
Name = WeeklyPool
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 27 days
Volume Use Duration = 3 days
# Accept Any Volume = yes
Label Format = "Week-"
Maximum Volume Jobs = 2 #the backup itself and the backup catalog
Maximum Volumes = 3
}
Pool {
Name = WeeklyPool5
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 27 days
Volume Use Duration = 3 days #after 3 days, volume will be marked as
"used"
# Accept Any Volume = yes
Label Format = "Week-0004"
Maximum Volume Jobs = 2 #the backup itself and the backup catalog
Maximum Volumes = 1
}
Pool {
Name = MonthlyPool
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 356 days
Volume Use Duration = 3 days #after 3 days, volume will be marked as
"used"
# Accept Any Volume = yes
Label Format = "Month-"
Maximum Volume Jobs = 2 #the backup itself and the backup catalog
Maximum Volumes = 12 #12 months
}
# Reasonable message delivery -- send most everything to email address
# and to the console
Messages {
Name = Standard
#
# NOTE! If you send to two 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.
#
mailcommand = "/usr/local/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s
\"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/usr/local/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\"
-s \"Bacula: Intervention needed for %j\" %r"
mail = root@localhost = all, !skipped
operator = root@localhost = 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 = "/var/db/bacula/log" = all, !skipped
}
#
# Message delivery for daemon messages (no job).
Messages {
Name = Daemon
mailcommand = "/usr/local/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s
\"Bacula daemon message\" %r"
mail = root@localhost = all, !skipped
console = all, !skipped, !saved
append = "/var/db/bacula/log" = all, !skipped
}
#
# Restricted console used by tray-monitor to get the status of the director
#
Console {
Name = orion-mon
Password = "dRbWHblLd3cMS2L+0Uch6/NtsyOsetHDIGJnLKiUPam3"
CommandACL = status, .status
}
########### EOF #############
*llist media
Pool: Default
mediaid: 27
volumename: Default-0027
slot: 0
poolid: 1
mediatype: DDS-3
firstwritten:
lastwritten:
labeldate:
voljobs: 0
volfiles: 0
volblocks: 0
volmounts: 0
volbytes: 0
volerrors: 0
volwrites: 0
volcapacitybytes: 0
volstatus: Append
enabled: 1
recycle: 1
volretention: 31,536,000
voluseduration: 0
maxvoljobs: 0
maxvolfiles: 0
maxvolbytes: 0
inchanger: 0
endfile: 0
endblock: 0
volparts: 0
labeltype: 0
storageid: 0
deviceid: 0
locationid: 0
recyclecount:
initialwrite:
scratchpoolid: 0
recyclepoolid: 0
comment:
Pool: TuesdayPool
mediaid: 1
volumename: Tuesday-0001
slot: 0
poolid: 2
mediatype: DDS-3
firstwritten: 2008-10-07 00:06:09
lastwritten: 2008-10-07 00:32:29
labeldate: 2008-10-07 00:06:09
voljobs: 2
volfiles: 2
volblocks: 12,520
volmounts: 247
volbytes: 807,754,752
volerrors: 0
volwrites: 1,283,386
volcapacitybytes: 0
volstatus: Used
enabled: 1
recycle: 1
volretention: 518,400
voluseduration: 172,800
maxvoljobs: 2
maxvolfiles: 0
maxvolbytes: 0
inchanger: 1
endfile: 1
endblock: 10,490
volparts: 0
labeltype: 0
storageid: 2
deviceid: 0
locationid: 0
recyclecount: 69
initialwrite:
scratchpoolid: 0
recyclepoolid: 0
comment:
Pool: WednesdayPool
mediaid: 26
volumename: Wednesday-0001
slot: 0
poolid: 3
mediatype: DDS-3
firstwritten: 2008-10-08 00:06:11
lastwritten: 2008-10-08 00:30:31
labeldate: 2008-10-08 00:06:11
voljobs: 2
volfiles: 2
volblocks: 12,269
volmounts: 272
volbytes: 791,562,240
volerrors: 0
volwrites: 1,448,291
volcapacitybytes: 0
volstatus: Used
enabled: 1
recycle: 1
volretention: 518,400
voluseduration: 172,800
maxvoljobs: 2
maxvolfiles: 0
maxvolbytes: 0
inchanger: 0
endfile: 1
endblock: 10,489
volparts: 0
labeltype: 0
storageid: 2
deviceid: 0
locationid: 0
recyclecount: 24
initialwrite:
scratchpoolid: 0
recyclepoolid: 0
comment:
Pool: ThursdayPool
mediaid: 3
volumename: Thursday-0001
slot: 0
poolid: 4
mediatype: DDS-3
firstwritten: 2008-10-02 00:06:10
lastwritten: 2008-10-02 00:31:31
labeldate: 2008-10-02 00:06:10
voljobs: 2
volfiles: 2
volblocks: 13,221
volmounts: 286
volbytes: 852,977,664
volerrors: 0
volwrites: 1,665,567
volcapacitybytes: 0
volstatus: Used
enabled: 1
recycle: 1
volretention: 518,400
voluseduration: 172,800
maxvoljobs: 2
maxvolfiles: 0
maxvolbytes: 0
inchanger: 1
endfile: 1
endblock: 10,513
volparts: 0
labeltype: 0
storageid: 2
deviceid: 0
locationid: 0
recyclecount: 88
initialwrite:
scratchpoolid: 0
recyclepoolid: 0
comment:
Pool: FridayPool
mediaid: 25
volumename: Friday-0001
slot: 0
poolid: 5
mediatype: DDS-3
firstwritten: 2008-10-03 00:06:11
lastwritten: 2008-10-03 00:32:42
labeldate: 2008-10-03 00:06:11
voljobs: 2
volfiles: 2
volblocks: 13,213
volmounts: 167
volbytes: 852,461,568
volerrors: 0
volwrites: 1,064,336
volcapacitybytes: 0
volstatus: Used
enabled: 1
recycle: 1
volretention: 518,400
voluseduration: 172,800
maxvoljobs: 2
maxvolfiles: 0
maxvolbytes: 0
inchanger: 1
endfile: 1
endblock: 10,513
volparts: 0
labeltype: 0
storageid: 2
deviceid: 0
locationid: 0
recyclecount: 66
initialwrite:
scratchpoolid: 0
recyclepoolid: 0
comment:
Pool: WeeklyPool
mediaid: 5
volumename: Week-0002
slot: 0
poolid: 6
mediatype: DDS-3
firstwritten: 2008-09-20 00:06:45
lastwritten: 2008-09-20 02:51:01
labeldate: 2008-09-20 00:06:45
voljobs: 2
volfiles: 6
volblocks: 76,387
volmounts: 63
volbytes: 4,927,942,656
volerrors: 0
volwrites: 3,408,069
volcapacitybytes: 0
volstatus: Used
enabled: 1
recycle: 1
volretention: 2,332,800
voluseduration: 259,200
maxvoljobs: 2
maxvolfiles: 0
maxvolbytes: 0
inchanger: 1
endfile: 5
endblock: 10,580
volparts: 0
labeltype: 0
storageid: 2
deviceid: 0
locationid: 0
recyclecount: 20
initialwrite:
scratchpoolid: 0
recyclepoolid: 0
comment:
mediaid: 9
volumename: Week-0001
slot: 0
poolid: 6
mediatype: DDS-3
firstwritten: 2008-09-13 00:06:42
lastwritten: 2008-09-13 02:51:21
labeldate: 2008-09-13 00:06:42
voljobs: 2
volfiles: 6
volblocks: 76,208
volmounts: 64
volbytes: 4,916,395,008
volerrors: 0
volwrites: 3,279,338
volcapacitybytes: 0
volstatus: Used
enabled: 1
recycle: 1
volretention: 2,332,800
voluseduration: 259,200
maxvoljobs: 2
maxvolfiles: 0
maxvolbytes: 0
inchanger: 1
endfile: 5
endblock: 10,464
volparts: 0
labeltype: 0
storageid: 2
deviceid: 0
locationid: 0
recyclecount: 20
initialwrite:
scratchpoolid: 0
recyclepoolid: 0
comment:
mediaid: 24
volumename: Week-0003
slot: 0
poolid: 6
mediatype: DDS-3
firstwritten: 2008-09-27 00:06:46
lastwritten: 2008-09-27 02:53:57
labeldate: 2008-09-27 00:06:46
voljobs: 2
volfiles: 6
volblocks: 77,313
volmounts: 42
volbytes: 4,987,680,768
volerrors: 0
volwrites: 1,922,092
volcapacitybytes: 0
volstatus: Used
enabled: 1
recycle: 1
volretention: 2,332,800
voluseduration: 259,200
maxvoljobs: 2
maxvolfiles: 0
maxvolbytes: 0
inchanger: 1
endfile: 5
endblock: 10,513
volparts: 0
labeltype: 0
storageid: 2
deviceid: 0
locationid: 0
recyclecount: 21
initialwrite:
scratchpoolid: 0
recyclepoolid: 0
comment:
Pool: WeeklyPool5
mediaid: 12
volumename: Week-0004
slot: 0
poolid: 7
mediatype: DDS-3
firstwritten: 2008-05-31 00:06:46
lastwritten: 2008-05-31 07:17:48
labeldate: 2008-05-31 00:06:46
voljobs: 2
volfiles: 7
volblocks: 103,640
volmounts: 20
volbytes: 6,686,088,192
volerrors: 0
volwrites: 830,146
volcapacitybytes: 0
volstatus: Used
enabled: 1
recycle: 1
volretention: 2,332,800
voluseduration: 259,200
maxvoljobs: 2
maxvolfiles: 0
maxvolbytes: 0
inchanger: 1
endfile: 6
endblock: 10,940
volparts: 0
labeltype: 0
storageid: 2
deviceid: 0
locationid: 0
recyclecount: 6
initialwrite:
scratchpoolid: 0
recyclepoolid: 0
comment:
Pool: MonthlyPool
mediaid: 8
volumename: Month-0008
slot: 0
poolid: 8
mediatype: DDS-3
firstwritten: 2007-12-01 00:05:04
lastwritten: 2007-12-01 06:49:50
labeldate: 2007-12-01 00:05:04
voljobs: 2
volfiles: 9
volblocks: 120,971
volmounts: 6
volbytes: 7,804,145,664
volerrors: 0
volwrites: 328,831
volcapacitybytes: 0
volstatus: Used
enabled: 1
recycle: 1
volretention: 30,758,400
voluseduration: 259,200
maxvoljobs: 2
maxvolfiles: 0
maxvolbytes: 0
inchanger: 1
endfile: 8
endblock: 9,207
volparts: 0
labeltype: 0
storageid: 2
deviceid: 0
locationid: 0
recyclecount: 1
initialwrite:
scratchpoolid: 0
recyclepoolid: 0
comment:
mediaid: 13
volumename: Month-0009
slot: 0
poolid: 8
mediatype: DDS-3
firstwritten: 2008-01-05 00:05:03
lastwritten: 2008-01-05 06:48:14
labeldate: 2008-01-05 00:05:03
voljobs: 2
volfiles: 7
volblocks: 95,162
volmounts: 6
volbytes: 6,139,155,456
volerrors: 0
volwrites: 312,384
volcapacitybytes: 0
volstatus: Used
enabled: 1
recycle: 1
volretention: 30,758,400
voluseduration: 259,200
maxvoljobs: 2
maxvolfiles: 0
maxvolbytes: 0
inchanger: 1
endfile: 6
endblock: 10,398
volparts: 0
labeltype: 0
storageid: 2
deviceid: 0
locationid: 0
recyclecount: 1
initialwrite:
scratchpoolid: 0
recyclepoolid: 0
comment:
mediaid: 14
volumename: Month-0010
slot: 0
poolid: 8
mediatype: DDS-3
firstwritten: 2008-02-02 00:05:04
lastwritten: 2008-02-02 06:49:13
labeldate: 2008-02-02 00:05:04
voljobs: 2
volfiles: 7
volblocks: 95,836
volmounts: 6
volbytes: 6,182,636,544
volerrors: 0
volwrites: 315,970
volcapacitybytes: 0
volstatus: Used
enabled: 1
recycle: 1
volretention: 30,758,400
voluseduration: 259,200
maxvoljobs: 2
maxvolfiles: 0
maxvolbytes: 0
inchanger: 1
endfile: 6
endblock: 10,928
volparts: 0
labeltype: 0
storageid: 2
deviceid: 0
locationid: 0
recyclecount: 2
initialwrite:
scratchpoolid: 0
recyclepoolid: 0
comment:
mediaid: 15
volumename: Month-0011
slot: 0
poolid: 8
mediatype: DDS-3
firstwritten: 2008-03-01 00:05:04
lastwritten: 2008-03-01 06:51:28
labeldate: 2008-03-01 00:05:04
voljobs: 2
volfiles: 7
volblocks: 97,514
volmounts: 5
volbytes: 6,290,887,680
volerrors: 0
volwrites: 315,439
volcapacitybytes: 0
volstatus: Used
enabled: 1
recycle: 1
volretention: 30,758,400
voluseduration: 259,200
maxvoljobs: 2
maxvolfiles: 0
maxvolbytes: 0
inchanger: 1
endfile: 6
endblock: 11,239
volparts: 0
labeltype: 0
storageid: 2
deviceid: 0
locationid: 0
recyclecount: 2
initialwrite:
scratchpoolid: 0
recyclepoolid: 0
comment:
mediaid: 16
volumename: Month-0012
slot: 0
poolid: 8
mediatype: DDS-3
firstwritten: 1969-12-31 16:00:00
lastwritten: 2007-04-07 04:50:00
labeldate: 2007-04-07 00:05:06
voljobs: 0
volfiles: 0
volblocks: 0
volmounts: 4
volbytes: 1
volerrors: 0
volwrites: 143,785
volcapacitybytes: 0
volstatus: Disabled
enabled: 1
recycle: 1
volretention: 30,758,400
voluseduration: 259,200
maxvoljobs: 2
maxvolfiles: 0
maxvolbytes: 0
inchanger: 1
endfile: 4
endblock: 8,243
volparts: 0
labeltype: 0
storageid: 2
deviceid: 0
locationid: 0
recyclecount: 5
initialwrite:
scratchpoolid: 0
recyclepoolid: 0
comment:
mediaid: 17
volumename: Mount-0001
slot: 0
poolid: 8
mediatype: DDS-3
firstwritten: 1969-12-31 16:00:00
lastwritten: 2007-05-05 04:50:45
labeldate: 2007-05-05 00:05:07
voljobs: 0
volfiles: 0
volblocks: 0
volmounts: 4
volbytes: 1
volerrors: 0
volwrites: 145,062
volcapacitybytes: 0
volstatus: Disabled
enabled: 1
recycle: 1
volretention: 30,758,400
voluseduration: 259,200
maxvoljobs: 2
maxvolfiles: 0
maxvolbytes: 0
inchanger: 1
endfile: 4
endblock: 8,398
volparts: 0
labeltype: 0
storageid: 2
deviceid: 0
locationid: 0
recyclecount: 2
initialwrite:
scratchpoolid: 0
recyclepoolid: 0
comment:
mediaid: 18
volumename: Month-0002
slot: 0
poolid: 8
mediatype: DDS-3
firstwritten: 2008-05-03 00:05:03
lastwritten: 2008-05-03 06:55:37
labeldate: 2008-05-03 00:05:03
voljobs: 2
volfiles: 7
volblocks: 101,509
volmounts: 3
volbytes: 6,548,613,120
volerrors: 0
volwrites: 179,666
volcapacitybytes: 0
volstatus: Used
enabled: 1
recycle: 1
volretention: 30,758,400
voluseduration: 259,200
maxvoljobs: 2
maxvolfiles: 0
maxvolbytes: 0
inchanger: 1
endfile: 6
endblock: 11,028
volparts: 0
labeltype: 0
storageid: 2
deviceid: 0
locationid: 0
recyclecount: 2
initialwrite:
scratchpoolid: 0
recyclepoolid: 0
comment:
mediaid: 19
volumename: Month-0003
slot: 0
poolid: 8
mediatype: DDS-3
firstwritten: 2007-07-07 00:05:06
lastwritten: 2008-06-07 16:40:54
labeldate: 2008-06-07 00:05:03
voljobs: 1
volfiles: 6
volblocks: 92,838
volmounts: 5
volbytes: 5,989,229,568
volerrors: 0
volwrites: 298,262
volcapacitybytes: 0
volstatus: Used
enabled: 1
recycle: 1
volretention: 30,758,400
voluseduration: 259,200
maxvoljobs: 2
maxvolfiles: 0
maxvolbytes: 0
inchanger: 1
endfile: 5
endblock: 15,338
volparts: 0
labeltype: 0
storageid: 2
deviceid: 0
locationid: 0
recyclecount: 1
initialwrite:
scratchpoolid: 0
recyclepoolid: 0
comment:
mediaid: 20
volumename: Month-0004
slot: 0
poolid: 8
mediatype: DDS-3
firstwritten: 2007-08-04 00:05:06
lastwritten: 2008-07-05 03:11:39
labeldate: 2008-07-05 00:05:03
voljobs: 1
volfiles: 7
volblocks: 93,896
volmounts: 5
volbytes: 6,057,483,264
volerrors: 0
volwrites: 298,461
volcapacitybytes: 0
volstatus: Used
enabled: 1
recycle: 1
volretention: 30,758,400
voluseduration: 259,200
maxvoljobs: 2
maxvolfiles: 0
maxvolbytes: 0
inchanger: 1
endfile: 6
endblock: 896
volparts: 0
labeltype: 0
storageid: 2
deviceid: 0
locationid: 0
recyclecount: 1
initialwrite:
scratchpoolid: 0
recyclepoolid: 0
comment:
mediaid: 21
volumename: Month-0005
slot: 0
poolid: 8
mediatype: DDS-3
firstwritten: 2007-09-01 00:05:03
lastwritten: 2008-08-02 02:59:01
labeldate: 2008-08-02 00:05:02
voljobs: 1
volfiles: 6
volblocks: 92,118
volmounts: 4
volbytes: 5,942,780,928
volerrors: 0
volwrites: 252,768
volcapacitybytes: 0
volstatus: Used
enabled: 1
recycle: 1
volretention: 30,758,400
voluseduration: 259,200
maxvoljobs: 2
maxvolfiles: 0
maxvolbytes: 0
inchanger: 1
endfile: 5
endblock: 14,618
volparts: 0
labeltype: 0
storageid: 2
deviceid: 0
locationid: 0
recyclecount: 1
initialwrite:
scratchpoolid: 0
recyclepoolid: 0
comment:
mediaid: 22
volumename: Month-0006
slot: 0
poolid: 8
mediatype: DDS-3
firstwritten: 2007-10-06 00:05:04
lastwritten: 2008-09-06 02:13:56
labeldate: 2008-09-06 00:05:04
voljobs: 1
volfiles: 5
volblocks: 65,752
volmounts: 4
volbytes: 4,241,857,536
volerrors: 0
volwrites: 228,964
volcapacitybytes: 0
volstatus: Used
enabled: 1
recycle: 1
volretention: 30,758,400
voluseduration: 259,200
maxvoljobs: 2
maxvolfiles: 0
maxvolbytes: 0
inchanger: 1
endfile: 4
endblock: 3,752
volparts: 0
labeltype: 0
storageid: 2
deviceid: 0
locationid: 0
recyclecount: 1
initialwrite:
scratchpoolid: 0
recyclepoolid: 0
comment:
mediaid: 23
volumename: Month-0007
slot: 0
poolid: 8
mediatype: DDS-3
firstwritten: 2007-11-03 00:05:03
lastwritten: 2008-10-04 02:16:13
labeldate: 2008-10-04 00:05:03
voljobs: 1
volfiles: 5
volblocks: 67,334
volmounts: 5
volbytes: 4,343,915,520
volerrors: 0
volwrites: 243,574
volcapacitybytes: 0
volstatus: Used
enabled: 1
recycle: 1
volretention: 30,758,400
voluseduration: 259,200
maxvoljobs: 2
maxvolfiles: 0
maxvolbytes: 0
inchanger: 1
endfile: 4
endblock: 5,334
volparts: 0
labeltype: 0
storageid: 2
deviceid: 0
locationid: 0
recyclecount: 1
initialwrite:
scratchpoolid: 0
recyclepoolid: 0
comment:
*
*list volumes
Pool: Default
+---------+--------------+-----------+---------+----------+----------+------
--------+---------+------+-----------+-----------+-------------+
| mediaid | volumename | volstatus | enabled | volbytes | volfiles |
volretention | recycle | slot | inchanger | mediatype | lastwritten |
+---------+--------------+-----------+---------+----------+----------+------
--------+---------+------+-----------+-----------+-------------+
| 27 | Default-0027 | Append | 1 | 0 | 0 |
31,536,000 | 1 | 0 | 0 | DDS-3 | |
+---------+--------------+-----------+---------+----------+----------+------
--------+---------+------+-----------+-----------+-------------+
Pool: TuesdayPool
+---------+--------------+-----------+---------+-------------+----------+---
-----------+---------+------+-----------+-----------+---------------------+
| mediaid | volumename | volstatus | enabled | volbytes | volfiles |
volretention | recycle | slot | inchanger | mediatype | lastwritten
|
+---------+--------------+-----------+---------+-------------+----------+---
-----------+---------+------+-----------+-----------+---------------------+
| 1 | Tuesday-0001 | Used | 1 | 807,754,752 | 2 |
518,400 | 1 | 0 | 1 | DDS-3 | 2008-10-07 00:32:29 |
+---------+--------------+-----------+---------+-------------+----------+---
-----------+---------+------+-----------+-----------+---------------------+
Pool: WednesdayPool
+---------+----------------+-----------+---------+-------------+----------+-
-------------+---------+------+-----------+-----------+---------------------
+
| mediaid | volumename | volstatus | enabled | volbytes | volfiles |
volretention | recycle | slot | inchanger | mediatype | lastwritten
|
+---------+----------------+-----------+---------+-------------+----------+-
-------------+---------+------+-----------+-----------+---------------------
+
| 26 | Wednesday-0001 | Used | 1 | 791,562,240 | 2 |
518,400 | 1 | 0 | 0 | DDS-3 | 2008-10-08 00:30:31 |
+---------+----------------+-----------+---------+-------------+----------+-
-------------+---------+------+-----------+-----------+---------------------
+
Pool: ThursdayPool
+---------+---------------+-----------+---------+-------------+----------+--
------------+---------+------+-----------+-----------+---------------------+
| mediaid | volumename | volstatus | enabled | volbytes | volfiles |
volretention | recycle | slot | inchanger | mediatype | lastwritten
|
+---------+---------------+-----------+---------+-------------+----------+--
------------+---------+------+-----------+-----------+---------------------+
| 3 | Thursday-0001 | Used | 1 | 852,977,664 | 2 |
518,400 | 1 | 0 | 1 | DDS-3 | 2008-10-02 00:31:31 |
+---------+---------------+-----------+---------+-------------+----------+--
------------+---------+------+-----------+-----------+---------------------+
Pool: FridayPool
+---------+-------------+-----------+---------+-------------+----------+----
----------+---------+------+-----------+-----------+---------------------+
| mediaid | volumename | volstatus | enabled | volbytes | volfiles |
volretention | recycle | slot | inchanger | mediatype | lastwritten
|
+---------+-------------+-----------+---------+-------------+----------+----
----------+---------+------+-----------+-----------+---------------------+
| 25 | Friday-0001 | Used | 1 | 852,461,568 | 2 |
518,400 | 1 | 0 | 1 | DDS-3 | 2008-10-03 00:32:42 |
+---------+-------------+-----------+---------+-------------+----------+----
----------+---------+------+-----------+-----------+---------------------+
Pool: WeeklyPool
+---------+------------+-----------+---------+---------------+----------+---
-----------+---------+------+-----------+-----------+---------------------+
| mediaid | volumename | volstatus | enabled | volbytes | volfiles |
volretention | recycle | slot | inchanger | mediatype | lastwritten
|
+---------+------------+-----------+---------+---------------+----------+---
-----------+---------+------+-----------+-----------+---------------------+
| 5 | Week-0002 | Used | 1 | 4,927,942,656 | 6 |
2,332,800 | 1 | 0 | 1 | DDS-3 | 2008-09-20 02:51:01 |
| 9 | Week-0001 | Used | 1 | 4,916,395,008 | 6 |
2,332,800 | 1 | 0 | 1 | DDS-3 | 2008-09-13 02:51:21 |
| 24 | Week-0003 | Used | 1 | 4,987,680,768 | 6 |
2,332,800 | 1 | 0 | 1 | DDS-3 | 2008-09-27 02:53:57 |
+---------+------------+-----------+---------+---------------+----------+---
-----------+---------+------+-----------+-----------+---------------------+
Pool: WeeklyPool5
+---------+------------+-----------+---------+---------------+----------+---
-----------+---------+------+-----------+-----------+---------------------+
| mediaid | volumename | volstatus | enabled | volbytes | volfiles |
volretention | recycle | slot | inchanger | mediatype | lastwritten
|
+---------+------------+-----------+---------+---------------+----------+---
-----------+---------+------+-----------+-----------+---------------------+
| 12 | Week-0004 | Used | 1 | 6,686,088,192 | 7 |
2,332,800 | 1 | 0 | 1 | DDS-3 | 2008-05-31 07:17:48 |
+---------+------------+-----------+---------+---------------+----------+---
-----------+---------+------+-----------+-----------+---------------------+
Pool: MonthlyPool
+---------+------------+-----------+---------+---------------+----------+---
-----------+---------+------+-----------+-----------+---------------------+
| mediaid | volumename | volstatus | enabled | volbytes | volfiles |
volretention | recycle | slot | inchanger | mediatype | lastwritten
|
+---------+------------+-----------+---------+---------------+----------+---
-----------+---------+------+-----------+-----------+---------------------+
| 8 | Month-0008 | Used | 1 | 7,804,145,664 | 9 |
30,758,400 | 1 | 0 | 1 | DDS-3 | 2007-12-01 06:49:50 |
| 13 | Month-0009 | Used | 1 | 6,139,155,456 | 7 |
30,758,400 | 1 | 0 | 1 | DDS-3 | 2008-01-05 06:48:14 |
| 14 | Month-0010 | Used | 1 | 6,182,636,544 | 7 |
30,758,400 | 1 | 0 | 1 | DDS-3 | 2008-02-02 06:49:13 |
| 15 | Month-0011 | Used | 1 | 6,290,887,680 | 7 |
30,758,400 | 1 | 0 | 1 | DDS-3 | 2008-03-01 06:51:28 |
| 16 | Month-0012 | Disabled | 1 | 1 | 0 |
30,758,400 | 1 | 0 | 1 | DDS-3 | 2007-04-07 04:50:00 |
| 17 | Mount-0001 | Disabled | 1 | 1 | 0 |
30,758,400 | 1 | 0 | 1 | DDS-3 | 2007-05-05 04:50:45 |
| 18 | Month-0002 | Used | 1 | 6,548,613,120 | 7 |
30,758,400 | 1 | 0 | 1 | DDS-3 | 2008-05-03 06:55:37 |
| 19 | Month-0003 | Used | 1 | 5,989,229,568 | 6 |
30,758,400 | 1 | 0 | 1 | DDS-3 | 2008-06-07 16:40:54 |
| 20 | Month-0004 | Used | 1 | 6,057,483,264 | 7 |
30,758,400 | 1 | 0 | 1 | DDS-3 | 2008-07-05 03:11:39 |
| 21 | Month-0005 | Used | 1 | 5,942,780,928 | 6 |
30,758,400 | 1 | 0 | 1 | DDS-3 | 2008-08-02 02:59:01 |
| 22 | Month-0006 | Used | 1 | 4,241,857,536 | 5 |
30,758,400 | 1 | 0 | 1 | DDS-3 | 2008-09-06 02:13:56 |
| 23 | Month-0007 | Used | 1 | 4,343,915,520 | 5 |
30,758,400 | 1 | 0 | 1 | DDS-3 | 2008-10-04 02:16:13 |
+---------+------------+-----------+---------+---------------+----------+---
-----------+---------+------+-----------+-----------+---------------------+
*
The llist media output shows that only one job was completed on this tape
meaning there is room for one more job.
The only thing I can think of that would explain this behavior is the fact
due to a department policy requiring all tapes used on any given day use the
same name- i.e. Month-0007 across all backup servers- caused me to have to
purge the contents of that volume before I can use it. This one server
happened to have the monthly tape name that was a month behind all other
servers. So I have been manually purging and making sure it is marked
'recycle' the day before each monthly backup. This will continue for one
year until all of the tapes are in line. This policy was put into effect
last June and since then I have been seeing this issue each month.
Does anyone have a clue as to why I am experiencing this issue with only the
monthly backup jobs and not with any of the other jobs?
I apologize for this lengthy mail although I feel it gives you the necessary
information up front.
~Doug
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|