is there a way to recover snapshots to a share that has been completely deleted?

I tried moving my docker install over to my new ssd volume and used scp to move the @docker folder to the new volume so I wouldn’t lose all my containers. I started getting permissions errors, but it seemed I had fixed them by starting the containers with pgid/puid as root, then changing back to the dockerlimited user and starting the containers again. seemed to work fine but then watchtower updated an image and it totally fried that container, with some btrfs can’t remove subvolume issue. i couldn’t delete, reset or start the container so it was like frozen. i tried to create a brand new container of the same image using portainer and it failed with another ocr init not found error. so i tried a nuclear option of chmod 777 of the entire @docker folder and i still wasn’t able to create a container with portainer. it was giving the same error. so I figured the permissions and everything were so screwed up, the only thing to do is start from fresh. I used a docker-autocompose script to make compose files of all my containers and saved them in my docker shared folder.

Then i uninstalled container manager and checked the box to delete images, containers and shares. this deleted my docker share and the docker share i created as a backup. I think everything must still be there because even there’s no share folders attributed to that volume, storage manager says theres still data on the drive. when i view usage details I see that snapshot is taking what i would expect to the correct amount for a full backup of the share folder i’d had but i can’t tell for sure. Still I’m fairly positive the snapshot is my of my docker share. snapshot logs have this line from 5am today: ‘Took a shared folder snapshot [GMT-05-2023.07.24-05.00.01] from share [docker] by [scheduler].’

How can I recover the share from the snapshot when the share doesn’t exist anymore? If I create a new shared folder with the same name, would I be able to use the snapshot then? I’m honestly afraid to touch anything now because it seems at every step I just keep shooting myself in the foot and making things worse. Idk what to do.

  • MonkCanatellaOP
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    And I have some external HDDs I could’ve plugged in too :/ Definitely going to be doing that when I get this resolved, or remake all my containers whichever I end up doing. Setting up Home Assistant will probably the worst of it. Hopefully