Prompt to save config prior to upgrading

Started by CJ, April 22, 2021, 06:22:59 PM

Previous topic - Next topic
TrueNAS has a neat feature where when you go to apply an update, it prompts you to download your config file.  This way you don't have to remember to do so or even have to go to another page.

This feature could prevent a lot of problems for users since they could easily reinstall and upload the config.

Thanks.

Same thought yesterday when starting update and .... ooops! Forgot to safe the config...
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

Or as I do, back up config and critical scripts automatically every night... then I do not need to remember.  :)
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

Not sure if it's worth it. Funnily enough you can create a rc.syshook script for post-update-pre-reboot to back up your config with a single command using the facility Martin mentioned.


Cheers,
Franco

Mines a custom job using rsync, backs up my entire conf folder plus some scripts that live in etc and rc.d. Fresh install with all scripts back in place takes < 5 minutes.
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

Quote from: franco on April 22, 2021, 08:08:58 PM
Not sure if it's worth it. Funnily enough you can create a rc.syshook script for post-update-pre-reboot to back up your config with a single command using the facility Martin mentioned.


Cheers,
Franco

Sure, but are the majority of users going to bother?  Also, won't what you're suggesting just drop it on to the file system instead of the users computer?