July 21, 20241 yr So, for some reason I had to recreate my docker.img file, and I did that by also switching to folder instead of a docker image. now I just realised that one of my compose files used a volume instead of persistent storage in a folder… quite stupid but it happened. thankfully I did not delete the docker.img so I have a bit of hope to recover the data. is there a way to extract the contents of a docker volume from the docker.img file?
July 21, 20241 yr Community Expert Best way is probably to switch back to that image, then run the container in question and use docker cp to copy the data out.
July 22, 20241 yr Author can io do that from a different system? run the docjer.img on my pc or smthing? or do ihave to take my server offline again?
July 22, 20241 yr Community Expert Should be possible, just everything in there is in folders named with nondescript hashes so you have to find the right one. You'll want to do that on a linux system and save to a linux filesystem to preserve the file ownership/permissions.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.