code: def restore_run_backup(repo, run_hash):
      assert not repo.is_remote_repo
      repo_path = repo.path
      backups_dir = os.path.join(repo_path, "bcp")
  
      assert os.path.exists(backups_dir)
      with work_directory(repo_path):
          run_bcp_file = f"bcp/{run_hash}"
          shutil.rmtree(f"meta/chunks/{run_hash}", ignore_errors=True)
          shutil.rmtree(f"seqs/chunks/{run_hash}", ignore_errors=True)
          with tarfile.open(run_bcp_file, "r:gz") as tar:
              tar.extractall()
          progress_path = pathlib.Path("meta") / "progress" / run_hash
          progress_path.touch(exist_ok=True)
  
imports: import os
  import shutil
  import tarfile
  import pathlib
  import re
  import uuid
  from contextlib import contextmanager
  from typing import Union, Any, Tuple, Optional, Callable
  from aim.sdk.configs import get_aim_repo_name
  from aim.storage.object import CustomObject
  from logging import getLogger
label_desc: Use image node_id 8 for calling a global function with example usage: restore_run_backup(repo, run_hash) without return types