{"id":1224,"date":"2009-10-27T19:20:16","date_gmt":"2009-10-27T09:20:16","guid":{"rendered":"http:\/\/nsrd.wordpress.com\/?p=1224"},"modified":"2009-10-27T19:20:16","modified_gmt":"2009-10-27T09:20:16","slug":"quibbles-why-cant-you-clone-or-stage-incomplete-savesets","status":"publish","type":"post","link":"https:\/\/nsrd.info\/blog\/2009\/10\/27\/quibbles-why-cant-you-clone-or-stage-incomplete-savesets\/","title":{"rendered":"Quibbles &#8211; Why can&#8217;t you clone or stage incomplete savesets?"},"content":{"rendered":"<p>NetWorker has an irritating quirk where it doesn&#8217;t allow you to clone or stage incomplete savesets. I can understand the rationale behind it &#8211; it&#8217;s not completely usable data, but that rationale is wrong.<\/p>\n<p>If you don&#8217;t think this is the case, all you have to do to test is start a backup, cancel it mid-way through a saveset, then attempt to clone that saveset. Here&#8217;s an example:<\/p>\n<pre>[root@tara ~]# save -b Big -q -LL \/usr\nOct 25 13:07:15 tara logger: NetWorker media: (waiting) Waiting for 1\nwritable volume(s) to backup pool 'Big' disk(s) or tape(s) on tara.pmdg.lab\n&lt;backup running, CTRL-C pressed&gt;\n(interrupted), exiting\n[root@tara ~]# mminfo -q \"volume=BIG995S3\"\n volume\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 client\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 date\u00a0\u00a0\u00a0\u00a0\u00a0 size\u00a0\u00a0 level\u00a0 name\nBIG995S3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 tara.pmdg.lab 10\/25\/2009 175 MB manual \/usr\n[root@tara ~]# mminfo -q \"volume=BIG995S3\" -avot\n volume\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 client\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 date\u00a0\u00a0\u00a0\u00a0 time\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 size ssid\u00a0\u00a0\u00a0\u00a0\u00a0 fl\u00a0\u00a0 lvl name\nBIG995S3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 tara.pmdg.lab 10\/25\/2009 01:07:15 PM 175 MB 14922466\u00a0 ca manual \/usr\n[root@tara ~]# nsrclone -b Default -S 14922466\n5876:nsrclone: skipping aborted save set 14922466\n5813:nsrclone: no complete save sets to clone<\/pre>\n<p>Now, you may be wondering why I&#8217;m hung up on not being able to clone or stage this sort of data. The answer is simple: <strong>sometimes the only backup you have is a broken backup<\/strong>. You shouldn&#8217;t be punished for this!<\/p>\n<p>Overall, NetWorker has a fairly glowing pedigree in terms of enforced data viability:<\/p>\n<ul>\n<li>It doesn&#8217;t recycle savesets until all dependent savesets are also recyclable;<\/li>\n<li>It&#8217;s damn aggressive at making sure you have current backups of the backup server&#8217;s bootstrap information;<\/li>\n<li>If there&#8217;s any index issue it&#8217;ll end up forcing a full backup for savesets even if it&#8217;s backed them up before;<\/li>\n<li>It won&#8217;t overwrite data on recovery unless you explicitly tell it to;<\/li>\n<li>It lets you <em>recover from incomplete savesets via scanner\/uasm!<\/em><\/li>\n<\/ul>\n<p>and so on.<\/p>\n<p>So, logically, there makes little sense in refusing to clone\/stage incomplete savesets.<\/p>\n<p>There may be programmatic reasons why NetWorker doesn&#8217;t permit cloning\/staging incomplete savesets, but these aren&#8217;t sufficient reasons. NetWorker&#8217;s pedigree of extreme focus on recoverability remains tarnished by this inability.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>NetWorker has an irritating quirk where it doesn&#8217;t allow you to clone or stage incomplete savesets. I can understand the&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":[16,18],"tags":[226,461,856,932],"class_list":["post-1224","post","type-post","status-publish","format-standard","hentry","category-networker","category-quibbles","tag-clone","tag-incomplete","tag-saveset","tag-stage"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pKpIN-jK","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/1224","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=1224"}],"version-history":[{"count":0,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/1224\/revisions"}],"wp:attachment":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/media?parent=1224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/categories?post=1224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/tags?post=1224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}