{"id":1247,"date":"2014-05-21T20:21:50","date_gmt":"2014-05-21T18:21:50","guid":{"rendered":"http:\/\/labalec.fr\/erwan\/?p=1247"},"modified":"2018-12-08T13:33:29","modified_gmt":"2018-12-08T12:33:29","slug":"create-differencing-vhds-with-clonedisk","status":"publish","type":"post","link":"https:\/\/labalec.fr\/erwan\/?p=1247","title":{"rendered":"Create differencing VHD&rsquo;s with CloneDisk"},"content":{"rendered":"<p>You built this perfect VHD and you decide to call it <strong>parent<\/strong>.<\/p>\n<p>Now life needs to go on and changes need to be introduced to your disk but you want to be able to revert back to your <strong>parent\u00a0<\/strong>if needed.<br \/>\nOr else, at some point you decide that changes introduced since your last <strong>parent\u00a0<\/strong>needs to be merged in your master.<\/p>\n<p>In order to achieve the above (<span style=\"text-decoration: underline;\">revert<\/span> or <span style=\"text-decoration: underline;\">merge<\/span>) we will create a second VHD called <strong>child<\/strong>.<\/p>\n<p>Lets see how to do it with <a href=\"https:\/\/labalec.fr\/erwan\/?page_id=42\" target=\"_blank\" rel=\"noopener\">CloneDisk <\/a>(5 actions\/steps)<\/p>\n<p>1-Create\/attach our\u00a0parent<\/p>\n<p><a href=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/05\/diff_vhd1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1255\" src=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/05\/diff_vhd1-1024x509.png\" alt=\"diff_vhd1\" width=\"695\" height=\"345\" srcset=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/05\/diff_vhd1-1024x509.png 1024w, https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/05\/diff_vhd1-300x149.png 300w, https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/05\/diff_vhd1.png 1662w\" sizes=\"auto, (max-width: 695px) 100vw, 695px\" \/><\/a><\/p>\n<p>2-Create a file named\u00a0parent.txt on the new logical drive<\/p>\n<p>3-Detach it<\/p>\n<p>At this point you should no longer introduce changes in your parent VHD until you decide to revert or merge<\/p>\n<p>4-Create\/attach our child but this time we will indicate which one is a parent (created in step 1)<\/p>\n<p>You will get again a new logical drive and\u00a0parent.txt will already be here.<\/p>\n<p><a href=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/05\/diff_vhd2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1256\" src=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/05\/diff_vhd2-1024x509.png\" alt=\"diff_vhd2\" width=\"695\" height=\"345\" srcset=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/05\/diff_vhd2-1024x509.png 1024w, https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/05\/diff_vhd2-300x149.png 300w, https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/05\/diff_vhd2.png 1662w\" sizes=\"auto, (max-width: 695px) 100vw, 695px\" \/><\/a><\/p>\n<p>5-Create a file named child.txt<\/p>\n<p>That change will \u00ab\u00a0only\u00a0\u00bb be applied in child.vhd, not parent.vhd.<\/p>\n<p>Now you can either merge it or revert it (i.e delete it) whenever you feel like it.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You built this perfect VHD and you decide to call it parent. Now life needs to go on and changes need to be introduced to your disk but you want to be able to revert back to your parent\u00a0if needed. Or else, at some point you decide that changes introduced since your last parent\u00a0needs to <a href='https:\/\/labalec.fr\/erwan\/?p=1247' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-1247","post","type-post","status-publish","format-standard","hentry","category-clonedisk","category-26-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1247"}],"version-history":[{"count":9,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1247\/revisions"}],"predecessor-version":[{"id":1932,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1247\/revisions\/1932"}],"wp:attachment":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}