
{"id":4570,"date":"2015-01-23T13:22:16","date_gmt":"2015-01-23T13:22:16","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=4570"},"modified":"2022-12-10T08:01:35","modified_gmt":"2022-12-10T08:01:35","slug":"timeshift-luks-encrypted-support","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2015\/01\/timeshift-luks-encrypted-support\/","title":{"rendered":"System Restore App &#8216;TimeShift&#8217; Adds LUKS-encrypted Partition Support"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/12\/system-restore-for-Linux-Timeshift.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2691\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/12\/system-restore-for-Linux-Timeshift.jpg\" alt=\"system restore app for Ubuntu Linux\" width=\"240\" height=\"240\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/12\/system-restore-for-Linux-Timeshift.jpg 240w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/12\/system-restore-for-Linux-Timeshift-150x150.jpg 150w\" sizes=\"auto, (max-width: 240px) 100vw, 240px\" \/><\/a><\/p>\n<p>TimeShift, the open-source <i>System Restore<\/i> software, has reached the 1.7.x release recently. The new release added new <b>command line options to restore, list and delete snapshots<\/b>, added backup and restore <b>support for LUKS-encrypted partitions<\/b>.<\/p>\n<p>Never heard of it? <a href=\"http:\/\/www.teejeetech.in\/p\/timeshift.html\" target=\"_blank\" rel=\"noopener\">TimeShift for Linux<\/a> is a application that provides functionality similar to the System Restore feature in Windows and the Time Machine tool in Mac OS. It takes snapshots of your system files and settings. User files such as documents, pictures and music are excluded. Your files remains unchanged when you restore your system to an earlier date.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/01\/timeshift-v1.7.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4571\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/01\/timeshift-v1.7.jpg\" alt=\"System Restore App TimeShift 1.7\" width=\"600\" height=\"348\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/01\/timeshift-v1.7.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/01\/timeshift-v1.7-300x174.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>The 1.7 version brings command line options to restore, delete snapshots. For example:<\/p>\n<pre style=\"border: none; background: none;\">timeshift --restore    #interactive\r\n\r\ntimeshift --restore --snapshot \"2015-01-21_19-28-43\" --backup-device \/dev\/sda2 --target-device \/dev\/sda1 --skip-grub\r\n\r\ntimeshift --delete    #interactive\r\n\r\ntimeshift --delete --snapshot \"2015-01-21_19-28-43\"\r\n\r\ntimeshift --delete-all    #completely remove all snapshots<\/pre>\n<p>If your system is installed on a LUKS-encrypted partition then you can now restore snapshots both online (from running system) and offline (from another system \/ LiveCD).<\/p>\n<h4>How to Install\/Upgrade TimeShift:<\/h4>\n<p>TimeShift is available in the <a href=\"https:\/\/launchpad.net\/~teejee2008\/+archive\/ubuntu\/ppa\" target=\"_blank\" rel=\"noopener\">developer&#8217;s PPA<\/a> for Ubuntu 15.04, Ubuntu 14.10, Ubuntu 14.04, and Ubuntu 12.04.<\/p>\n<p>To add the PPA, open terminal from the Dash or by pressing <b>Ctrl+Alt+T<\/b> on keyboard. When it opens, run command:<\/p>\n<pre id=\"yui_3_10_3_1_1670659243352_68\" class=\"command subordinate\">sudo add-apt-repository ppa:teejee2008\/timeshift<\/pre>\n<p>After that, update package cache and install the software by running below two commands one by one:<\/p>\n<pre style=\"border: none;\">sudo apt-get update\r\n\r\nsudo apt-get install timeshift<\/pre>\n<p><del datetime=\"2022-12-10T07:59:57+00:00\">For BTRFS filesystem, replace the last command with this one:<\/p>\n<pre style=\"border: none;\">sudo apt-get install timeshift-btrfs<\/pre>\n<p><\/del><\/p>","protected":false},"excerpt":{"rendered":"<p>TimeShift, the open-source System Restore software, has reached the 1.7.x release recently. The new release added new command line options to restore, list and delete snapshots, added backup and restore support for LUKS-encrypted partitions. Never heard of it? TimeShift for Linux is a application that provides functionality similar to the System Restore feature in Windows [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[694,940],"class_list":["post-4570","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-system-restore","tag-timeshift-ppa"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/4570","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=4570"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/4570\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=4570"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=4570"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=4570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}