View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001524 | bareos-core | file daemon | public | 2023-03-14 16:11 | 2023-10-10 14:56 |
Reporter | Petya Genius | Assigned To | bruno-at-bareos | ||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Platform | Linux | OS | RHEL (and clones) | OS Version | 8 |
Summary | 0001524: bpipe does not track the status of the running program | ||||
Description | Hello! 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 Reproduce | File 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'" } } | ||||
Tags | No tags attached. | ||||
bpipe is a stupid dumb program that just pipe what it receive. It is to the reader pipe to check what happen during the backup. https://docs.bareos.org/master/TasksAndConcepts/Plugins.html#bpipe-plugin |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2023-03-14 16:11 | Petya Genius | New Issue | |
2023-10-10 14:56 | bruno-at-bareos | Assigned To | => bruno-at-bareos |
2023-10-10 14:56 | bruno-at-bareos | Status | new => closed |
2023-10-10 14:56 | bruno-at-bareos | Resolution | open => won't fix |
2023-10-10 14:56 | bruno-at-bareos | Note Added: 0005454 |