Merge "Catch exceptions from backup runner"
This commit is contained in:
commit
5263c74a78
@ -76,9 +76,9 @@ class BackupAgent(object):
|
|||||||
**backup_state)
|
**backup_state)
|
||||||
LOG.debug("Updated state for %s to %s.", backup_id, backup_state)
|
LOG.debug("Updated state for %s to %s.", backup_id, backup_state)
|
||||||
|
|
||||||
|
try:
|
||||||
with runner(filename=backup_id, extra_opts=extra_opts,
|
with runner(filename=backup_id, extra_opts=extra_opts,
|
||||||
**parent_metadata) as bkup:
|
**parent_metadata) as bkup:
|
||||||
try:
|
|
||||||
LOG.debug("Starting backup %s.", backup_id)
|
LOG.debug("Starting backup %s.", backup_id)
|
||||||
meta = {}
|
meta = {}
|
||||||
meta['datastore'] = backup_info['datastore']
|
meta['datastore'] = backup_info['datastore']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user