{"id":391,"date":"2019-11-07T16:04:53","date_gmt":"2019-11-07T21:04:53","guid":{"rendered":"https:\/\/www.bu.edu\/engit\/?page_id=391"},"modified":"2023-03-07T09:34:06","modified_gmt":"2023-03-07T14:34:06","slug":"faq-snapshots","status":"publish","type":"page","link":"https:\/\/www.bu.edu\/engit\/knowledge-base\/faq-snapshots\/","title":{"rendered":"Recovering Files and Folders from Snapshots"},"content":{"rendered":"<div><a href=\"https:\/\/www.bu.edu\/engit\/services\/college-of-engineering-storage\/\">ENGNAS<\/a> creates periodic snapshots of your folders &#8212;\u00a0<span>hourly,\u00a0<\/span><span class=\"il\">daily<\/span><span>, then weekly (up to 4 weeks).\u00a0<\/span>If you have accidentally erased or lost a file in your network drive here is the procedure to recover it from a snapshot.<\/div>\n<div><\/div>\n<div>\n<h1 id=\"MicrosoftWindowsXP.2BAC8-7.2BAC8-8.2BAC8-10\">Microsoft Windows<\/h1>\n<ol type=\"1\">\n<li style=\"list-style-type: none;\">\n<ol type=\"1\">\n<li>Browse to your X-drive.<\/li>\n<li>Scroll till you find the directory in which your file was located.<\/li>\n<li>Right click on that directory and select properties. A small new window should pop up. Select the <strong>Previous Versions<\/strong> tab.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><img align=\"top\" alt=\"recover.PNG\" class=\"attachment\" src=\"\/engit\/files\/2019\/08\/recover.png\" title=\"recover.PNG\" \/><\/p>\n<ol type=\"1\">\n<li class=\"gap\">If you scroll down in the window, you can see the backups of that specific directory which can go from hourly to earlier this month.<\/li>\n<li>Select the directory with the time stamp that correlates to when you had your deleted\/lost files.<\/li>\n<li>To restore the whole directory to that state, simply select it and click <strong>Restore<\/strong>.<\/li>\n<li>To restore a specific file from within that directory, double click on it and find the file you are missing. Copy the file and paste it in your current directory.<\/li>\n<li>There you go, you recovered your deleted\/lost files!<\/li>\n<\/ol>\n<h1 id=\"Linux\">Linux<\/h1>\n<ul>\n<li>Move to the directory in which the file or folder you lost or altered was located in<\/li>\n<li>There look in the &#8220;<strong>.snapshot<\/strong>&#8221; sub-directory\n<ul>\n<li>i.e. If you had lost a file from the &#8220;<strong>myproject<\/strong>&#8221; directory, your path should be &#8220;<strong>\/home\/username\/myproject\/.snapshot<\/strong>&#8220;<\/li>\n<li>You can see your backup snapshot in that directory organized by time and date<\/li>\n<\/ul>\n<\/li>\n<li>Move to directory that corresponds to the time before you lost or changed the file<\/li>\n<li>Now copy the file or folder to the directory you want it in<\/li>\n<\/ul>\n<pre class=\"darkSnippet\">Ex:\r\ncd \/home\/username\/myproject\/.snapshot\/CronJob_engnas_users_2.2016-02-26_1100\r\ncp mylostfile \/home\/username\/myproject\/<\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>ENGNAS creates periodic snapshots of your folders &#8212;\u00a0hourly,\u00a0daily, then weekly (up to 4 weeks).\u00a0If you have accidentally erased or lost a file in your network drive here is the procedure to recover it from a snapshot. Microsoft Windows Browse to your X-drive. Scroll till you find the directory in which your file was located. Right [&hellip;]<\/p>\n","protected":false},"author":16541,"featured_media":0,"parent":82,"menu_order":21,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www.bu.edu\/engit\/wp-json\/wp\/v2\/pages\/391"}],"collection":[{"href":"https:\/\/www.bu.edu\/engit\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bu.edu\/engit\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/engit\/wp-json\/wp\/v2\/users\/16541"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/engit\/wp-json\/wp\/v2\/comments?post=391"}],"version-history":[{"count":10,"href":"https:\/\/www.bu.edu\/engit\/wp-json\/wp\/v2\/pages\/391\/revisions"}],"predecessor-version":[{"id":2334,"href":"https:\/\/www.bu.edu\/engit\/wp-json\/wp\/v2\/pages\/391\/revisions\/2334"}],"up":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/engit\/wp-json\/wp\/v2\/pages\/82"}],"wp:attachment":[{"href":"https:\/\/www.bu.edu\/engit\/wp-json\/wp\/v2\/media?parent=391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}