Re: [Bacula-users] BSR file not updated with every job
> On Fri, 24 Jul 2020 09:09:12 -0400, Dan Langille said: > > I'm using Bacula 9.6.5 on FreeBSD 12.1 > > I have noticed a BSR file which is not getting updated after every job run. > ... > This is the most recent job, from today: > > 24-Jul 03:05 bacula-dir JobId 314258: Start Backup JobId 314258, > Job=tallboy_home.2020-07-24_03.05.00_08 > 24-Jul 03:05 bacula-dir JobId 314258: There are no more Jobs associated with > Volume "IncrAuto-7393". Marking it purged. > 24-Jul 03:05 bacula-dir JobId 314258: All records pruned from Volume > "IncrAuto-7393"; marking it "Purged" > 24-Jul 03:05 bacula-dir JobId 314258: Recycled volume "IncrAuto-7393" > 24-Jul 03:05 bacula-dir JobId 314258: Using Device "vDrive-IncrFile-6" to > write. > 24-Jul 03:05 bacula-sd-01-sd JobId 314258: Recycled volume "IncrAuto-7393" on > File device "vDrive-IncrFile-6" (/usr/local/bacula/volumes/IncrFile), all > previous data lost. > 24-Jul 03:05 bacula-dir JobId 314258: Max Volume jobs=1 exceeded. Marking > Volume "IncrAuto-7393" as Used. > 24-Jul 03:05 bacula-sd-01-sd JobId 314258: Elapsed time=00:00:03, Transfer > rate=0 Bytes/second > 24-Jul 03:05 bacula-sd-01-sd JobId 314258: Sending spooled attrs to the > Director. Despooling 0 bytes ... > 24-Jul 03:05 bacula-dir JobId 314258: Bacula bacula-dir 9.6.5 (11Jun20): > Build OS: amd64-portbld-freebsd12.1 freebsd 12.1-RELEASE-p7 > JobId: 314258 > Job:tallboy_home.2020-07-24_03.05.00_08 > Backup Level: Incremental, since=2020-07-23 03:05:17 > Client: "tallboy-fd" 9.6.5 (11Jun20) > amd64-portbld-freebsd12.1,freebsd,12.1-RELEASE-p7 > FileSet:"tallboy home" 2012-12-20 14:19:02 > Pool: "IncrFile" (From Job IncPool override) > Catalog:"MyCatalog" (From Client resource) > Storage:"bacula-sd-01-IncrFile" (From Pool resource) > Scheduled time: 24-Jul-2020 03:05:00 > Start time: 24-Jul-2020 03:05:17 > End time: 24-Jul-2020 03:05:21 > Elapsed time: 4 secs > Priority: 10 > FD Files Written: 0 > SD Files Written: 0 > FD Bytes Written: 0 (0 B) > SD Bytes Written: 0 (0 B) This job wrote nothing to the volume, so there is nothing to add to the BSR file. __Martin ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] BSR file not updated with every job
I'm using Bacula 9.6.5 on FreeBSD 12.1 I have noticed a BSR file which is not getting updated after every job run. The client: Client { Name = tallboy-fd Address= tallboy.example.org FDPort = 9102 Catalog= MyCatalog Password = "[redacted]" TLS Require = yes TLS Enable = yes TLS CA Certificate File = /usr/local/bacula/certificates/ca.crt TLS Certificate = /usr/local/bacula/certificates/client.crt TLS Key = /usr/local/bacula/certificates/client.key File Retention = 3 years JobRetention = 3 years Maximum Concurrent Jobs = 5 } The job is: Job { Name= "tallboy home" JobDefs = "DefaultJob" Client = "tallboy-fd" FileSet = "tallboy home" } The job defs are: JobDefs { Name= "DefaultJob" Type= Backup Level = Incremental Schedule= "WeeklyCycle" Storage = CreyFile Messages= Standard Write Bootstrap = "/usr/local/bacula/bsr/%c_%n.bsr" Pool= FullFile # required parameter for all Jobs Full Backup Pool = FullFile Differential Backup Pool = DiffFile Incremental Backup Pool = IncrFile Priority= 10 # don't spool date when backing up to disk Spool Data = no Spool Attributes = yes PreferMountedVolumes = no } This is the most recent job, from today: 24-Jul 03:05 bacula-dir JobId 314258: Start Backup JobId 314258, Job=tallboy_home.2020-07-24_03.05.00_08 24-Jul 03:05 bacula-dir JobId 314258: There are no more Jobs associated with Volume "IncrAuto-7393". Marking it purged. 24-Jul 03:05 bacula-dir JobId 314258: All records pruned from Volume "IncrAuto-7393"; marking it "Purged" 24-Jul 03:05 bacula-dir JobId 314258: Recycled volume "IncrAuto-7393" 24-Jul 03:05 bacula-dir JobId 314258: Using Device "vDrive-IncrFile-6" to write. 24-Jul 03:05 bacula-sd-01-sd JobId 314258: Recycled volume "IncrAuto-7393" on File device "vDrive-IncrFile-6" (/usr/local/bacula/volumes/IncrFile), all previous data lost. 24-Jul 03:05 bacula-dir JobId 314258: Max Volume jobs=1 exceeded. Marking Volume "IncrAuto-7393" as Used. 24-Jul 03:05 bacula-sd-01-sd JobId 314258: Elapsed time=00:00:03, Transfer rate=0 Bytes/second 24-Jul 03:05 bacula-sd-01-sd JobId 314258: Sending spooled attrs to the Director. Despooling 0 bytes ... 24-Jul 03:05 bacula-dir JobId 314258: Bacula bacula-dir 9.6.5 (11Jun20): Build OS: amd64-portbld-freebsd12.1 freebsd 12.1-RELEASE-p7 JobId: 314258 Job:tallboy_home.2020-07-24_03.05.00_08 Backup Level: Incremental, since=2020-07-23 03:05:17 Client: "tallboy-fd" 9.6.5 (11Jun20) amd64-portbld-freebsd12.1,freebsd,12.1-RELEASE-p7 FileSet:"tallboy home" 2012-12-20 14:19:02 Pool: "IncrFile" (From Job IncPool override) Catalog:"MyCatalog" (From Client resource) Storage:"bacula-sd-01-IncrFile" (From Pool resource) Scheduled time: 24-Jul-2020 03:05:00 Start time: 24-Jul-2020 03:05:17 End time: 24-Jul-2020 03:05:21 Elapsed time: 4 secs Priority: 10 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 Comm Line Compression: None Snapshot/VSS: no Encryption: no Accurate: no Volume name(s): Volume Session Id: 1116 Volume Session Time:1594656307 Last Volume Bytes: 670 (670 B) Non-fatal FD errors:0 SD Errors: 0 FD termination status: OK SD termination status: OK Termination:Backup OK 24-Jul 03:05 bacula-dir JobId 314258: Begin pruning Jobs older than 3 years . 24-Jul 03:05 bacula-dir JobId 314258: No Jobs found to prune. 24-Jul 03:05 bacula-dir JobId 314258: Begin pruning Files. 24-Jul 03:05 bacula-dir JobId 314258: No Files found to prune. 24-Jul 03:05 bacula-dir JobId 314258: End auto prune. However, the most recent BSR contains: [dan@bacula:/usr/local/bacula/bsr] $ ls -l tallboy-fd_tallboy_home.bsr -rw-r- 1 bacula bacula 811 Jul 19 03:05 tallboy-fd_tallboy_home.bsr [dan@bacula:/usr/local/bacula/bsr] $ cat tallboy-fd_tallboy_home.bsr # 16-Jul-2020 16:19:59 - tallboy_home.2020-07-05_03.05.02_01 - Full, since=2020-07-16 03:05:07 Volume="HQ0024L4" MediaType="LTO4" Slot=3 VolSessionId=32 VolSessionTime=1594911018 VolAddr=1791001367956-1791001368387 FileIndex=1-91 Volume="HQ0024L4" MediaType="LTO4" Slot=3 VolSessionId=32 VolSessionTime=1594911018 VolAddr=1833951043364-1833951043364 FileIndex=91-130 # 18-Jul-2020 03:05:24 - tallboy_home.2020-07-18_03.05.01_50 - Incremental, since=2020-07-17 03:05:08 Volume="IncrAuto-11646" MediaType="IncrFile" VolSessionId=349 VolSessionTime=1594656307 VolAddr=257-14794 FileIndex=1-3 # 19-Jul-2020 03: