GCE : Snapshot restore vs Disk Image











up vote
0
down vote

favorite












Will restoring a snapshot recreate the environment EXACTLY as it was at the point of the snapshot? I am specifically referring to the operating system and installed software.



If not, then I assume that a disk image is a correct approach










share|improve this question









New contributor




David Silverman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























    up vote
    0
    down vote

    favorite












    Will restoring a snapshot recreate the environment EXACTLY as it was at the point of the snapshot? I am specifically referring to the operating system and installed software.



    If not, then I assume that a disk image is a correct approach










    share|improve this question









    New contributor




    David Silverman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Will restoring a snapshot recreate the environment EXACTLY as it was at the point of the snapshot? I am specifically referring to the operating system and installed software.



      If not, then I assume that a disk image is a correct approach










      share|improve this question









      New contributor




      David Silverman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      Will restoring a snapshot recreate the environment EXACTLY as it was at the point of the snapshot? I am specifically referring to the operating system and installed software.



      If not, then I assume that a disk image is a correct approach







      google-cloud-platform






      share|improve this question









      New contributor




      David Silverman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      David Silverman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited Nov 18 at 23:41









      MasOOd.KamYab

      527313




      527313






      New contributor




      David Silverman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Nov 18 at 8:45









      David Silverman

      1




      1




      New contributor




      David Silverman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      David Silverman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      David Silverman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          Snapshot and Disk Image use the same process. Both take a point in time copy of a storage device by performing a block copy.



          Will either restore exactly (bit-for-bit) as the source? Yes, if you shutdown the VM instance. Maybe if you do not. Google (and AWS, Azure, etc.) strongly recommend that you shutdown your VM before these types of operations. The reason is that file system data could be cached in memory that has not been flushed to disk. A snaphot requires that all applications and the OS participate in the snaphost process. Few applications do.






          share|improve this answer





















          • Tx v much. I am processing windows updates and need a rollback point in case there are issues with the patches
            – David Silverman
            Nov 20 at 4:42











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          David Silverman is a new contributor. Be nice, and check out our Code of Conduct.










           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53359189%2fgce-snapshot-restore-vs-disk-image%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          1
          down vote













          Snapshot and Disk Image use the same process. Both take a point in time copy of a storage device by performing a block copy.



          Will either restore exactly (bit-for-bit) as the source? Yes, if you shutdown the VM instance. Maybe if you do not. Google (and AWS, Azure, etc.) strongly recommend that you shutdown your VM before these types of operations. The reason is that file system data could be cached in memory that has not been flushed to disk. A snaphot requires that all applications and the OS participate in the snaphost process. Few applications do.






          share|improve this answer





















          • Tx v much. I am processing windows updates and need a rollback point in case there are issues with the patches
            – David Silverman
            Nov 20 at 4:42















          up vote
          1
          down vote













          Snapshot and Disk Image use the same process. Both take a point in time copy of a storage device by performing a block copy.



          Will either restore exactly (bit-for-bit) as the source? Yes, if you shutdown the VM instance. Maybe if you do not. Google (and AWS, Azure, etc.) strongly recommend that you shutdown your VM before these types of operations. The reason is that file system data could be cached in memory that has not been flushed to disk. A snaphot requires that all applications and the OS participate in the snaphost process. Few applications do.






          share|improve this answer





















          • Tx v much. I am processing windows updates and need a rollback point in case there are issues with the patches
            – David Silverman
            Nov 20 at 4:42













          up vote
          1
          down vote










          up vote
          1
          down vote









          Snapshot and Disk Image use the same process. Both take a point in time copy of a storage device by performing a block copy.



          Will either restore exactly (bit-for-bit) as the source? Yes, if you shutdown the VM instance. Maybe if you do not. Google (and AWS, Azure, etc.) strongly recommend that you shutdown your VM before these types of operations. The reason is that file system data could be cached in memory that has not been flushed to disk. A snaphot requires that all applications and the OS participate in the snaphost process. Few applications do.






          share|improve this answer












          Snapshot and Disk Image use the same process. Both take a point in time copy of a storage device by performing a block copy.



          Will either restore exactly (bit-for-bit) as the source? Yes, if you shutdown the VM instance. Maybe if you do not. Google (and AWS, Azure, etc.) strongly recommend that you shutdown your VM before these types of operations. The reason is that file system data could be cached in memory that has not been flushed to disk. A snaphot requires that all applications and the OS participate in the snaphost process. Few applications do.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 18 at 9:24









          John Hanley

          11.1k2527




          11.1k2527












          • Tx v much. I am processing windows updates and need a rollback point in case there are issues with the patches
            – David Silverman
            Nov 20 at 4:42


















          • Tx v much. I am processing windows updates and need a rollback point in case there are issues with the patches
            – David Silverman
            Nov 20 at 4:42
















          Tx v much. I am processing windows updates and need a rollback point in case there are issues with the patches
          – David Silverman
          Nov 20 at 4:42




          Tx v much. I am processing windows updates and need a rollback point in case there are issues with the patches
          – David Silverman
          Nov 20 at 4:42










          David Silverman is a new contributor. Be nice, and check out our Code of Conduct.










           

          draft saved


          draft discarded


















          David Silverman is a new contributor. Be nice, and check out our Code of Conduct.













          David Silverman is a new contributor. Be nice, and check out our Code of Conduct.












          David Silverman is a new contributor. Be nice, and check out our Code of Conduct.















           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53359189%2fgce-snapshot-restore-vs-disk-image%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Costa Masnaga

          Fotorealismo

          Sidney Franklin