How do I upgrade the Image without losing settings

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
AndyPC
Posts: 6
Joined: Thu Dec 14, 2017 7:17 am

How do I upgrade the Image without losing settings

Post by AndyPC » Fri Feb 09, 2018 8:18 am

Hi there, just logged into my DietPi (backup DNS and DHCP server for my home network) and got this message

An updated DietPi image is available, please goto:
http://dietpi.com/phpbb/viewtopic.php?f=8&t=9#p9

So, how do I upgrade the image, but retain my network, DNS server, DHCP server, and WebMin configuration?

Can anyone advise, or point me in the right direction.

Thanks, in advance.

User avatar
MichaIng
Legend
Posts: 208
Joined: Sat Nov 18, 2017 5:21 pm

Re: How do I upgrade the Image without losing settings

Post by MichaIng » Fri Feb 09, 2018 2:46 pm

Read my post here: http://dietpi.com/phpbb/viewtopic.php?f=9&t=2799
I hope this helps for the start.

The best practice is indeed to do a dietpi-backup, mount this to the new system and copy manual adjusted config lines, over into the new config files.

AndyPC
Posts: 6
Joined: Thu Dec 14, 2017 7:17 am

Re: How do I upgrade the Image without losing settings

Post by AndyPC » Fri Feb 09, 2018 3:25 pm

Thanks for the lead to a solution. Might try a WebMin backup/Restore as well as taking the DietPi backup.

Kymru
Posts: 20
Joined: Wed Jan 25, 2017 5:40 pm

Re: How do I upgrade the Image without losing settings

Post by Kymru » Tue Feb 27, 2018 8:26 pm

one day get this

An updated DietPi image is available, please goto:
http://dietpi.com/phpbb/viewtopic.php?f=8&t=9#p9

ok here goes, i am using 3 devices running DietPi

oDroid C1
oDroid C2
OrangePi Plus

all have various different jobs around one goal

C1 has Sonarr and Radarr and a few other downloading tasks
C2 is running Flexget, Transmission, TVheadend, jackett and also acting a NAS for my other C2 running LibreElec
OrangePi Plus has openVPN on it so i dont get prying eyes seeing what i am downloading

all these work in conjunction with each other and took a lot of testing to get right to how i wanted them to work, they work flawlessly atm and have done for months

is there a way of updating the image without disturbing my current setup? just the thought of going through all that again getting everything working just makes me want to stay on the current image

any help would be appreciated

User avatar
k-plan
Posts: 403
Joined: Sun Feb 28, 2016 4:28 pm

Re: How do I upgrade the Image without losing settings

Post by k-plan » Wed Feb 28, 2018 5:44 pm

Kymru wrote:is there a way of updating the image without disturbing my current setup?
The answer is sadly no. It's not a simple "update", it is a "upgrade".

https://github.com/Fourdee/DietPi/issue ... -361285443

Kymru wrote: just the thought of going through all that again getting everything working just makes me want to stay on the current image
If you are happy with your installation, you can stay on it.

The base Debian 8 “Jessie” LTS has until end of April 2020 support for security fixes by Debian.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.

Post Reply