View Issue Details

IDProjectCategoryView StatusLast Update
0001523bareos-corefile daemonpublic2023-06-26 13:52
Reportermp Assigned Tobruno-at-bareos  
PriorityurgentSeveritycrashReproducibilityalways
Status resolvedResolutionduplicate 
Product Version22.0.2 
Summary0001523: fatal error bareos-fd for full backup postgresql 11
DescriptionFull backup of Postgesql 11 crash with error:
Error: python3-fd-mod: Could net get stat-info for file /var/lib/postgresql/11/main/base/964374/t4_384322129: "[Errno 2] No such file or directory: '/var/lib/postgresql/11/main/base/964374/t4_384322129'"

1c-pg11-fd JobId 238: Fatal error: bareosfd: Traceback (most recent call last):
File "/usr/lib/bareos/plugins/BareosFdWrapper.py", line 61, in start_backup_file
return bareos_fd_plugin_object.start_backup_file(savepkt)
File "/usr/lib/bareos/plugins/BareosFdPluginPostgres.py", line 396, in start_backup_file
return super(BareosFdPluginPostgres, self).start_backup_file(savepkt)
File "/usr/lib/bareos/plugins/BareosFdPluginLocalFilesBaseclass.py", line 118, in start_backup_file
mystatp.st_mode = statp.st_mode
UnboundLocalError: local variable 'statp' referenced before assignment
Additional InformationBackup fail every time when try to backup postgesql 11. At same time backup of pg14 finished w/o any problem
TagsNo tags attached.

Activities

bruno-at-bareos

bruno-at-bareos

2023-06-26 10:10

manager   ~0005093

Last edited: 2023-06-26 10:11

Is this reproducible in a way or another. Looks like your table (or part of) has been dropped during the backup ?

Is a vacuum full works on this table ? and the file exist ?
bruno-at-bareos

bruno-at-bareos

2023-06-26 13:52

manager   ~0005099

In issue 1520 we acknowledge that having a warning instead an error should be the right behavior.

Issue History

Date Modified Username Field Change
2023-03-13 13:09 mp New Issue
2023-06-26 10:10 bruno-at-bareos Assigned To => bruno-at-bareos
2023-06-26 10:10 bruno-at-bareos Status new => feedback
2023-06-26 10:10 bruno-at-bareos Note Added: 0005093
2023-06-26 10:11 bruno-at-bareos Note Edited: 0005093
2023-06-26 13:52 bruno-at-bareos Status feedback => resolved
2023-06-26 13:52 bruno-at-bareos Resolution open => duplicate
2023-06-26 13:52 bruno-at-bareos Note Added: 0005099