View Issue Details

IDProjectCategoryView StatusLast Update
0001520bareos-corefile daemonpublic2023-03-04 16:14
Reportervsa16 Assigned To 
Status newResolutionopen 
OSUbuntuOS Version22.04 
Product Version22.0.2 
Summary0001520: PostgreSQL-PITR plugin bug
DescriptionThe plugin sometimes fails to perform a full backup job. As far as I have figured out, the problem is exception handling in
bareos/core/src/plugins/filed/python/pyfiles/ line 104
Steps To ReproduceDuring full backup, force Postgres to delete files from its data directory
Additional InformationSuspected job logs:
vm-postgres-14 JobId 56: Fatal error: bareosfd: Traceback (most recent call last):
File "/usr/lib/bareos/plugins/", line 42, in start_backup_file
return bareos_fd_plugin_object.start_backup_file(savepkt)
File "/usr/lib/bareos/plugins/", line 396, in start_backup_file
return super(BareosFdPluginPostgres, self).start_backup_file(savepkt)
File "/usr/lib/bareos/plugins/", line 118, in start_backup_file
mystatp.st_mode = statp.st_mode
UnboundLocalError: local variable 'statp' referenced before assignment
vm-postgres-14 JobId 56: Error: python3-fd-mod: Could net get stat-info for file /var/lib/postgresql/14/main/base/16394/1682658_fsm: "[Errno 2] No such file or directory: '/var/lib/postgresql/14/main/base/16394/1682658_fsm'"
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-19.2: impact
bareos-19.2: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-03-04 16:14 vsa16 New Issue