{"id":78,"date":"2016-08-01T19:47:41","date_gmt":"2016-08-01T16:47:41","guid":{"rendered":"https:\/\/amsd.go.ro\/wordpress\/?p=78"},"modified":"2021-09-07T11:25:21","modified_gmt":"2021-09-07T08:25:21","slug":"export-import-cell-selector-and-policies","status":"publish","type":"post","link":"https:\/\/amsd.go.ro\/wordpress\/?p=78","title":{"rendered":"Export\/import cell Selector and Policies"},"content":{"rendered":"<p><strong>Export selector and policies into BAROC files<br \/><\/strong><\/p>\n<pre>mquery -n pncell_HOSTNAME -q -d -a SELECTOR -x \"data_handle,mc_udid,<br \/>    mc_creation_time,mc_modification_time,mc_modification_requestor,<br \/>    mc_modification_request_time\" -f BAROC &gt; selector.baroc<\/pre>\n<pre>mquery -n pncell_HOSTNAME -q -d -a POLICY -x \"data_handle,mc_udid,mc_creation_time,<br \/>     mc_modification_time,mc_modification_requestor,mc_modification_request_time\" <br \/>    -f BAROC &gt; policy.baroc<\/pre>\n<p><strong>Import selector and policies using BAROC files<br \/><\/strong><\/p>\n<pre>mposter &ndash;n pncell_HOSTNAME -d selector.baroc<\/pre>\n<pre>mposter &ndash;n pncell_HOSTNAME -d policy.baroc<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Export selector and policies into BAROC files mquery -n pncell_HOSTNAME -q -d -a SELECTOR -x &#8220;data_handle,mc_udid, mc_creation_time,mc_modification_time,mc_modification_requestor, mc_modification_request_time&#8221; -f BAROC &gt; selector.baroc mquery -n pncell_HOSTNAME -q -d -a POLICY -x &#8220;data_handle,mc_udid,mc_creation_time, mc_modification_time,mc_modification_requestor,mc_modification_request_time&#8221; -f BAROC &gt; policy.baroc Import selector and policies [&hellip;]<\/p>\n<div class=\"link-more\"><a href=\"https:\/\/amsd.go.ro\/wordpress\/?p=78#more-78\" class=\"more-link\">Continue reading &#10142; <span class=\"screen-reader-text\">Export\/import cell Selector and Policies<\/span><\/a><\/div>","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[16,13,10,20,18,12],"class_list":["post-78","post","type-post","status-publish","format-standard","hentry","category-technology","tag-ps_56","tag-ps_40","tag-ps_32","tag-ps_19","tag-ps_39","tag-ps_17"],"_links":{"self":[{"href":"https:\/\/amsd.go.ro\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/78","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/amsd.go.ro\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/amsd.go.ro\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/amsd.go.ro\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/amsd.go.ro\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=78"}],"version-history":[{"count":1,"href":"https:\/\/amsd.go.ro\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/78\/revisions"}],"predecessor-version":[{"id":166,"href":"https:\/\/amsd.go.ro\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/78\/revisions\/166"}],"wp:attachment":[{"href":"https:\/\/amsd.go.ro\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=78"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/amsd.go.ro\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=78"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/amsd.go.ro\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}