-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[update-config] Create a backup of the local UCI configuration to be able to set it back to its original state #72
Comments
Problem: Consequences:
Solution (backup only files that will be changed, very simpled algorithm):
|
I don't understand what you're trying to say. The use of sysupgrade hasn't been changed and it's not involved here at all. The issue addressed here is that if openwisp-config modifies an element twice then it has no history available to tell wether the element was originally either added or modified by openwisp-config. Thus it is not able to restore the original state. This change fixes that. |
Sorry... I mixed up a little bit. |
If you have valid and serious concerns about my changes then please speak up and elaborate. It might be possible that I failed to get your point. Maybe @nemesisdesign can also add his take on this. |
@BlancLoup where you mixing this issue with #81? |
Hi, I am just thinking what is the need of deleting the files when update the configurations? is there any specific reason for that? By the way, is this issue resolved ? |
Today a workmate of mine had the issue that an outdated backup of When he applied changes to Which led to the issue that |
Right now openwisp-config doesn't keep a backup of the local UCI configuration (all files in
/etc/config
).This can lead to situations where settings are lost:
Thus a backup of the initial configuration should be created and restored when the modifications are removed.
The text was updated successfully, but these errors were encountered: