Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

This question is related to this one: http://serverfault.com/questions/97956/automated-windows-restart-testing

In order to automate testing in Windows, it could be useful to save multiple hibernate states and running them to see whether a new version of some software behaves appropriately in the different states. Is it possible to save multiple hibernate states?

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

I assume you are talking about Windows saving the current memory contents in a hibernate file.

My first thought was, sure, just boot that machine with a different OS (may be linux or even a second Windows) and copy the file to a archive. However, you probably also need to save thw pagefile than too. I am not sure what else you need. So the safest way would be to backup the whole hard drive.

That said, it might be the easiest to use a virtual machine. Than you can hibernate your Windows and backup the whole virtual machine. You can later restore it several times or restore different hibernate scenarios.

share|improve this answer
    
+1 Virtual machines for automating testing –  Oskar Duveborn Dec 29 '09 at 16:01
    
+1 for VMs. VMware Workstation is superb for this type of thing. –  Corey S. Dec 29 '09 at 19:00
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.