{"id":927,"date":"2009-09-03T18:15:20","date_gmt":"2009-09-03T08:15:20","guid":{"rendered":"http:\/\/nsrd.wordpress.com\/?p=927"},"modified":"2009-09-03T18:15:20","modified_gmt":"2009-09-03T08:15:20","slug":"quibbles-directive-management","status":"publish","type":"post","link":"https:\/\/nsrd.info\/blog\/2009\/09\/03\/quibbles-directive-management\/","title":{"rendered":"Quibbles &#8211; Directive Management"},"content":{"rendered":"<p>I&#8217;m a big fan of careful management of directives &#8211; for instance, I always go by the axiom that it&#8217;s better to backup a little bit too much and waste some tape than it is to not backup enough and not be able to recover.<\/p>\n<p>That being said, I&#8217;m also a big fan of correct use of directives within NetWorker &#8211; skipping files that 100% are not required, adjusting preferences for the way files are backed up (e.g., logasm), etc., are quite important to getting well running backups.<\/p>\n<p>So needless to say it <em>bugs the hell out of me<\/em> that after all this time, you still can&#8217;t include a directive within a directive.<\/p>\n<p>Or rather, you can, but it&#8217;s through a method called &#8220;copy and paste&#8221;, which as we know, doesn&#8217;t lend itself too well to auto updating functionality.<\/p>\n<p>So the current directive format is:<\/p>\n<pre>&lt;&lt; path &gt;&gt;\n[+]asm: criteria<\/pre>\n<p>For example, you might want directives for a system such as:<\/p>\n<pre>&lt;&lt; \/ &gt;&gt;\n+skip: *.mp3\n\n&lt;&lt; \/home\/academics &gt;&gt;\nforget\n\n&lt;&lt; \/home\/students &gt;&gt;\n+skip: *.mov *.m4v *.wma *.dv<\/pre>\n<p>Now, it could be that for every Unix system, you <em>also<\/em> want to include <em>Unix Standard Directives<\/em>. Currently the only way to do this is to create a new directive where you&#8217;ve copied and pasted in all the Unix Standard Directives then added in your above criteria.<\/p>\n<p>This, to use the appropriate technical term, is a dogs breakfast.<\/p>\n<p>The only logical way, the way which obviously hasn&#8217;t been developed yet for NetWorker but falls into the category of &#8220;<em><strong>why the hell not<\/strong><strong>?<\/strong><\/em>&#8221; would be support for include statements. That way, it could be embedded into the directive itself.<\/p>\n<p>For example, what I&#8217;m talking about is that we should be able to do the following:<\/p>\n<pre>&lt;&lt; \/ &gt;&gt;\ninclude: Unix Standard Directives\n\n&lt;&lt; \/ &gt;&gt;\n+skip: *.mp3\n\n&lt;&lt; \/home\/academics &gt;&gt;\nforget\n\n&lt;&lt; \/home\/students &gt;&gt;\n+skip: *.mov *.m4v *.wma *.dv<\/pre>\n<p>Now wouldn&#8217;t that be nice? Honestly, how hard could it be?<\/p>\n<p>NB: The correct answer to &#8220;how hard could it be?&#8221; is actually <strong><em>&#8220;I don&#8217;t care.&#8221;<\/em><\/strong> That is, there&#8217;s some things that should be done regardless of whether they&#8217;re easy to do.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m a big fan of careful management of directives &#8211; for instance, I always go by the axiom that it&#8217;s&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_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},"jetpack_post_was_ever_published":false},"categories":[16,18],"tags":[325,459],"class_list":["post-927","post","type-post","status-publish","format-standard","hentry","category-networker","category-quibbles","tag-directives","tag-include"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Preston de Guise\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/nsrd.info\/blog\/2009\/09\/03\/quibbles-directive-management\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Data Protection Hub | All things Data Protection\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Quibbles \u2013 Directive Management | Data Protection Hub\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/nsrd.info\/blog\/2009\/09\/03\/quibbles-directive-management\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-09-03T08:15:20+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2009-09-03T08:15:20+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Quibbles \u2013 Directive Management | Data Protection Hub\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/03\\\/quibbles-directive-management\\\/#article\",\"name\":\"Quibbles \\u2013 Directive Management | Data Protection Hub\",\"headline\":\"Quibbles &#8211; Directive Management\",\"author\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/author\\\/nsrd\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/03\\\/quibbles-directive-management\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d274b0939f505e2f4b85a111bdf61ff0fafc11f17dcd667d16a47d0a3de63a1d?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Preston de Guise\"},\"datePublished\":\"2009-09-03T18:15:20+10:00\",\"dateModified\":\"2009-09-03T18:15:20+10:00\",\"inLanguage\":\"en-US\",\"commentCount\":4,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/03\\\/quibbles-directive-management\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/03\\\/quibbles-directive-management\\\/#webpage\"},\"articleSection\":\"NetWorker, Quibbles, directives, include\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/03\\\/quibbles-directive-management\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/nsrd.info\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/category\\\/networker\\\/#listItem\",\"name\":\"NetWorker\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/category\\\/networker\\\/#listItem\",\"position\":2,\"name\":\"NetWorker\",\"item\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/category\\\/networker\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/03\\\/quibbles-directive-management\\\/#listItem\",\"name\":\"Quibbles &#8211; Directive Management\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/03\\\/quibbles-directive-management\\\/#listItem\",\"position\":3,\"name\":\"Quibbles &#8211; Directive Management\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/category\\\/networker\\\/#listItem\",\"name\":\"NetWorker\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/#person\",\"name\":\"Preston de Guise\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/03\\\/quibbles-directive-management\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d274b0939f505e2f4b85a111bdf61ff0fafc11f17dcd667d16a47d0a3de63a1d?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Preston de Guise\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/author\\\/nsrd\\\/#author\",\"url\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/author\\\/nsrd\\\/\",\"name\":\"Preston de Guise\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/03\\\/quibbles-directive-management\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d274b0939f505e2f4b85a111bdf61ff0fafc11f17dcd667d16a47d0a3de63a1d?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Preston de Guise\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/03\\\/quibbles-directive-management\\\/#webpage\",\"url\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/03\\\/quibbles-directive-management\\\/\",\"name\":\"Quibbles \\u2013 Directive Management | Data Protection Hub\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/03\\\/quibbles-directive-management\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/author\\\/nsrd\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/author\\\/nsrd\\\/#author\"},\"datePublished\":\"2009-09-03T18:15:20+10:00\",\"dateModified\":\"2009-09-03T18:15:20+10:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/\",\"name\":\"Data Protection Hub\",\"description\":\"All things Data Protection\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Quibbles \u2013 Directive Management | Data Protection Hub","description":"","canonical_url":"https:\/\/nsrd.info\/blog\/2009\/09\/03\/quibbles-directive-management\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/nsrd.info\/blog\/2009\/09\/03\/quibbles-directive-management\/#article","name":"Quibbles \u2013 Directive Management | Data Protection Hub","headline":"Quibbles &#8211; Directive Management","author":{"@id":"https:\/\/nsrd.info\/blog\/author\/nsrd\/#author"},"publisher":{"@id":"https:\/\/nsrd.info\/blog\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/nsrd.info\/blog\/2009\/09\/03\/quibbles-directive-management\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/d274b0939f505e2f4b85a111bdf61ff0fafc11f17dcd667d16a47d0a3de63a1d?s=96&d=mm&r=g","width":96,"height":96,"caption":"Preston de Guise"},"datePublished":"2009-09-03T18:15:20+10:00","dateModified":"2009-09-03T18:15:20+10:00","inLanguage":"en-US","commentCount":4,"mainEntityOfPage":{"@id":"https:\/\/nsrd.info\/blog\/2009\/09\/03\/quibbles-directive-management\/#webpage"},"isPartOf":{"@id":"https:\/\/nsrd.info\/blog\/2009\/09\/03\/quibbles-directive-management\/#webpage"},"articleSection":"NetWorker, Quibbles, directives, include"},{"@type":"BreadcrumbList","@id":"https:\/\/nsrd.info\/blog\/2009\/09\/03\/quibbles-directive-management\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/nsrd.info\/blog#listItem","position":1,"name":"Home","item":"https:\/\/nsrd.info\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/nsrd.info\/blog\/category\/networker\/#listItem","name":"NetWorker"}},{"@type":"ListItem","@id":"https:\/\/nsrd.info\/blog\/category\/networker\/#listItem","position":2,"name":"NetWorker","item":"https:\/\/nsrd.info\/blog\/category\/networker\/","nextItem":{"@type":"ListItem","@id":"https:\/\/nsrd.info\/blog\/2009\/09\/03\/quibbles-directive-management\/#listItem","name":"Quibbles &#8211; Directive Management"},"previousItem":{"@type":"ListItem","@id":"https:\/\/nsrd.info\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/nsrd.info\/blog\/2009\/09\/03\/quibbles-directive-management\/#listItem","position":3,"name":"Quibbles &#8211; Directive Management","previousItem":{"@type":"ListItem","@id":"https:\/\/nsrd.info\/blog\/category\/networker\/#listItem","name":"NetWorker"}}]},{"@type":"Person","@id":"https:\/\/nsrd.info\/blog\/#person","name":"Preston de Guise","image":{"@type":"ImageObject","@id":"https:\/\/nsrd.info\/blog\/2009\/09\/03\/quibbles-directive-management\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/d274b0939f505e2f4b85a111bdf61ff0fafc11f17dcd667d16a47d0a3de63a1d?s=96&d=mm&r=g","width":96,"height":96,"caption":"Preston de Guise"}},{"@type":"Person","@id":"https:\/\/nsrd.info\/blog\/author\/nsrd\/#author","url":"https:\/\/nsrd.info\/blog\/author\/nsrd\/","name":"Preston de Guise","image":{"@type":"ImageObject","@id":"https:\/\/nsrd.info\/blog\/2009\/09\/03\/quibbles-directive-management\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/d274b0939f505e2f4b85a111bdf61ff0fafc11f17dcd667d16a47d0a3de63a1d?s=96&d=mm&r=g","width":96,"height":96,"caption":"Preston de Guise"}},{"@type":"WebPage","@id":"https:\/\/nsrd.info\/blog\/2009\/09\/03\/quibbles-directive-management\/#webpage","url":"https:\/\/nsrd.info\/blog\/2009\/09\/03\/quibbles-directive-management\/","name":"Quibbles \u2013 Directive Management | Data Protection Hub","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/nsrd.info\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/nsrd.info\/blog\/2009\/09\/03\/quibbles-directive-management\/#breadcrumblist"},"author":{"@id":"https:\/\/nsrd.info\/blog\/author\/nsrd\/#author"},"creator":{"@id":"https:\/\/nsrd.info\/blog\/author\/nsrd\/#author"},"datePublished":"2009-09-03T18:15:20+10:00","dateModified":"2009-09-03T18:15:20+10:00"},{"@type":"WebSite","@id":"https:\/\/nsrd.info\/blog\/#website","url":"https:\/\/nsrd.info\/blog\/","name":"Data Protection Hub","description":"All things Data Protection","inLanguage":"en-US","publisher":{"@id":"https:\/\/nsrd.info\/blog\/#person"}}]},"og:locale":"en_US","og:site_name":"Data Protection Hub | All things Data Protection","og:type":"article","og:title":"Quibbles \u2013 Directive Management | Data Protection Hub","og:url":"https:\/\/nsrd.info\/blog\/2009\/09\/03\/quibbles-directive-management\/","article:published_time":"2009-09-03T08:15:20+00:00","article:modified_time":"2009-09-03T08:15:20+00:00","twitter:card":"summary","twitter:title":"Quibbles \u2013 Directive Management | Data Protection Hub"},"aioseo_meta_data":{"post_id":"927","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-21 05:17:24","updated":"2025-07-20 04:24:28","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/nsrd.info\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/nsrd.info\/blog\/category\/networker\/\" title=\"NetWorker\">NetWorker<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tQuibbles \u2013 Directive Management\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/nsrd.info\/blog"},{"label":"NetWorker","link":"https:\/\/nsrd.info\/blog\/category\/networker\/"},{"label":"Quibbles &#8211; Directive Management","link":"https:\/\/nsrd.info\/blog\/2009\/09\/03\/quibbles-directive-management\/"}],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pKpIN-eX","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/927","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=927"}],"version-history":[{"count":0,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/927\/revisions"}],"wp:attachment":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/media?parent=927"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/categories?post=927"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/tags?post=927"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}