Repository navigation
StateRestore 1.0.0
Go back to an earlier state of Haiku's system packages without the boot menu. Made for the cases where the boot menu is hard to
reach (a UEFI machine, a virtual machine whose display stays black in the loader) and for undoing an update that broke something.
Install
Two packages are attached:
staterestore-1.0.0-1-x86_64.hpkgis for 64-bit Haiku.staterestore-1.0.0-1-x86_gcc2.hpkgis for 32-bit Haiku (gcc 2 / hybrid).
Download the one for your system and install it for the whole system. It adds StateRestore to the Deskbar's Applications menu.
What it does
- Lists the earlier states Haiku keeps, with the current system on top. Each row has its date, its Haiku revision and how many packages
differ from now; the newest is marked PREVIOUS, and one with another Haiku OLDER or NEWER. Only states that can be restored are shown. - Select one to see what restoring it would change: packages that change version, are taken out or are put back.
- Restore swaps the packages. What it replaces is kept in
~/config/var/StateRestore/held/, and Undo last restore puts it back.
Restart afterwards: the kernel comes from thehaikupackage, so the old system starts with the next boot. - Delete selected… deletes the states you pick, after a confirmation that says how much space it frees and how many other
states could no longer be restored. - Delete unrestorable… deletes the states that cannot be restored, keeping the ones whose package files other states need.
- Save syslog to Desktop copies the system log,
listusb,listdev,unameand the list of active packages to a folder, to send to
someone. - A command line too:
StateRestore --list,--plan,--restore,--undo,--delete,--cleanup,--syslog.
Limits
It only helps while the system still boots; a system that does not start needs the boot menu or a rescue disk. It handles the system
packages, not the ones in ~/config/packages.
Files and SHA-256
933893037f63763147b78abdfc2c597c971d3186d648e857f4f28840280f63e1 staterestore-1.0.0-1-x86_64.hpkg
69dad7147b01a1e43a89cc27c63d5664b8bd0b35859e672830a7dc9398207e78 staterestore-1.0.0-1-x86_gcc2.hpkg
Source
https://github.com/ablyssx74/StateRestore, tag v1.0.0. The package is not signed. StateRestore is under the MIT license.