I have Ubuntu Server 12.04.1 running. The OS is split up on a 500 GB HDD.
20 GB = /
Remainder = /media/primary_drive
I want to back up the root partition only. My intention is to capture that partition and have it be restore-able to another drive.
Scenario 1 = Root HDD dies. Install a new HDD of any size that's larger than 20 GB, whether it be 40, 160, 320, 1 TB, etc. Restore the image, boot up, everything just works.
Scenario 2 = In time, I want to replace the HDD with an SSD. I want to install the SSD, restore the image, boot up, and everything just works.
I'm just a little unsure of how to go about this and what the best solution is. Some discussions with other users has kind of ruled out "DD" from the equation due to DD being block level, and my intention of someday going to an SSD kind of nullifies that. Is Clonezilla Live my best bet? Can CZ Live restore singular partitions (like / in my case) and bingo, it boots up fine? Or should I result to some sort of CLI command, like cp or tar?
Overall, just curious what you guys use and what you recommend. Need some more food choices on the table before I pick the main course.