{"id":3033,"date":"2015-09-01T16:20:24","date_gmt":"2015-09-01T06:20:24","guid":{"rendered":"http:\/\/support.cybersecure.com\/?p=3033"},"modified":"2021-08-08T09:39:05","modified_gmt":"2021-08-07T23:39:05","slug":"backing-up-shares-from-a-mac","status":"publish","type":"post","link":"http:\/\/support.cybersecure.com\/?p=3033","title":{"rendered":"Backing up shares from a Mac"},"content":{"rendered":"<p>Create a backup set for each share. Follow this for each backup set<\/p>\n<ol>\n<li>Click Go &gt; Connect to Server&#8230;<\/li>\n<li>Type in the server address and share<br \/>\neg cifs:\/\/server\/share<\/li>\n<li>Authenticate if needed, save credentials in keychain<\/li>\n<li>Mounted volume should appear<\/li>\n<li>Download the following <a href=\"http:\/\/support.cybersecure.com\/wp-content\/uploads\/2015\/09\/script.rb_.txt\" target=\"_blank\" rel=\"noopener noreferrer\">script<\/a><\/li>\n<li>You will need to change the following variables to match your configuration:\n<ul>\n<li>BACKUP_SET_ID = &#8220;13XXXXXXXXXXXX&#8221;<\/li>\n<li> USER_HOME=&#8221;\/Users\/myhome&#8221;<\/li>\n<li> name = &#8220;\/Volumes\/share&#8221;<\/li>\n<\/ul>\n<\/li>\n<li>Rename script to script.rb<\/li>\n<li>Make the script executable in terminal with the following command:<br \/>\nchmod +x script.rb<\/li>\n<li>Open the backup software<\/li>\n<li>Create a new file backup set<\/li>\n<li>Tick the mounted volume<br \/>\neg \/Volumes\/share<\/li>\n<li>Go to &#8220;Command Line Tool&#8221; in backup set settings<\/li>\n<li>Add a Pre-Backup command with the following settings\n<ul>\n<li> Name: check mount<\/li>\n<li> Working Directory: \/[folder]\/[path_to_script]<\/li>\n<li>Command: ruby script.rb<\/li>\n<\/ul>\n<\/li>\n<li>Save the backup job<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Create a backup set for each share. Follow this for each backup set Click Go &gt; Connect to Server&#8230; Type in the server address and share eg cifs:\/\/server\/share Authenticate if needed, save credentials in keychain Mounted volume should appear Download &hellip; <a href=\"http:\/\/support.cybersecure.com\/?p=3033\">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":[4,10],"tags":[77,27,223,225,224,237,226,227],"_links":{"self":[{"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=\/wp\/v2\/posts\/3033"}],"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=3033"}],"version-history":[{"count":22,"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=\/wp\/v2\/posts\/3033\/revisions"}],"predecessor-version":[{"id":4073,"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=\/wp\/v2\/posts\/3033\/revisions\/4073"}],"wp:attachment":[{"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3033"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3033"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3033"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}