{"id":94,"date":"2025-12-14T14:37:56","date_gmt":"2025-12-14T12:37:56","guid":{"rendered":"https:\/\/rcv.news\/?p=94"},"modified":"2025-12-14T14:41:59","modified_gmt":"2025-12-14T12:41:59","slug":"certbot-installation-umziehen","status":"publish","type":"post","link":"https:\/\/rcv.news\/?p=94","title":{"rendered":"certbot Installation umziehen"},"content":{"rendered":"\n<p>certbot speichert die Zertifikate, Schl\u00fcssel und Konfigurationsdateien im Filesystem mit symbolischen Links. Beim Umzug auf eine neue Hardware gibt es zwei Varianten:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>certbot neu einrichten<\/li>\n\n\n\n<li>den certbot Ordner auf die neue Hardware umziehen.<\/li>\n<\/ul>\n\n\n\n<p>Ich habe mich (nat\u00fcrlich aus Faulheit) f\u00fcr die Variante 2 entschieden, musste aber feststellen, dass es nicht ganz so einfach ist, symbolische Links auf eine neue Hardware mitzunehmen.<\/p>\n\n\n\n<p>In meinem Fall (OS = Windows Server) half 7zip. Wenn man den certbot Ordner auf der alten Hardware einpackt, benutzt man als Archiv Typ &lt;wim>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"620\" height=\"567\" src=\"https:\/\/rcv.news\/wp-content\/uploads\/2025\/12\/image.png\" alt=\"\" class=\"wp-image-95\" srcset=\"https:\/\/rcv.news\/wp-content\/uploads\/2025\/12\/image.png 620w, https:\/\/rcv.news\/wp-content\/uploads\/2025\/12\/image-300x274.png 300w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/figure>\n\n\n\n<p>Im n\u00e4chsten Schritt w\u00e4hlt man unter &#8220;Options&#8221; das Speichern der symbolischen Links.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"454\" height=\"474\" src=\"https:\/\/rcv.news\/wp-content\/uploads\/2025\/12\/image-1.png\" alt=\"\" class=\"wp-image-96\" srcset=\"https:\/\/rcv.news\/wp-content\/uploads\/2025\/12\/image-1.png 454w, https:\/\/rcv.news\/wp-content\/uploads\/2025\/12\/image-1-287x300.png 287w\" sizes=\"auto, (max-width: 454px) 100vw, 454px\" \/><\/figure>\n\n\n\n<p>Jetzt kommt die letzte H\u00fcrde. Beim Auspacken auf der Zielhardware werden die symbolischen Links zwar entpackt, allerdings wird statt dem Link die Datei abgelegt, auf die der Link verweist.<\/p>\n\n\n\n<p>Die einzige M\u00f6glichkeit ist das Entpacken \u00fcber die command line und die Nutzung der Option -snld. Die ist zwar nicht in der Kurzhilfe zu finden (<strong>siehe unten)<\/strong>, funktioniert aber hervorragend.<\/p>\n\n\n\n<p>7-Zip 25.01 (x64) : Copyright (c) 1999-2025 Igor Pavlov : 2025-08-03<\/p>\n\n\n\n<p>Usage: 7z [\u2026] [\u2026] [@listfile]<\/p>\n\n\n\n<p><br>a : Add files to archive<br>b : Benchmark<br>d : Delete files from archive<br>e : Extract files from archive (without using directory names)<br>h : Calculate hash values for files<br>i : Show information about supported formats<br>l : List contents of archive<br>rn : Rename files in archive<br>t : Test integrity of archive<br>u : Update files to archive<br>x : eXtract files with full paths<\/p>\n\n\n\n<p><br>&#8212; : Stop switches and @listfile parsing<br>-ai[r[-|0]][m[-|2]][w[-]]{@listfile|!wildcard} : Include archives<br>-ax[r[-|0]][m[-|2]][w[-]]{@listfile|!wildcard} : eXclude archives<br>-ao{a|s|t|u} : set Overwrite mode<br>-an : disable archive_name field<br>-bb[0-3] : set output log level<br>-bd : disable progress indicator<br>-bs{o|e|p}{0|1|2} : set output stream for output\/error\/progress line<br>-bt : show execution time statistics<br>-i[r[-|0]][m[-|2]][w[-]]{@listfile|!wildcard} : Include filenames<br>-m{Parameters} : set compression Method<br>-mmt[N] : set number of CPU threads<br>-mx[N] : set compression level: -mx1 (fastest) \u2026 -mx9 (ultra)<br>-o{Directory} : set Output directory<br>-p{Password} : set Password<br>-r[-|0] : Recurse subdirectories for name search<br>-sa{a|e|s} : set Archive name mode<br>-scc{UTF-8|WIN|DOS} : set charset for console input\/output<br>-scs{UTF-8|UTF-16LE|UTF-16BE|WIN|DOS|{id}} : set charset for list files<br>-scrc[CRC32|CRC64|SHA256|SHA1|XXH64|*] : set hash function for x, e, h commands<br>-sdel : delete files after compression<br>-seml[.] : send archive by email<br>-sfx[{name}] : Create SFX archive<br>-si[{name}] : read data from stdin<br>-slp : set Large Pages mode<br>-slt : show technical information for l (List) command<br>-snh : store hard links as links<br><strong>-snl : store symbolic links as links<\/strong><br>-sni : store NT security information<br>-sns[-] : store NTFS alternate streams<br>-so : write data to stdout<br>-spd : disable wildcard matching for file names<br>-spe : eliminate duplication of root folder for extract command<br>-spf[2] : use fully qualified file paths<br>-ssc[-] : set sensitive case mode<br>-sse : stop archive creating, if it can&#8217;t open some input file<br>-ssp : do not change Last Access Time of source files while archiving<br>-ssw : compress shared files<br>-stl : set archive timestamp from the most recently modified file<br>-stm{HexMask} : set CPU thread affinity mask (hexadecimal number)<br>-stx{Type} : exclude archive type<br>-t{Type} : Set type of archive<br>-u[-][p#][q#][r#][x#][y#][z#][!newArchiveName] : Update options<br>-v{Size}[b|k|m|g] : Create volumes<br>-w[{path}] : assign Work directory. Empty path means a temporary directory<br>-x[r[-|0]][m[-|2]][w[-]]{@listfile|!wildcard} : eXclude filenames<br>-y : assume Yes on all queries<\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>certbot speichert die Zertifikate, Schl\u00fcssel und Konfigurationsdateien im Filesystem mit symbolischen Links. Beim Umzug auf eine neue Hardware gibt es zwei Varianten: Ich habe mich (nat\u00fcrlich aus Faulheit) f\u00fcr die Variante 2 entschieden, musste aber feststellen, dass es nicht ganz <a href=\"https:\/\/rcv.news\/?p=94\"> Read more&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,10],"tags":[],"class_list":["post-94","post","type-post","status-publish","format-standard","hentry","category-tech","category-tutorial"],"_links":{"self":[{"href":"https:\/\/rcv.news\/index.php?rest_route=\/wp\/v2\/posts\/94","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rcv.news\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rcv.news\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rcv.news\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rcv.news\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=94"}],"version-history":[{"count":2,"href":"https:\/\/rcv.news\/index.php?rest_route=\/wp\/v2\/posts\/94\/revisions"}],"predecessor-version":[{"id":98,"href":"https:\/\/rcv.news\/index.php?rest_route=\/wp\/v2\/posts\/94\/revisions\/98"}],"wp:attachment":[{"href":"https:\/\/rcv.news\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rcv.news\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rcv.news\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}