diff --git a/src/api2/tape/backup.rs b/src/api2/tape/backup.rs index 84d3851c..91f5983e 100644 --- a/src/api2/tape/backup.rs +++ b/src/api2/tape/backup.rs @@ -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 {