Can someone explain to me why a backup started manually with bconsole
asked for a label command, when the configuration specifies automatic
labeling?
It seems that the Label Format entry in the Pool directive is being
ignored. Why is this?
-----
bconcole dialog (partial):
Select Storage resource (1-7): 7
Run Backup job
JobName: BackupFranco
Level: Full
Client: olympia-fd
FileSet: SetFranco
Pool: FrancoFull (From User input)
Storage: octavia-file-sd-morgan (From user selection)
When: 2022-09-29 17:08:23
Priority: 10
OK to run? (yes/mod/no): yes
Job queued. JobId=133
*mes
29-Sep 17:09 olympia-dir JobId 133: Start Backup JobId 133,
Job=BackupFranco.2022-09-29_17.09.49_05
29-Sep 17:09 olympia-dir JobId 133: Using Device "FileMorgan" to write.
*mes
29-Sep 17:09 octavia-file-sd JobId 133: Job
BackupFranco.2022-09-29_17.09.49_05 is waiting. Cannot find any
appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "FileMorgan" (/mnt/morgan/bacula)
Pool: FrancoFull
Media type: File
*label
The defined Storage resources are:
.
.
7: octavia-file-sd-morgan
Select Storage resource (1-7): 7
Enter new Volume name: FrancoFull0001
Defined Pools:
.
.
.
5: FrancoFull
.
.
Select the Pool (1-32): 5
Connecting to Storage daemon octavia-file-sd-morgan at XXXXX ...
Sending label command for Volume "FrancoFull0001" Slot 0 ...
3000 OK label. VolBytes=248 VolABytes=0 VolType=1
Volume="FrancoFull0001" Device="FileMorgan" (/mnt/morgan/bacula)
Catalog record for Volume "FrancoFull0001", Slot 0 successfully created.
Requesting to mount FileMorgan ...
3001 OK mount requested. Device="FileMorgan" (/mnt/morgan/bacula)
*
Director configuration (olympia-dir, partial):
.
JobDefs {
Name = "DefaultJob"
Type = Backup
Level = Incremental
Pool = StashFile
Schedule = "WeeklyCycle"
Messages = Standard
SpoolAttributes = yes
Priority = 10
Write Bootstrap = "/var/spool/bacula/%c.bsr"
}
.
.
FileSet {
Name = "SetFranco"
Include {
Options {
Signature = MD5
noatime = yes
onefs = yes
exclude = yes
}
File = /mnt/franco
}
}
.
.
Job {
Name = "BackupFranco"
Client = olympia-fd
FileSet = "SetFranco"
Full Backup Pool = FrancoFull
Differential Backup Pool = ...
Incremental Backup Pool = ...
JobDefs = "DefaultJob"
}
.
.
Pool {
Name = FrancoFull
Storage = octavia-file-sd-morgan
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 62 days
Label Format = FrancoFull
Action On Purge = Truncate
Maximum Volume Jobs = 1
Maximum Volumes = 4
}
.
.
Storage {
Name = octavia-file-sd-morgan
.
.
Device = FileMorgan
Media Type = File
}
Storage daemon configuration (octavia-file-sd-morgan, partial)
.
.
Device {
Name = FileMorgan
Archive Device = /mnt/morgan/bacula
Media Type = File
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes;
RemovableMedia = no;
AlwaysOpen = no;
}
.
.
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users