Rebuild Docker AppData from appdata folders?


Recommended Posts

Hello Unraid Community. I have a bit of an issue so let me break it down as quickly as possible;

 

Unraid became unresponsive a few days ago. I did a reboot, things worked fine. Then it happened again and this time it would not boot up. I hooked up a monitor to my tower and saw that files failed checksum and the flash was corrupted. Oh no...

My last flash backup was in May of 2022, and I have made changes to Unraid since then. I know i messed up by not setting up automatic backups and flash backups, but my system was running so smoothly that once it was set, I just forgot about it.

Flash forward to now, December 2023. Flash drive is dead. I tried for 2 days using every recovery method under the sun. The flash drive was read/write locked. Anywho; I at least remembered the drive assignments.

I read through the forums and decided to take action. I created a new Unraid Flash Drive, booted up, setup up a new config, arranged the drives how they were before, started the array. Parity synced fine. All my dockers apps appeared, even ones I deleted a while back. I could not edit any of them, and most did not work.

I read through the forums and learned that I should just turn off docker, delete the docker image, restart docker and start from scratch. When I do this all the docker apps come back but with the same issues outlined previously.

 

Here's my question:

 

Can I backup my entire /appdata directory to another machine....

Then restart from scratch installing each docker container one by one...

Then copy over all the appdata that I backed up and overwrite the new appdata?

 

Would that work? 

 

Bonus question while I have you here: The flash drive that I'm using at the moment is not one that I'm confident with, and I did not retrieve my key yet and kept it in Trial mode. I want to get a better, more premium flash drive first before I commit because to my understanding, you can only transfer your key to a new flash drive once a year. Can you link me a tried-and-tested super reliable flash drive? For context, my old one was a SanDisk 16GB Ultra Fit USB 3.1. Thank you.

Link to comment
2 minutes ago, GoldenCyn said:

Bonus question while I have you here: The flash drive that I'm using at the moment is not one that I'm confident with, and I did not retrieve my key yet and kept it in Trial mode. I want to get a better, more premium flash drive first before I commit because to my understanding, you can only transfer your key to a new flash drive once a year. Can you link me a tried-and-tested super reliable flash drive? For context, my old one was a SanDisk 16GB Ultra Fit USB 3.1.

I don’t think there is answer to ultra-reliable.    The generic guidance is go with USB2 drives if possible (or at least a USB2 port) as they tend to run cooler.  If going for USB3 drives then it tends to be a good idea to avoid nano form factor and go for ones with metallic cases (as USB3 drives tend to run hot) to aid with heat dissipation as heat is not good for electronics.  I have been using Sandisk and Kingston USB2 drives for many years without issues although they are now getting harder to source.
 

in terms of the transfer you can get one automated transfer annually which can be done very quickly, and if for any reason you need another you need to contact support which can add a day or two delay to the process.

Link to comment

On my machine I have a port on the mother board internally. Or sometimes you can get a dongle that can connect to the onboard via an adapter. I have small animals known as kids and a cat and they often would roam around and I feared over heating so internally my fans keep things cool and I'm not worried about something protruding out. 

 

Just an option and an idea to explore. 

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.