{"id":657,"date":"2015-04-27T21:03:00","date_gmt":"2015-04-27T21:03:00","guid":{"rendered":"https:\/\/www.geekmungus.co.uk\/?p=657"},"modified":"2022-11-05T10:53:19","modified_gmt":"2022-11-05T10:53:19","slug":"dealing-with-suspect-tapes-in-microsoft-dpm-2012-r2","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=657","title":{"rendered":"Dealing with &#8220;Suspect Tapes&#8221; in Microsoft DPM 2012 R2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Sometimes a tape will be marked as suspect, seemingly for no reason. To resolve this you need to do the follow these instructions to first identify the MediaID of the suspect tape against its Barcode. Then mark it as normal (i.e. not suspect).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ensure there is a backup of the SQL database for DPM. In SQL Query analyser:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First run a query of the tapes to get a list of suspect tapes:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>select MediaId\n\nFROM &#91;DPMDB].&#91;dbo].&#91;tbl_MM_ArchiveMedia]\n\nWHERE IsSuspect = 1\n\nYou can join this with the other table to match up the IsSuspect field:\n\nSELECT  &#91;BarcodeValue], &#91;DPMDB].&#91;dbo].&#91;tbl_MM_ArchiveMedia].&#91;MediaID]\n\nFROM &#91;DPMDB].&#91;dbo].&#91;tbl_MM_ArchiveMedia]\n\nLEFT OUTER JOIN &#91;DPMDB].&#91;dbo].&#91;tbl_MM_Media]\n\nON &#91;DPMDB].&#91;dbo].&#91;tbl_MM_ArchiveMedia].&#91;MediaID]=&#91;DPMDB].&#91;dbo].&#91;tbl_MM_Media].&#91;MediaID]\n\nWHERE IsSuspect = 1<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This gives you all the suspect tapes. Then to query for that one duff tape by the MediaID.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>select *\n\nFROM &#91;DPMDB].&#91;dbo].&#91;tbl_MM_ArchiveMedia]\n\nWHERE IsSuspect = 1\n\nLets say you want to mark tape mediaID = 6A146B3C-3DC9-4711-AF1D-9E826AF7979C as not suspect. In this case:000209L4 Like this:\n\nselect *\n\nFROM &#91;DPMDB].&#91;dbo].&#91;tbl_MM_ArchiveMedia]\n\nWHERE IsSuspect = 1 AND MediaID = '6A146B3C-3DC9-4711-AF1D-9E826AF7979C'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To double check it. Then update the <strong>issuspect <\/strong>field with this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>UPDATE &#91;DPMDB].&#91;dbo].&#91;tbl_MM_ArchiveMedia]\n\nSET IsSuspect = 0\n\nWHERE IsSuspect = 1 AND MediaID = '6A146B3C-3DC9-4711-AF1D-9E826AF7979C'<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes a tape will be marked as suspect, seemingly for no reason. To resolve this you need to do the follow these instructions to first identify the MediaID of the suspect tape against its Barcode. Then mark it as normal (i.e. not suspect). Ensure there is a backup of the SQL database for DPM. In &#8230; <a title=\"Dealing with &#8220;Suspect Tapes&#8221; in Microsoft DPM 2012 R2\" class=\"read-more\" href=\"https:\/\/geekmungus.co.uk\/?p=657\" aria-label=\"Read more about Dealing with &#8220;Suspect Tapes&#8221; in Microsoft DPM 2012 R2\">Read more<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-657","post","type-post","status-publish","format-standard","hentry","category-microsoft-dpm"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=657"}],"version-history":[{"count":1,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/657\/revisions"}],"predecessor-version":[{"id":1443,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/657\/revisions\/1443"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}