Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Andreas Rogge <andreas.rogge@bareos.com>
  • Loading branch information
franku and arogge committed Oct 8, 2020
1 parent 4a687c3 commit ff2c5d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Expand Up @@ -298,8 +298,6 @@ def start_backup_file(self, savepkt):
if self.options["fail_on_download_error"]:
self.active = False
error = True
else:
pass
elif worker_result == ABORT:
self.active = False
error = True
Expand Down
6 changes: 2 additions & 4 deletions docs/manuals/source/TasksAndConcepts/Plugins.rst
Expand Up @@ -1637,10 +1637,8 @@ Optional Plugin Options:
This option in the config file is optional:

fail_on_download_error
This parameter is by default False to keep a job running if for some reason a file cannot
be downloaded from a bucket because it is either deleted or moved to another space during
download. In this case a Job will be marked with warnings as this is the default of Bareos.
It is recommended not to change this option.
When this option is enabled, any error during a file download will fail the backup job.
By default a warning will be issued and the next file will be backed up.


.. _PerconaXtrabackupPlugin:
Expand Down

0 comments on commit ff2c5d2

Please sign in to comment.