PerfectClone is a program for easy backup and restore partitions.
It is writen in ANSI C with ncurses interface to clone and restore partitions from a LiveCD/USB (GNU/Linux or BSD for example).
Some of its most important features are:
./configure && make
./perfect-clone