{"id":3713,"date":"2023-09-13T10:15:08","date_gmt":"2023-09-13T08:15:08","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=3713"},"modified":"2023-09-13T13:47:21","modified_gmt":"2023-09-13T11:47:21","slug":"linux-konfiguration-mit-aptik-sichern-und-wiederherstellen","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/13\/linux-konfiguration-mit-aptik-sichern-und-wiederherstellen\/","title":{"rendered":"Linux &#8211; Konfiguration mit Aptik sichern und wiederherstellen"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Es gibt schon viele Mittel und Wege seine Linux-Installation zu sichern und auch wieder erfolgreich herzustellen. Aber was tun, wenn eine neue Upgrade-Version zur Verf\u00fcgung steht?&#8230;<br>Nicht alle Linux-Distros &#8211; sofern kein Rolling Release vorliegt &#8211; lassen sich so ohne weiteres upgraden. Gelingt dies bei Debian, Ubuntu und seinen Derivaten oder Linux Mint meist relativ problemlos, schaut dies z. B. bei dem beliebten <strong>MX-Linux<\/strong> schon etwas anders aus. Obwohl auf Debian basierend, ist es aufgrund der sehr starken Anpassung ratsam, komplett neu zu installieren. Damit nicht alle Programme, Themes und diverse Einstellungen neu installiert und konfiguriert werden m\u00fcssen, was \u00e4u\u00dferst zeitaufwendig ist, bietet sich das kleine Tool <strong>Aptik<\/strong> an. Damit ist es m\u00f6glich, nach einer Neuinstallation die vorher gesicherten Programme, Repos, diverse Einstellungen und das komplette <em>&#8222;home&#8220;<\/em>-Verzeichnis r\u00fcckzusichern. Ein Versuch ist es allemal wert. Hier mit <strong>MX Linux 21<\/strong> funktionierte es einwandfrei.<br>Aptik steht f\u00fcr MX Linux bzw. Debian basierenden Distributionen als deb.-File zum Download bereit und besteht aus zwei Teilen: 1.) aptik-v18.8 sowie 2.) aptik-gtk-v18.8.2 jeweils in 32 Bit bzw. 64 Bit.<br><br>Hier die Downloads in<br><strong>32 Bit<\/strong><br>1.) <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/teejee2008\/aptik\/releases\/download\/v18.8\/aptik-v18.8-i386.deb\" target=\"_blank\">https:\/\/github.com\/teejee2008\/aptik\/rel &#8230; 8-i386.deb<\/a><br>2.) <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/teejee2008\/aptik-gtk\/releases\/download\/v18.8.1\/aptik-gtk-v18.8.2-i386.deb\" target=\"_blank\">https:\/\/github.com\/teejee2008\/aptik-gtk &#8230; 2-i386.deb<\/a><br><br><strong>64 Bit<\/strong><br>1.) <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/teejee2008\/aptik\/releases\/download\/v18.8\/aptik-v18.8-amd64.deb\" target=\"_blank\">https:\/\/github.com\/teejee2008\/aptik\/rel &#8230; -amd64.deb<\/a><br>2.) <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/teejee2008\/aptik-gtk\/releases\/download\/v18.8.1\/aptik-gtk-v18.8.2-amd64.deb\" target=\"_blank\">https:\/\/github.com\/teejee2008\/aptik-gtk &#8230; -amd64.deb<\/a><br><br>Installiert wird jeweils erst Teil 1.) und anschlie\u00dfend Teil 2.) z. B. mittels gdebi-Paketinstaller.<br>Das Tool steht nun im Anwendungsmen\u00fc unter <em>Systemverwaltung <\/em>als <strong>Aptik-GTK<\/strong> bereit.<br>Die Sicherung sollte auf einen externen USB-Datentr\u00e4ger erfolgen und dazu ein Ordner erstellt werden.<br><br>Beim ersten Aufruf von Aptik (die Oberfl\u00e4che ist in englisch &#8211; aber nicht kompliziert)&#8230;<br><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-01.jpg\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" width=\"891\" height=\"725\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-01.jpg\" alt=\"\" class=\"wp-image-3716\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-01.jpg 891w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-01-300x244.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-01-150x122.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-01-768x625.jpg 768w\" sizes=\"auto, (max-width: 891px) 100vw, 891px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">wird mit Klick auf <strong><em>&#8222;Select&#8220;<\/em><\/strong> der zuvor erstellte Speicherort f\u00fcr die Sicherung ausgew\u00e4hlt und best\u00e4tigt.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-02.jpg\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" width=\"891\" height=\"725\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-02.jpg\" alt=\"\" class=\"wp-image-3717\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-02.jpg 891w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-02-300x244.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-02-150x122.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-02-768x625.jpg 768w\" sizes=\"auto, (max-width: 891px) 100vw, 891px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Im folgenden Fenster links auf <strong><em>&#8222;Backup&#8220;<\/em><\/strong> klicken und die Einstellungen wie abgebildet \u00fcbernehmen&#8230;<br>Ein Klick auf <strong><em>&#8222;Backup All Items&#8220;<\/em><\/strong> startet die Sicherung.<br>Je nach Datenmenge und Rechnerleistung dauert dies einige Minuten. Der Fortschritt wird im integrierten Terminal angezeigt.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-03.jpg\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"731\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-03.jpg\" alt=\"\" class=\"wp-image-3718\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-03.jpg 900w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-03-300x244.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-03-150x122.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-03-768x624.jpg 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Nach Fertigstellung (<em><strong>&#8222;Backup completed&#8220;<\/strong><\/em>) das Programm schlie\u00dfen.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-04.jpg\" rel=\"lightbox-3\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"731\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-04.jpg\" alt=\"\" class=\"wp-image-3719\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-04.jpg 900w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-04-300x244.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-04-150x122.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-04-768x624.jpg 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Nun kann mit der Neuinstallation begonnen werden.<br>Nachdem die neue Version von MX Linux bereit steht, als erstes wie oben beschrieben <strong>Aptik<\/strong> erneut installieren.<br>Im sich \u00f6ffnenden Programm-Fenster mit <em><strong>&#8222;Select&#8220;<\/strong><\/em> den Speicherort der zuvor erstellten Sicherung ausw\u00e4hlen, nun links oben auf &#8222;<em><strong>General&#8220;<\/strong><\/em> klicken. Hier jetzt den Punkt von <em><strong>&#8222;Backup&#8220;<\/strong><\/em> auf <strong><em>&#8222;Restore&#8220; <\/em><\/strong>setzen und die Einstellungen wie abgebildet \u00fcbernehmen.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-05.jpg\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"731\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-05.jpg\" alt=\"\" class=\"wp-image-3720\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-05.jpg 900w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-05-300x244.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-05-150x122.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-05-768x624.jpg 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Jetzt links oben auf <em><strong>&#8222;Restore&#8220;<\/strong><\/em> klicken &#8211; alle Einstellungen \u00fcbernehmen und abschlie\u00dfend unten auf <em><strong>&#8222;Restore All Items&#8220;<\/strong><\/em> klicken.<br>Die R\u00fccksicherung startet nun und im integrierten Terminal wird der Fortschritt angezeigt. Bitte auf <strong><em>&#8222;Restore completed&#8220;<\/em><\/strong> abwarten.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-06.jpg\" rel=\"lightbox-5\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"731\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-06.jpg\" alt=\"\" class=\"wp-image-3721\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-06.jpg 900w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-06-300x244.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-06-150x122.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/Aptik-06-768x624.jpg 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Nun wird Aptik beendet und der Rechner neu gestartet.<br>Der Hinweis im Tool auf eine neue Version von Aptik kann ignoriert werden.<br>Wie bei allen Eingriffen ins System ist ein Backup pers\u00f6nlicher Dateien Pflicht.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Erstver\u00f6ffentlichung: Fr 29. Okt 2021, 10:30, beluga<\/strong><\/p>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"3713\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">2    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"3713\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Es gibt schon viele Mittel und Wege seine Linux-Installation zu sichern und auch wieder erfolgreich herzustellen. Aber was tun, wenn eine neue Upgrade-Version zur Verf\u00fcgung steht?&#8230;Nicht alle Linux-Distros &#8211; sofern kein Rolling Release vorliegt &#8211; lassen sich so ohne weiteres upgraden. Gelingt dies bei Debian, Ubuntu und seinen Derivaten oder Linux Mint meist relativ problemlos, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3715,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[410,72,17],"tags":[],"class_list":["post-3713","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-backup","category-sicherheit","category-system"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/3713","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=3713"}],"version-history":[{"count":4,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/3713\/revisions"}],"predecessor-version":[{"id":3725,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/3713\/revisions\/3725"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/3715"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=3713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=3713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=3713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}