While working on the sync feature #48 i noticed that for sync the syncjob checks by identifying if an backup is active by using the "Size" flag of an snapshot:
Ok(snapshot_list
.into_iter()
.filter_map(|item: SnapshotListItem| {
let snapshot = item.backup;
// in-progress backups can't be synced
if item.size.is_none() {
task_log!(
worker,
"skipping snapshot {} - in-progress backup",
while we can "fake" this response for the sync to work, the current implementation has no real way to determine if an
backup is still active.
I think we could either use an "active" flag which is added as the backup starts and cleared as it is finished?
While working on the sync feature #48 i noticed that for sync the syncjob checks by identifying if an backup is active by using the "Size" flag of an snapshot:
while we can "fake" this response for the sync to work, the current implementation has no real way to determine if an
backup is still active.
I think we could either use an "active" flag which is added as the backup starts and cleared as it is finished?