Reinstall, restore and wipe your system from the level and in the place of the running GNU/Linux distribution (without cd-rom, flash and other). Via SSH, without rebooting.
How it works?
Set your archive with system backup to restore:
_build="/mnt/system-backup.tgz"
_base="/mnt/minimal-base"
If you do not specify this parameter, the temporary system will be downloaded automatically.Set path to main system disk:
_disk="/dev/vda"
reload.sh
:./bin/reload.sh --base "$_base" --build "$_build" --disk "$_disk"
Contributions
Suggestions and pull requests are welcome. See also this.
See also