Added task_discarded to the backup process