tape: improve backup task abort behaviour
This commit is contained in:
parent
a6c16894ff
commit
1f2c4713ef
@ -211,6 +211,8 @@ pub fn backup_snapshot(
|
||||
|
||||
let uuid = pool_writer.load_writable_media(worker)?;
|
||||
|
||||
worker.check_abort()?;
|
||||
|
||||
let (leom, _bytes) = pool_writer.append_chunk_archive(worker, &datastore, &mut chunk_iter)?;
|
||||
|
||||
if leom {
|
||||
@ -222,6 +224,8 @@ pub fn backup_snapshot(
|
||||
|
||||
let uuid = pool_writer.load_writable_media(worker)?;
|
||||
|
||||
worker.check_abort()?;
|
||||
|
||||
let (done, _bytes) = pool_writer.append_snapshot_archive(worker, &snapshot_reader)?;
|
||||
|
||||
if !done {
|
||||
|
Loading…
Reference in New Issue
Block a user