{"id":840,"date":"2016-10-27T16:45:01","date_gmt":"2016-10-27T15:45:01","guid":{"rendered":"http:\/\/www.haxed.me.uk\/?p=840"},"modified":"2016-10-28T10:01:12","modified_gmt":"2016-10-28T09:01:12","slug":"disaster-recovery-exporting-broken-cloud-server-image-vhd-rackspace-attempting-recover-data","status":"publish","type":"post","link":"https:\/\/haxed.me.uk\/index.php\/2016\/10\/27\/disaster-recovery-exporting-broken-cloud-server-image-vhd-rackspace-attempting-recover-data\/","title":{"rendered":"DISASTER RECOVERY! Exporting a Broken Cloud-server image VHD from Rackspace and attempting to recover data"},"content":{"rendered":"<p>Thanks to my colleague Marcin for thie guestmount tools protip.<\/p>\n<p>I wrote a previous guide which explains how to download\/export a Cloud server image VHD from Rackspace Cloud, which is failing to build. It might allow you to perform data recovery, even if the image can&#8217;t be booted. Which I&#8217;m guessing someone is going to run into sooner or later, and will be pleased to see this article, it will at least give you a best shot at reading the VHD and recovering it, since as you might know already, just because boot or kernel is broken, doesn&#8217;t mean that the data isn&#8217;t there!<\/p>\n<p># A better article to use if you want to download via commandline<br \/>\n<a href=\"https:\/\/community.rackspace.com\/products\/f\/25\/t\/3583\">https:\/\/community.rackspace.com\/products\/f\/25\/t\/3583<\/a><\/p>\n<p># My article doing this thru a web-browser which might be useful too for some customers<br \/>\n<a href=\"https:\/\/community.rackspace.com\/products\/f\/25\/t\/7089\">https:\/\/community.rackspace.com\/products\/f\/25\/t\/7089<\/a><\/p>\n<p>Once the image gets downloaded to your new cloud instance you can use &#8216;libguestfs-tools&#8217; package (same name on Ubuntu and CentOS) which contains tools necessary for mounting .vhd image files.<\/p>\n<p>The command would be (read-only mode):<\/p>\n<pre>\r\nguestmount -a {image-name}.vhd -i --ro {mount-point}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Thanks to my colleague Marcin for thie guestmount tools protip. I wrote a previous guide which explains how to download\/export a Cloud server image VHD from Rackspace Cloud, which is failing to build. It might allow you to perform data &hellip; <a href=\"https:\/\/haxed.me.uk\/index.php\/2016\/10\/27\/disaster-recovery-exporting-broken-cloud-server-image-vhd-rackspace-attempting-recover-data\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,72,37,63,10,9,7,61],"tags":[],"class_list":["post-840","post","type-post","status-publish","format-standard","hentry","category-cloud","category-data-loss","category-disaster-recovery","category-disk-tools","category-filesystem","category-linux","category-management-tools","category-rackspace"],"_links":{"self":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/840","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/comments?post=840"}],"version-history":[{"count":3,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/840\/revisions"}],"predecessor-version":[{"id":843,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/840\/revisions\/843"}],"wp:attachment":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/media?parent=840"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/categories?post=840"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/tags?post=840"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}