Bob-omb Posted June 11 Share Posted June 11 I recently reinstalled Unraid because I was having some problems. I still have the appdata folder and I have restored it, but now Unraid says the configuration files cannot be found. I still have a flash backup, but I don't know which file/s I need to restore the configuration file/s for the docker images. Also, it would be very helpful if we had a guide on how to backup docker images. It was my impression that simply backing up data was enough, but it seems it is not. Quote Link to comment
JorgeB Posted June 11 Share Posted June 11 If you have the appdata folder, restore the templates-user folder to /config/plugins/dockerMan and then: https://docs.unraid.net/unraid-os/manual/docker-management/#re-create-the-docker-image-file Also see below if you have any custom docker networks: https://docs.unraid.net/unraid-os/manual/docker-management/#docker-custom-networks Quote Link to comment
Bob-omb Posted June 11 Author Share Posted June 11 Thanks for the instant help @JorgeB Much appreciated! I am still a beginner Unraider so please help me understand: Where can I find /config/plugins/dockerMan What is a custom docker network? I don't remember setting up one. Although I did pass some docker networks to another using --net=container:XYZ Quote Link to comment
itimpi Posted June 11 Share Posted June 11 19 minutes ago, Bob-omb said: /config/plugins/dockerMan That is a folder on the flash drive used to boot Unraid. Quote Link to comment
Bob-omb Posted June 11 Author Share Posted June 11 Do I need to shut down everything, take out the stick, transfer the files, and put it back in? Or is there a simpler way? Quote Link to comment
JorgeB Posted June 11 Share Posted June 11 You can transfer over LAN, if the flash drive is exported as an SMB share. Quote Link to comment
JorgeB Posted June 11 Share Posted June 11 Click on the flash and set export to yes. Quote Link to comment
Bob-omb Posted June 11 Author Share Posted June 11 The list of Docker installs is blank, but I have copied the app data content from the backup. What's going on? I also copied everything under \config\plugins\dockerMan to the flash drive and rebooted. What am I missing? Quote Link to comment
JorgeB Posted June 11 Share Posted June 11 After that you need to recreate the docker image: https://docs.unraid.net/unraid-os/manual/docker-management/#re-create-the-docker-image-file Also see below if you have any custom docker networks: https://docs.unraid.net/unraid-os/manual/docker-management/#docker-custom-networks Quote Link to comment
Bob-omb Posted June 11 Author Share Posted June 11 I did that. At least re-create the docker image file. Still nothing. Quote Link to comment
JorgeB Posted June 11 Share Posted June 11 Did you restore the containers from Apps? Quote Link to comment
Bob-omb Posted June 11 Author Share Posted June 11 What does that mean? Install them again manually? Quote Link to comment
Bob-omb Posted June 11 Author Share Posted June 11 I am confused. The first article? Where does it explain that? Quote Link to comment
itimpi Posted June 11 Share Posted June 11 12 minutes ago, Bob-omb said: I am confused. The first article? Where does it explain that? First explains how to first recreate the docker image file and then the next section explains how to reinstall docker applications with previous settings. Quote Link to comment
Bob-omb Posted June 11 Author Share Posted June 11 Ok so I tried to go to previous apps, but only some show up. These are the apps I installed from scratch before attempting to restore tye previous docker apps. Quote Link to comment
itimpi Posted June 11 Share Posted June 11 30 minutes ago, Bob-omb said: Ok so I tried to go to previous apps, but only some show up. These are the apps I installed from scratch before attempting to restore tye previous docker apps. Did you restore to the current flash drive the xml templates from the backup of the flash drive you said you have? they need to be present to get the Apps->Previous Apps to know what to offer. Quote Link to comment
Bob-omb Posted June 11 Author Share Posted June 11 Yes, I did, but I haven't rebooted. Is it necessary? Quote Link to comment
Solution Bob-omb Posted June 12 Author Solution Share Posted June 12 (edited) OK, I copied over /config/plugins/dockerMan once again, and I got it to work. Thanks guys! For future Unraiders the solution was namely to do as jorgeB mentioned, but more specifically: Copy the contents of the backed-up appdata to the production version of appdata Copy the contents of config/plugins/dockerMan from your backed-up flash drive to /config/plugins/dockerMan on the production flash drive. Re-create the docker image file. Re-install the previous docker applications Edited June 12 by Bob-omb Quote Link to comment
Recommended Posts
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.