Hey Pete, Your pool looks full. Bacula won't create a volume in this case. However, it should recycle one of the purged volumes.
Le 31 mars 2023 01:27:45 GMT+02:00, "Peter N. Steinmetz" <peternsteinm...@steinmetz.org> a écrit : >Hi, > >So I previously had automatic labeling of disk volumes working on Ubuntu >18.04 (Bionic). Unfortunately the upgrade process to the latest release >22.10 (Kinetic) removed the bacula configuration files that I had when >upgrading to the intermediate Focal and keeping the database intact. So >I am trying to reconstruct the working set of configuration files. > >Now an attempt to run an Incremental job upgrades to Full (which is OK), >but stops on needing to label the media: > >30-Mar 15:58 ohr-dir JobId 161: No prior Full backup Job record found. >30-Mar 15:58 ohr-dir JobId 161: No prior or suitable Full backup found >in catalog. Doing FULL backup. >30-Mar 15:58 ohr-dir JobId 161: Start Backup JobId 161, >Job=BackupOhr.2023-03-30_15.58.45_05 >30-Mar 15:58 ohr-dir JobId 161: Using Device "FileStorage" to write. >30-Mar 15:58 ohr-sd JobId 161: Job BackupOhr.2023-03-30_15.58.45_05 is >waiting. Cannot find any appendable volumes. >Please use the "label" command to create a new Volume for: > Storage: "FileStorage" (/bacula/backups) > Pool: Ohr-Full-Pool > Media type: File > >bacula-dir version 9.6.7, bacula-sd version 9.6.7 > >Pertinent sections of the director configuration: > >Job { > Name = "BackupOhr" > JobDefs = "DefaultJob" > Client = ohr-fd > FileSet = Full-Set > Full Backup Pool = Ohr-Full-Pool > Incremental Backup Pool = Ohr-Inc-Pool > Differential Backup Pool = Ohr-Diff-Pool >} > >Storage { > Name = File1 > Address = 10.41.129.13 # N.B. Use a fully qualified >name here > SDPort = 9103 > Password = "<redacted>" > Device = FileStorage > Media Type = File > Maximum Concurrent Jobs = 10 # run up to 10 jobs a the same time >} > >Pool { > Name = Ohr-Full-Pool > Pool Type = Backup > Recycle = yes > AutoPrune = yes > Volume Retention = 6 months > Maximum Volume Jobs = 1 > Label Format = "OhrFull-" > Maximum Volumes = 9 >} > >Pertinent sections of the Storage Daemon configuration: > >Storage { # definition of myself > Name = ohr-sd > SDPort = 9103 # Director's port > WorkingDirectory = "/var/lib/bacula" > Pid Directory = "/run/bacula" > Plugin Directory = "/usr/lib/bacula" > Maximum Concurrent Jobs = 20 > SDAddress = 10.41.129.13 >} > > ># ># Define disk storage ># >Device { > Name = FileStorage > Media Type = File > Archive Device = /bacula/backups > LabelMedia = yes # lets Bacula label unlabeled media > Random Access = Yes; > AutomaticMount = yes; # when device opened, read it > RemovableMedia = no; > AlwaysOpen = no; > Maximum Concurrent Jobs = 5 >} > >Pertinent pool listing: > >Pool: Ohr-Full-Pool >+---------+--------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------+----------+---------------------+------------+ >| mediaid | volumename | volstatus | enabled | volbytes | >volfiles | volretention | recycle | slot | inchanger | mediatype | >voltype | volparts | lastwritten | expiresin | >+---------+--------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------+----------+---------------------+------------+ >| 1 | OhrFull-0001 | Purged | 1 | 0 | >0 | 31,536,000 | 1 | 0 | 0 | File1 | 1 >| 0 | | 0 | >| 2 | OhrFull-0002 | Purged | 1 | 0 | >0 | 31,536,000 | 1 | 0 | 0 | File1 | 1 >| 0 | | 0 | >| 3 | OhrFull-0003 | Purged | 1 | 0 | >0 | 31,536,000 | 1 | 0 | 0 | File1 | 1 >| 0 | | 0 | >| 4 | OhrFull-0004 | Purged | 1 | 0 | >0 | 31,536,000 | 1 | 0 | 0 | File1 | 1 >| 0 | | 0 | >| 5 | OhrFull-0005 | Purged | 1 | 0 | >0 | 31,536,000 | 1 | 0 | 0 | File1 | 1 >| 0 | | 0 | >| 6 | OhrFull-0006 | Purged | 1 | 0 | >0 | 31,536,000 | 1 | 0 | 0 | File1 | 1 >| 0 | | 0 | >| 7 | OhrFull-0007 | Purged | 1 | 0 | >0 | 31,536,000 | 1 | 0 | 0 | File1 | 1 >| 0 | | 0 | >| 8 | OhrFull-0008 | Purged | 1 | 0 | >0 | 31,536,000 | 1 | 0 | 0 | File1 | 1 >| 0 | | 0 | >| 9 | OhrFull-0009 | Used | 1 | 6,073,922,863 | >1 | 31,536,000 | 1 | 0 | 0 | File1 | 1 >| 0 | 2023-02-15 14:43:27 | 27,814,959 | >| 26 | OhrFull-0026 | Used | 1 | 8,576,956,537 | >1 | 31,536,000 | 1 | 0 | 0 | File1 | 1 >| 0 | 2023-03-05 23:15:32 | 29,400,884 | >+---------+--------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------+----------+---------------------+------------+ > >In bconsole I have run an estimate on this job and it lists out the >expected set of files, so the File Daemon seems fine. I was hoping this >would find and use one of the Purged volumes in the pool, but even if it >wants to create a new one, why isn't it automatically labeling? > >What am I missing here? > >thanks, >Peter<https://www.postbox-inc.com> >
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users