{"id":2210,"date":"2010-04-24T07:39:15","date_gmt":"2010-04-23T21:39:15","guid":{"rendered":"http:\/\/nsrd.info\/blog\/?p=2210"},"modified":"2018-12-11T18:43:52","modified_gmt":"2018-12-11T08:43:52","slug":"basics-recovering-from-an-aborted-saveset","status":"publish","type":"post","link":"https:\/\/nsrd.info\/blog\/2010\/04\/24\/basics-recovering-from-an-aborted-saveset\/","title":{"rendered":"Basics &#8211; Recovering from an aborted saveset"},"content":{"rendered":"<p>Normally you don&#8217;t want to be in this position, but sometimes you&#8217;ll strike a situation where the only possible location of data that you need to get back is in a saveset that aborted (i.e., failed) during the backup process. Now, if the saveset\/media is almost completely hosed, you&#8217;re probably going to need to recover using the <a title=\"Recovering with scanner and uasm\" href=\"https:\/\/nsrd.info\/blog\/2009\/04\/22\/recovering-with-scanner-and-uasm\/\" target=\"_blank\">scanner|uasm process<\/a>, but if it was just a case of a failed backup, you can direct a partial saveset recovery using the <em>recover<\/em> command.<\/p>\n<p>When you&#8217;re at this point the first thing you need to do is find the saveset ID of the aborted saveset, but I&#8217;ll leave that as an exercise to the reader. Now, once you&#8217;ve got the aborted saveset ID, it&#8217;s as simple as running a saveset recovery. The basic command might look like this:<\/p>\n<pre>C:&gt; recover -d path -s buServer -iN -S ssid<\/pre>\n<p>Where:<\/p>\n<ul>\n<li>&#8216;path&#8217; is the path that you want to recover <em>to<\/em>. Note that in these situations, it&#8217;s usually a very, very good idea to make sure you recover to somewhere new, rather than overwriting any existing files.<\/li>\n<li>&#8216;buServer&#8217; is the backup server that you want to recover from.<\/li>\n<li>&#8216;ssid&#8217; is the saveset ID for the aborted saveset that you want to recover from.<\/li>\n<\/ul>\n<p>Depending on whether you&#8217;re doing a directed recovery, etc., you may end up with a few additional arguments, but the above is fairly much what you need in this situation. (If you&#8217;re confident that a specific path or file you want back is going to be in the part of the saveset backed up, you can always add that path at the end of the recovery command, too.)<\/p>\n<p>Once the recovery runs, you&#8217;ll get a standard file-by-file listing of what is being recovered, but the recovery will end with what looks like an error \u2013 it&#8217;s effectively though just a notification that NetWorker has hit the data that was &#8216;in transit&#8217;, so to speak, when the saveset was aborted. This error will look similar to the following:<\/p>\n<pre>5041:recover: Unable to read checksum from save stream\n\n16294:recover: Encountered an error recovering C:temp2Temp744win_x86networkrhbaemc-homebase-agent-6.1.2-win-x86.exe\n\n53363:recover: Recover of rsid 851692923 failed: Error receiving files from NSR server `tara'\n\nThe process cannot access the file because it is being used by another process.\n\nReceived 231 matching file(s) from NSR server `tara'\n\nRecover errors with 1 file(s)\n\nRecover completion time: 4\/20\/2010 3:41:12 PM\n<\/pre>\n<p>At that point, you know that you&#8217;ve got back all the data you&#8217;re going to get back, and you can search through the recovered files for the data you want.<\/p>\n<p>(As an aside, don&#8217;t forget to join the <a title=\"NetWorker Information Hub Forums\" href=\"https:\/\/nsrd.info\/forum\" target=\"_blank\">forums<\/a> if you&#8217;ve got questions that aren&#8217;t answered in this blog.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Normally you don&#8217;t want to be in this position, but sometimes you&#8217;ll strike a situation where the only possible location&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[6,16],"tags":[90,1252,856],"class_list":["post-2210","post","type-post","status-publish","format-standard","hentry","category-basics","category-networker","tag-aborted","tag-recovery","tag-saveset"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pKpIN-zE","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/2210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/comments?post=2210"}],"version-history":[{"count":1,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/2210\/revisions"}],"predecessor-version":[{"id":7559,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/2210\/revisions\/7559"}],"wp:attachment":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/media?parent=2210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/categories?post=2210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/tags?post=2210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}