April 26, 20251 yr Hello, is there a chance to restore docker networks from local-kv.db ? I did this ... ... because my br0 was missing and it successfully recovered it but now all my custom docker networks are gone. Can I revert this without risking to loose br0 again in the docker tab ? I have .... : - a backup of the local-kv.db before I deleted it and restarted the docker service - daily backups (the last 100 or so) of the whole USB created with the "appdata backup" plugin - restarted the system and docker Any ideas how to do this the most clean way without me messing stuff up would be awesome. Thanks
April 26, 20251 yr Community Expert Solution I'm goin to say no. Mainly due to unknown ip routes and adaption docker.img and sub voulme files that are created and used that are now gon due to the rest commands... ATM, not that I know of even if you replace the db file there are other location and setting that need restored, and you would just end up still having to recreate the docker network... if not having a corrupt issue as the db file is point to things that don't exist... First double check your docker settings and make sure preser user is set to yes if you did the commands there to rebuild you lost every docker network and config. you will need to rerun the docker network create command to make thoese dockers again. then edit any docker that used that network and set it up again in the template to use that docker network...
April 26, 20251 yr Author 6 minutes ago, bmartino1 said: ATM, not that I know of even if you replace the db file there are other location and setting that need restored That's what I thought, unfortunate. But thanks anyway. 7 minutes ago, bmartino1 said: First double check your docker settings and make sure preser user is set to yes The setting is on since years and I never turned it off. 8 minutes ago, bmartino1 said: if you did the commands there to rebuild you lost every docker network and config. The configs are still there and didn't change, only the networks are gone and also the command to restart mentioned something about the deleted docker networks. I will try to recreate the network ones again to see the message and recreate the one missing manually. 11 minutes ago, bmartino1 said: then edit any docker that used that network and set it up again in the template to use that docker network... Okay will do that. It is unfortunate to see that even with backups there is no chance to restore this. I even was able to look inside the db to see my old networks, why is there no chance to restore them somehow ? At least the name,Ip range and which containers were attched ?
April 26, 20251 yr Community Expert the issues stems form a restore and a docker network check that the docker network is non existent and thus removed. sorry its a limitation on the restore. as long as the docker network and name exisit. a appdata backup adn restore to the xml and its settings should work... but there's alot of unknowns. possible yes effective and reproducible no.
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.