Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Restore docker networks from local-kv.db

Featured Replies

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 

 

Solved by bmartino1

  • 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

image.thumb.png.925968910f6028f8993620d2dfe95706.png

 

 

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...

  • 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 ?

  • 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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.