Bare metal recovery scripts for Linux systems
Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
backup_partitions.sh
restore_partitions.sh

README

Run 
$ sudo backup_partitions.sh /dev/sda 
to save partition metadata.

Save these files. Boot the rescue CD in times of need.
Retrieve the files as sfdisk_out and mbr.

Run
$ sudo restore_partitions sfdisk_out mbr