0

This question is related to this one: 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?

David
  • 437
  • 1
  • 5
  • 11

1 Answers1

3

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.

Peter Schuetze
  • 1,231
  • 10
  • 17