Improve backup and restore procedure #352
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a revitalization of the pull requests #315, #317, and #320 which contains roughly the same outcome as those. Compared to them the separation into chunks/commits is different in a way that should make things clearer, especially with better consistency and coherence of these chunks.
The backup script stores all XCSoar settings and relevant OpenVario settings like:
- brightness of the display
- rotation
- touch screen calibration
- language settings
- dropbear settings
- SSH, variod and sensord status
Backups are stored on a USB stick at a place depending on the MAC address of eth0 which is unique for any device. So you can store more than one backup on the same stick.
We've added a reworked system info script, too. It gives an overview which packages and which versions are installed. It also shows IP addresses, kernel, host, system daemon status and other info. A bunch of new further system information was added also.
The backup and restore functions and menus have been made more user-friendly and should comprise a whole set of backup abilities now. Efficiency has been improved. Added a progress bar. Display error codes to the user transparently. Regarding the naming of functions and scripts consistency has been improved. This has been done by a rather complex renaming. Some old functionality has been dropped, new functionality has been added in the menus and backup scripts. See the individual commit comments for more details!
This is a joint work of @Blaubart and @7lima.