def METHOD_NAME(self, backup: Dict[str, Any]) -> None:
    self.restoringStateChanged.emit(is_restoring = True)
    download_url = backup.get("download_url")
    if not download_url:
        # If there is no download URL, we can't restore the backup.
        Logger.warning("backup download_url is missing. Aborting backup.")
        self.restoringStateChanged.emit(is_restoring = False,
                                        error_message = catalog.i18nc("@info:backup_status",
                                                                    "There was an error trying to restore your backup."))
        return
    restore_backup_job = RestoreBackupJob(backup)
    restore_backup_job.finished.connect(self._onRestoreFinished)
    restore_backup_job.start()