*** System Restore ***
Well..., sort of
Here's a script for to create a timestamped restore point from the save storage, and/or restore to that point of time.
(earlier made similar for KLV viewtopic.php?p=103935#p103935, this is adapted for Debian Dog like systems, also should work with the Starter Kit: viewtopic.php?t=644)
EDIT: Update 2024-03-06 new restore-sys script attached below see for changes info: viewtopic.php?p=113526#p113526
Not required to run from terminal, just "click" on restore-sys script (after removing fake.gz and make executable), it's GUI based (using yad dialogs, depends on it).
It works only when booted with the "porteus-boot" way, with changes enabled, e.g. on the kernel commandline changes=/.... or changes=EXIT:/... (save at shutdown or on demand)
- Restoring (once created restore point(s) ) can be done only once (reboot recommended after restoring).
- Creating restore points is unlimited (i.e. making changes in the system > create new restore point ... can be repeated)
A "restore_history" log file will be created in the same directory as the changes folder (or e.g. changes.dat savefile), option to add extra info (will show in "restore_history" log file) : Example choice of restore points (which are created earlier) after choosing RESTORE :