turris-maintain: split off turris-backup and rewrite
This makes backup scripts more accessible and also adds additional features. The short list is: * Inclusion of sysupgrade files (OpenWrt's way to mark files for backup) * Optional inclusion of modified configuration files * More strict inclusion for previously included files * Protection against recovery from other major versions of OS The last change is the most important as it is not just plain addition but the incompatible change. This is intentional as the protection is more desirable than the compatibility. The use of the scripts is same as the previously but recovery of backup from different major OS version is not allowed.
parent
62f0366c
No related branches found
No related tags found
Showing
- utils/turris-maintain/Makefile 42 additions, 13 deletionsutils/turris-maintain/Makefile
- utils/turris-maintain/files/README.md 42 additions, 0 deletionsutils/turris-maintain/files/README.md
- utils/turris-maintain/files/backups.conf 0 additions, 22 deletionsutils/turris-maintain/files/backups.conf
- utils/turris-maintain/files/backups.uci 13 additions, 0 deletionsutils/turris-maintain/files/backups.uci
- utils/turris-maintain/files/config-backup.sh 130 additions, 24 deletionsutils/turris-maintain/files/config-backup.sh
- utils/turris-maintain/files/config-restore.sh 122 additions, 17 deletionsutils/turris-maintain/files/config-restore.sh
utils/turris-maintain/files/README.md
0 → 100644
utils/turris-maintain/files/backups.uci
0 → 100644
Please register or sign in to comment