Need help reconnecting/recovering repo

I had a repo on another computer, accessed using ssh.

❯ cat .dvc/config
[core]
    autostage = true
    remote = imac
['remote "imac"']
    url = ssh://10.0.0.122:/Volumes/Data/dvc/sleep

I ran out of space on the iMac, and created a local repo on my machine. I have since worked using this local repo. I didn’t copy the repo from the imac to the local machine (mistake).
Now, I have restored my backup of the sleep repo on the iMac Pro from Backblaze, have checked out an old commit of my source from git hub (25-May-2023), and would like to retrieve the data files from the repo on the iMac Pro. Looking at files on the iMac, I see files as recent as August, so this May commit should be there.

So far, I have been unsuccessful.
I would appreciate any help!

list and pull results

❯ dvc remote list                                                
imac	ssh://10.0.0.122:/Volumes/Data/dvc/sleep

Sleep on  N1_0-81_others_not_so_much [!] 
❯ dvc pull              
ERROR: unexpected error - failed to load directory ('refs',): [Errno 2] No such file or directory: No such file

trying the data folder alone

Sleep on  N1_0-81_others_not_so_much 
❯ dvc pull -r imac data
ERROR: unexpected error - failed to load directory ('data',): [Errno 2] No such file or directory: No such file

doctor results

Sleep on  N1_0-81_others_not_so_much 
❯ dvc doctor            
DVC version: 3.11.1 (pip)
-------------------------
Platform: Python 3.10.10 on Linux-6.1.0-12-amd64-x86_64-with-glibc2.36
Subprojects:
	dvc_data = 2.10.1
	dvc_objects = 0.24.1
	dvc_render = 0.5.3
	dvc_task = 0.3.0
	scmrepo = 1.1.0
Supports:
	http (aiohttp = 3.8.5, aiohttp-retry = 2.8.3),
	https (aiohttp = 3.8.5, aiohttp-retry = 2.8.3),
	ssh (sshfs = 2023.7.0)
Config:
	Global: /home/john/.config/dvc
	System: /etc/xdg/dvc
Cache types: hardlink, symlink
Cache directory: zfs on nvme/work
Caches: local
Remotes: ssh
Workspace directory: zfs on nvme/work
Repo: dvc, git
Repo.site_cache_dir: /var/tmp/dvc/repo/55835d4f82c33b85af793c32b52d3164

You are using dvc version 3.11.1; however, version 3.22.0 is available.
To upgrade, run 'pip install --upgrade dvc'.
Sleep on  N1_0-81_others_not_so_much [!] 
❯ dvc list --dvc-only ssh://10.0.0.122:/Volumes/Data/dvc/sleep
Cloning sleep|                                                                |0.00/? [00:00,      ?obj/s]

Ran for 35+ minutes with no change in output. (aborted)

Even though I changed the remote, it seems to still be looking for the data in the previous folder, /tank/data.
This is a new working folder that I git cloned from github.

Sleep_N1 (35a1107) took 2s 
❯ dvc fetch -A -R data
ERROR: failed to collect 'e17c402319ea4c6e734ef521c4a7aefe384ad8cd' - 'data' does not exist as an output or a stage name in 'dvc.yaml': 'dvc.yaml' does not exist
ERROR: failed to collect 'ac8d944b3ac8d710c99529728cba039d961548b8' - 'data' does not exist as an output or a stage name in 'dvc.yaml': 'dvc.yaml' does not exist
ERROR: unexpected error - failed to load directory ('data',): [Errno 2] No such file or directory: '/tank/data/sleep/files/md5/8f/81978710fccec3e53a442df76b6b95.dir'

Having any troubles? Hit us up at https://dvc.org/support, we are always happy to help!

Sleep_N1 (35a1107) took 2s 
❯ dvc remote list     
imac	ssh://10.0.0.122:/Volumes/Data/dvc/sleep

Sleep_N1 (35a1107) 
❯ cat data.dvc
outs:
- md5: e0b9138863a71c36e021141e68c749ad.dir
  size: 114905013256
  nfiles: 1717
  path: data

Sleep_N1 (35a1107) 
❯ cat .dvc/config
[core]
    remote = imac
    autostage = true
['remote "imac"']
    url = ssh://10.0.0.122:/Volumes/Data/dvc/sleep
	jobs = 4

Sleep_N1 (35a1107) 
❯ 

Can you try updating to the latest DVC release (3.22.1)? There was a remote index caching bug in earlier 3.x releases that may be causing your issue which has been fixed in the current version.

Thanks. I’ve updated but things have gone sideways; probably due to me.
Restoring a backup.