{"id":2845,"date":"2015-03-06T15:55:30","date_gmt":"2015-03-06T05:55:30","guid":{"rendered":"http:\/\/support.cybersecure.com\/?p=2845"},"modified":"2020-04-25T10:49:14","modified_gmt":"2020-04-25T00:49:14","slug":"pre-command-script-to-stop-backup-advanced-edition","status":"publish","type":"post","link":"http:\/\/support.cybersecure.com\/?p=2845","title":{"rendered":"Pre-command script to stop backup"},"content":{"rendered":"<ol>\n<li>Go to Client&#8217;s Backup Set in OBS console<\/li>\n<li>Under &#8220;Pre-backup command&#8221; heading fill out the fields\n<ol>\n<li><strong>Name: <\/strong>USB Not Present<\/li>\n<li><strong>Command: <\/strong>IF NOT EXIST %DRIVE_LETTER%: ECHO\u00a0USBDriveNotConnected\u00a0&gt;%userprofile%\\.obm\\ipc\\BackupSet\\%backup_set_ID%\\stop(Where %DRIVE_LETTER% is the letter of the removal drive and %backup_set_ID% is the backup set ID number)\n<p>eg. \u00a0IF NOT EXIST F: ECHO USBDriveNotConnected &gt; %userprofile%\\.obm\\ipc\\BackupSet\\1425613161521\\stop<\/li>\n<li><strong>Working Directory: <\/strong>C:\\<\/li>\n<\/ol>\n<\/li>\n<li>Click Update<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Go to Client&#8217;s Backup Set in OBS console Under &#8220;Pre-backup command&#8221; heading fill out the fields Name: USB Not Present Command: IF NOT EXIST %DRIVE_LETTER%: ECHO\u00a0USBDriveNotConnected\u00a0&gt;%userprofile%\\.obm\\ipc\\BackupSet\\%backup_set_ID%\\stop(Where %DRIVE_LETTER% is the letter of the removal drive and %backup_set_ID% is the backup set &hellip; <a href=\"http:\/\/support.cybersecure.com\/?p=2845\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[198,197,202,199,200,201],"_links":{"self":[{"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=\/wp\/v2\/posts\/2845"}],"collection":[{"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2845"}],"version-history":[{"count":5,"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=\/wp\/v2\/posts\/2845\/revisions"}],"predecessor-version":[{"id":3893,"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=\/wp\/v2\/posts\/2845\/revisions\/3893"}],"wp:attachment":[{"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2845"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2845"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}