View Issue Details

IDProjectCategoryView StatusLast Update
0001524bareos-corefile daemonpublic2023-03-14 16:11
ReporterPetya Genius Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSRHEL (and clones)OS Version8
Summary0001524: bpipe does not track the status of the running program
DescriptionHello!
When using the plugin bpipe, I found that this plugin does not track the execution status of the running program. If a running program in bpipe fails, the backup task itself completes successfully without checking the status of the running program.

For example:
Plugin = "bpipe:file=/var/backup:reader=bash -c 'pg_basebackup --host=testhost --username=postgres --wal-method=none --format=tar -D -':writer=bash -c 'tar xf - -C /var/backup'"

If pg_basebackup fails with an error (the host is unavailable, the host turned off during the backup, etc.), the backup task itself will succeed.
Anything can be written in bash -c, the execution status will not be tracked. If the program fails, nothing is written to stderr.

Thank you in advance!
Steps To ReproduceFile Set {
  Name = "test-fileset"
  Description = "FileSet for tests"
  Include {
    Options {
      Signature = MD5
    }
    Plugin = "bpipe:file=/var/backup:reader=bash -c 'pg_basebackup --host=testhost --username=postgres --wal-method=none --format=tar -D -':writer=bash -c 'tar xf - -C /var/backup'"
    }
}
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

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-03-14 16:11 Petya Genius New Issue