{"id":4534,"date":"2019-02-25T19:27:16","date_gmt":"2019-02-25T18:27:16","guid":{"rendered":"http:\/\/milchyn.cz\/?page_id=4534"},"modified":"2025-09-22T10:47:39","modified_gmt":"2025-09-22T10:47:39","slug":"i-zalohovani-obnova","status":"publish","type":"page","link":"https:\/\/milchyn.cz\/i-zalohovani-obnova","title":{"rendered":"\u2139\ufe0f Z\u00e1lohov\u00e1n\u00ed a Obnova"},"content":{"rendered":"<div style=\"position: absolute; margin-left: 85vw; margin-top: -9vw;\"><img decoding=\"async\" class=\"size-medium alignright\" style=\"width: 6vw;\" src=\"http:\/\/milchyn.cz\/wp-content\/uploads\/2021\/10\/Linux-Rescue-e1635601184924.png\" \/><\/div>\n<p>Ned\u00edlnou sou\u010d\u00e1st\u00ed ka\u017ed\u00e9ho po\u010d\u00edta\u010dov\u00e9ho syst\u00e9mu by m\u011blo b\u00fdt jak z\u00e1lohov\u00e1n\u00ed, tak ale i testov\u00e1n\u00ed z\u00e1loh zku\u0161ebn\u00ed obnovou. V\u0161ak za zaz\u00e1lohovan\u00e9 lze pova\u017eovat jen to, co je i obnoviteln\u00e9 \ud83d\ude09.<\/p>\n<p>Interval i rozsah pravideln\u00fdch z\u00e1loh z\u00e1le\u017e\u00ed na tom, na kolik si kdo sv\u00e1 data cen\u00ed.<\/p>\n<a id=\"z\u00e1lohov\u00e1n\u00ed_v\u0161eho_do_tar_souboru_lok\u00e1ln\u011b\"><\/a><div class=\"mch-acr\"><div class=\"mch-acr-title\" role=\"button\" tabindex=\"0\" aria-expanded=\"false\" aria-controls=\"mch-acr-content-8\">Z\u00e1lohov\u00e1n\u00ed v\u0161eho do tar souboru lok\u00e1ln\u011b<\/div><div id=\"mch-acr-content-8\" class=\"mch-acr-content\" hidden><\/p>\n<p>\ud83d\udcbb <code>sudo tar -czvC &quot;\/&quot; -f \/cesta\/SouborZ\u00e1lohy.tgz .\/<\/code><\/p>\n<p><\/div><\/div>\n<a id=\"z\u00e1lohov\u00e1n\u00ed_domovsk\u00fdch_adres\u00e1\u0159\u016f_tar_souboru_lok\u00e1ln\u011b\"><\/a><div class=\"mch-acr\"><div class=\"mch-acr-title\" role=\"button\" tabindex=\"0\" aria-expanded=\"false\" aria-controls=\"mch-acr-content-9\">Z\u00e1lohov\u00e1n\u00ed domovsk\u00fdch adres\u00e1\u0159\u016f tar souboru lok\u00e1ln\u011b<\/div><div id=\"mch-acr-content-9\" class=\"mch-acr-content\" hidden><\/p>\n<p>\ud83d\udcbb <code>sudo tar -czvC &quot;\/home&quot; -f \/cesta\/SouborZ\u00e1lohy.tgz .\/<\/code><\/p>\n<p><\/div><\/div>\n<a id=\"z\u00e1lohov\u00e1n\u00ed_pouze_xubuntu_syst\u00e9mu_do_tar_souboru_lok\u00e1ln\u011b\"><\/a><div class=\"mch-acr\"><div class=\"mch-acr-title\" role=\"button\" tabindex=\"0\" aria-expanded=\"false\" aria-controls=\"mch-acr-content-10\">Z\u00e1lohov\u00e1n\u00ed pouze Xubuntu syst\u00e9mu do tar souboru lok\u00e1ln\u011b<\/div><div id=\"mch-acr-content-10\" class=\"mch-acr-content\" hidden><\/p>\n<p style=\"text-align: justify\">\u00a0P\u0159\u00edklad zaz\u00e1lohov\u00e1n\u00ed pouze opera\u010dn\u00edho syst\u00e9mu limitovan\u00e9ho na jeden filesyst\u00e9m do komprimovan\u00e9ho tar souboru.<\/p>\n<p>\ud83d\udcbb <code>sudo tar -czvC &quot;\/&quot; --one-file-system --exclude .\/lost+found --exclude .\/media\/[.]* --exclude .\/media\/* --exclude .\/tmp\/[.]* --exclude .\/tmp\/* --exclude **.gvfs --exclude **Trash* -f \/cesta\/SouborZ\u00e1lohy.tgz .\/<\/code><\/p>\n<p><\/div><\/div>\n<a id=\"z\u00e1lohov\u00e1n\u00ed_pouze_xubuntu_syst\u00e9mu_do_tar_souboru_na_vzd\u00e1len\u00fd_server\"><\/a><div class=\"mch-acr\"><div class=\"mch-acr-title\" role=\"button\" tabindex=\"0\" aria-expanded=\"false\" aria-controls=\"mch-acr-content-11\">Z\u00e1lohov\u00e1n\u00ed pouze Xubuntu syst\u00e9mu do tar souboru na vzd\u00e1len\u00fd server<\/div><div id=\"mch-acr-content-11\" class=\"mch-acr-content\" hidden><\/p>\n<p style=\"text-align: justify\">\u00a0P\u0159\u00edklad zaz\u00e1lohov\u00e1n\u00ed pouze opera\u010dn\u00edho syst\u00e9mu limitovan\u00e9ho na jeden filesyst\u00e9m do komprimovan\u00e9ho tar souboru p\u0159es ssh\u00a0 na vzd\u00e1len\u00fd server. Parametry <code class=&#8220;code-line&#8220; style=&#8220;display: inline; margin: 0px; border-style: none;&#8220;>-o...<\/code> pro ssh lze vynechat.<\/p>\n<p>\ud83d\udcbb <code>sudo tar -czvC &quot;\/&quot; --one-file-system --exclude .\/lost+found --exclude .\/media\/[.]* --exclude .\/media\/* --exclude .\/tmp\/[.]* --exclude .\/tmp\/* --exclude **.gvfs --exclude **Trash* -f - .\/ |ssh -o ConnectionAttempts=1 -o ServerAliveCountMax=2 -o ServerAliveInterval=210 -o ConnectTimeout=7 -o StrictHostKeyChecking=no -o HostAuthenticationForLocalhost=yes -C u\u017eivatel@server &quot;cat &amp;gt;\/cesta\/SouborZ\u00e1lohy.tgz&quot;<\/code><\/p>\n<p><\/div><\/div>\n<a id=\"obnova_souborov\u00e9_z\u00e1lohy_z_tar_souboru_lok\u00e1ln\u011b\"><\/a><div class=\"mch-acr\"><div class=\"mch-acr-title\" role=\"button\" tabindex=\"0\" aria-expanded=\"false\" aria-controls=\"mch-acr-content-12\">Obnova souborov\u00e9 z\u00e1lohy z tar souboru lok\u00e1ln\u011b<\/div><div id=\"mch-acr-content-12\" class=\"mch-acr-content\" hidden><\/p>\n<p>P\u0159\u00edklad obnova syst\u00e9mu z komprimovan\u00e9ho tar souboru do adres\u00e1\u0159e <code class=&#8220;code-line&#8220; style=&#8220;display: inline; margin: 0px; border-style: none;&#8220;>\/mnt<\/code> disku <code class=&#8220;code-line&#8220; style=&#8220;display: inline; margin: 0px; border-style: none;&#8220;>\/dev\/sdb1<\/code>. Po obnov\u011b je pot\u0159eba na disku <code class=&#8220;code-line&#8220; style=&#8220;display: inline; margin: 0px; border-style: none;&#8220;>\/dev\/sdb<\/code> k syst\u00e9mu vytvo\u0159it Bootov\u00e1n\u00ed.<\/p>\n<p>\ud83d\udcbb <code>sudo mount \/dev\/sdb1 \/mnt<\/code><\/p>\n<p>\ud83d\udcbb <code>sudo tar -xvC \/mnt -f \/cesta\/SouborZ\u00e1lohy.tgz<\/code><\/p>\n<p><\/div><\/div>\n<a id=\"obnova_souborov\u00e9_z\u00e1lohy_z_tar_souboru_ze_vzd\u00e1len\u00e9ho_serveru\"><\/a><div class=\"mch-acr\"><div class=\"mch-acr-title\" role=\"button\" tabindex=\"0\" aria-expanded=\"false\" aria-controls=\"mch-acr-content-13\">Obnova souborov\u00e9 z\u00e1lohy z tar souboru ze vzd\u00e1len\u00e9ho serveru<\/div><div id=\"mch-acr-content-13\" class=\"mch-acr-content\" hidden><\/p>\n<p>P\u0159\u00edklad obnova dat z komprimovan\u00e9ho tar souboru ze vzd\u00e1len\u00e9ho serveru do lok\u00e1ln\u00edho adres\u00e1\u0159e <code class=&#8220;code-line&#8220; style=&#8220;display: inline; margin: 0px; border-style: none;&#8220;>\/mnt<\/code> disku <code class=&#8220;code-line&#8220; style=&#8220;display: inline; margin: 0px; border-style: none;&#8220;>\/dev\/sdb1<\/code>. Po obnov\u011b je pot\u0159eba na disku <code class=&#8220;code-line&#8220; style=&#8220;display: inline; margin: 0px; border-style: none;&#8220;>\/dev\/sdb<\/code> k syst\u00e9mu vytvo\u0159it Bootov\u00e1n\u00ed.<\/p>\n<p>\ud83d\udcbb <code>sudo su - mount \/dev\/sdb1 \/mnt-xvC \/mnt<\/code><\/p>\n<p>\ud83d\udcbb <code>ssh -C u\u017eivatel@server &quot;cat \/cesta\/SouborZ\u00e1lohy.tgz&quot; | sudo tar -xvC \/mnt -f -<\/code><\/p>\n<p><\/div><\/div>\n<a id=\"naklonov\u00e1n\u00ed_pouze_xubuntu_syst\u00e9mu_do_lok\u00e1ln\u00edho_adres\u00e1\u0159e\"><\/a><div class=\"mch-acr\"><div class=\"mch-acr-title\" role=\"button\" tabindex=\"0\" aria-expanded=\"false\" aria-controls=\"mch-acr-content-14\">Naklonov\u00e1n\u00ed pouze Xubuntu syst\u00e9mu do lok\u00e1ln\u00edho adres\u00e1\u0159e<\/div><div id=\"mch-acr-content-14\" class=\"mch-acr-content\" hidden><\/p>\n<p>P\u0159\u00edklad naklonov\u00e1n\u00ed b\u011b\u017e\u00edc\u00edho syst\u00e9mu do adres\u00e1\u0159e <code class=&#8220;code-line&#8220; style=&#8220;display: inline; margin: 0px; border-style: none;&#8220;>\/mnt<\/code> disku <code class=&#8220;code-line&#8220; style=&#8220;display: inline; margin: 0px; border-style: none;&#8220;>\/dev\/sdb1<\/code>. Po obnov\u011b je pot\u0159eba na disku <code class=&#8220;code-line&#8220; style=&#8220;display: inline; margin: 0px; border-style: none;&#8220;>\/dev\/sdb<\/code> k syst\u00e9mu vytvo\u0159it Bootov\u00e1n\u00ed.<\/p>\n<p>\ud83d\udcbb <code>sudo tar -cvC &quot;\/&quot; --one-file-system --exclude .\/lost+found --exclude .\/media\/[.]* --exclude .\/media\/* --exclude .\/tmp\/[.]* --exclude .\/tmp\/* --exclude **.gvfs --exclude **Trash* -f - .\/ | sudo tar -xpf - -C \/mnt<\/code><\/p>\n<p><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Ned\u00edlnou sou\u010d\u00e1st\u00ed ka\u017ed\u00e9ho po\u010d\u00edta\u010dov\u00e9ho syst\u00e9mu by m\u011blo b\u00fdt jak z\u00e1lohov\u00e1n\u00ed, tak ale i testov\u00e1n\u00ed z\u00e1loh zku\u0161ebn\u00ed obnovou. V\u0161ak za zaz\u00e1lohovan\u00e9 lze pova\u017eovat jen to, co je i obnoviteln\u00e9 \ud83d\ude09. Interval i rozsah pravideln\u00fdch z\u00e1loh z\u00e1le\u017e\u00ed na tom, na kolik si kdo sv\u00e1 data cen\u00ed.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1144,"menu_order":-3,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4534","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u2139\ufe0f Z\u00e1lohov\u00e1n\u00ed a Obnova - milchyn.cz<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/milchyn.cz\/i-zalohovani-obnova\" \/>\n<meta property=\"og:locale\" content=\"cs_CZ\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u2139\ufe0f Z\u00e1lohov\u00e1n\u00ed a Obnova - milchyn.cz\" \/>\n<meta property=\"og:description\" content=\"Ned\u00edlnou sou\u010d\u00e1st\u00ed ka\u017ed\u00e9ho po\u010d\u00edta\u010dov\u00e9ho syst\u00e9mu by m\u011blo b\u00fdt jak z\u00e1lohov\u00e1n\u00ed, tak ale i testov\u00e1n\u00ed z\u00e1loh zku\u0161ebn\u00ed obnovou. V\u0161ak za zaz\u00e1lohovan\u00e9 lze pova\u017eovat jen to, co je i obnoviteln\u00e9 \ud83d\ude09. Interval i rozsah pravideln\u00fdch z\u00e1loh z\u00e1le\u017e\u00ed na tom, na kolik si kdo sv\u00e1 data cen\u00ed.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/milchyn.cz\/i-zalohovani-obnova\" \/>\n<meta property=\"og:site_name\" content=\"milchyn.cz\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-22T10:47:39+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/milchyn.cz\/wp-content\/uploads\/2021\/10\/Linux-Rescue-e1635601184924.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Odhadovan\u00e1 doba \u010dten\u00ed\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minuty\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/milchyn.cz\/i-zalohovani-obnova\",\"url\":\"https:\/\/milchyn.cz\/i-zalohovani-obnova\",\"name\":\"\u2139\ufe0f Z\u00e1lohov\u00e1n\u00ed a Obnova - milchyn.cz\",\"isPartOf\":{\"@id\":\"https:\/\/milchyn.cz\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/milchyn.cz\/i-zalohovani-obnova#primaryimage\"},\"image\":{\"@id\":\"https:\/\/milchyn.cz\/i-zalohovani-obnova#primaryimage\"},\"thumbnailUrl\":\"http:\/\/milchyn.cz\/wp-content\/uploads\/2021\/10\/Linux-Rescue-e1635601184924.png\",\"datePublished\":\"2019-02-25T18:27:16+00:00\",\"dateModified\":\"2025-09-22T10:47:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/milchyn.cz\/i-zalohovani-obnova#breadcrumb\"},\"inLanguage\":\"cs\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/milchyn.cz\/i-zalohovani-obnova\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"cs\",\"@id\":\"https:\/\/milchyn.cz\/i-zalohovani-obnova#primaryimage\",\"url\":\"https:\/\/milchyn.cz\/wp-content\/uploads\/2021\/10\/Linux-Rescue-e1635601184924.png\",\"contentUrl\":\"https:\/\/milchyn.cz\/wp-content\/uploads\/2021\/10\/Linux-Rescue-e1635601184924.png\",\"width\":100,\"height\":135},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/milchyn.cz\/i-zalohovani-obnova#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Dom\u016f\",\"item\":\"https:\/\/milchyn.cz\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux\",\"item\":\"https:\/\/milchyn.cz\/pocitac-s-linuxem\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u2139\ufe0f Z\u00e1lohov\u00e1n\u00ed a Obnova\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/milchyn.cz\/#website\",\"url\":\"https:\/\/milchyn.cz\/\",\"name\":\"milchyn.cz\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/milchyn.cz\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"cs\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u2139\ufe0f Z\u00e1lohov\u00e1n\u00ed a Obnova - milchyn.cz","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/milchyn.cz\/i-zalohovani-obnova","og_locale":"cs_CZ","og_type":"article","og_title":"\u2139\ufe0f Z\u00e1lohov\u00e1n\u00ed a Obnova - milchyn.cz","og_description":"Ned\u00edlnou sou\u010d\u00e1st\u00ed ka\u017ed\u00e9ho po\u010d\u00edta\u010dov\u00e9ho syst\u00e9mu by m\u011blo b\u00fdt jak z\u00e1lohov\u00e1n\u00ed, tak ale i testov\u00e1n\u00ed z\u00e1loh zku\u0161ebn\u00ed obnovou. V\u0161ak za zaz\u00e1lohovan\u00e9 lze pova\u017eovat jen to, co je i obnoviteln\u00e9 \ud83d\ude09. Interval i rozsah pravideln\u00fdch z\u00e1loh z\u00e1le\u017e\u00ed na tom, na kolik si kdo sv\u00e1 data cen\u00ed.","og_url":"https:\/\/milchyn.cz\/i-zalohovani-obnova","og_site_name":"milchyn.cz","article_modified_time":"2025-09-22T10:47:39+00:00","og_image":[{"url":"http:\/\/milchyn.cz\/wp-content\/uploads\/2021\/10\/Linux-Rescue-e1635601184924.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Odhadovan\u00e1 doba \u010dten\u00ed":"2 minuty"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/milchyn.cz\/i-zalohovani-obnova","url":"https:\/\/milchyn.cz\/i-zalohovani-obnova","name":"\u2139\ufe0f Z\u00e1lohov\u00e1n\u00ed a Obnova - milchyn.cz","isPartOf":{"@id":"https:\/\/milchyn.cz\/#website"},"primaryImageOfPage":{"@id":"https:\/\/milchyn.cz\/i-zalohovani-obnova#primaryimage"},"image":{"@id":"https:\/\/milchyn.cz\/i-zalohovani-obnova#primaryimage"},"thumbnailUrl":"http:\/\/milchyn.cz\/wp-content\/uploads\/2021\/10\/Linux-Rescue-e1635601184924.png","datePublished":"2019-02-25T18:27:16+00:00","dateModified":"2025-09-22T10:47:39+00:00","breadcrumb":{"@id":"https:\/\/milchyn.cz\/i-zalohovani-obnova#breadcrumb"},"inLanguage":"cs","potentialAction":[{"@type":"ReadAction","target":["https:\/\/milchyn.cz\/i-zalohovani-obnova"]}]},{"@type":"ImageObject","inLanguage":"cs","@id":"https:\/\/milchyn.cz\/i-zalohovani-obnova#primaryimage","url":"https:\/\/milchyn.cz\/wp-content\/uploads\/2021\/10\/Linux-Rescue-e1635601184924.png","contentUrl":"https:\/\/milchyn.cz\/wp-content\/uploads\/2021\/10\/Linux-Rescue-e1635601184924.png","width":100,"height":135},{"@type":"BreadcrumbList","@id":"https:\/\/milchyn.cz\/i-zalohovani-obnova#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Dom\u016f","item":"https:\/\/milchyn.cz\/"},{"@type":"ListItem","position":2,"name":"Linux","item":"https:\/\/milchyn.cz\/pocitac-s-linuxem"},{"@type":"ListItem","position":3,"name":"\u2139\ufe0f Z\u00e1lohov\u00e1n\u00ed a Obnova"}]},{"@type":"WebSite","@id":"https:\/\/milchyn.cz\/#website","url":"https:\/\/milchyn.cz\/","name":"milchyn.cz","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/milchyn.cz\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"cs"}]}},"_links":{"self":[{"href":"https:\/\/milchyn.cz\/index.php?rest_route=\/wp\/v2\/pages\/4534","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/milchyn.cz\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/milchyn.cz\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/milchyn.cz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/milchyn.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4534"}],"version-history":[{"count":0,"href":"https:\/\/milchyn.cz\/index.php?rest_route=\/wp\/v2\/pages\/4534\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/milchyn.cz\/index.php?rest_route=\/wp\/v2\/pages\/1144"}],"wp:attachment":[{"href":"https:\/\/milchyn.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}