I've seen a few questions about how to install windows from linux using ISO. And after some search also found how to install an image of a linux from linux: Create an image file of a running Linux system
Now what I want to do is different there though. My plan is to make an image of my windows system drive (about once a month). And then use that to reinstall in case the hard drive fails or an installation went awry. And all of that as automatic as possible.
Thus I came up with the plan to use a linux there to boot (without installing the linux) and then use command line statements that I could then put onto an USB stick in order to just call a single command and get my hard drive and system back to working condition.
As I didn't find much info there, my question would be how to do it? In essence it boils down to these two parts:
- What do I need to keep in mind when creating the image (program restrictions, ...)
- How can I restore the image of the windows OS to the PC (what commands to use there, what to keep in mind)?
As a note: I'm taking the worst case scenario into account there that the hard drive crashed and has to be replaced. Thus the computer has no OS installed at all afterwards. Thus the idea of the live linux there. Maybe as a remark: The image of the windows drive should be created from within windows itself.
