{"id":55453,"date":"2020-09-17T06:15:15","date_gmt":"2020-09-17T04:15:15","guid":{"rendered":"https:\/\/ar3dp.de\/docs\/internet-netzwerk\/nas\/svn-repository-auf-synology-nas-sichern\/"},"modified":"2020-09-17T06:15:15","modified_gmt":"2020-09-17T04:15:15","slug":"svn-repository-auf-synology-nas-sichern","status":"publish","type":"docs","link":"https:\/\/ar3dp.de\/en\/docs\/internet-netzwerk\/nas\/svn-repository-auf-synology-nas-sichern\/","title":{"rendered":"SVN Repository auf Synology NAS sichern"},"content":{"rendered":"<h3 class=\"wp-block-heading\">Vorbereitung<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Zun\u00e4chst m\u00fcssen Sie den SSH Dienst auf Ihrem Synology NAS aktivieren. Dazu melden Sie sich einfach in Ihrem Dashboard an und \u00f6ffnen die Systemsteuerung. Unter &#8220;Terminal &amp; SMNP&#8221; befindet sich eine Checkbox &#8220;SSH-Dienst aktivieren&#8221;. Aktivieren Sie diese Checkbox und speichern Sie die Einstellungen.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"992\" height=\"570\" src=\"https:\/\/ar3dp.de\/wp-content\/uploads\/2019\/07\/synology_enable_ssh.png\" alt=\"\" class=\"wp-image-23961\" srcset=\"https:\/\/ar3dp.de\/wp-content\/uploads\/2019\/07\/synology_enable_ssh.png 992w, https:\/\/ar3dp.de\/wp-content\/uploads\/2019\/07\/synology_enable_ssh-590x339.png 590w, https:\/\/ar3dp.de\/wp-content\/uploads\/2019\/07\/synology_enable_ssh-768x441.png 768w, https:\/\/ar3dp.de\/wp-content\/uploads\/2019\/07\/synology_enable_ssh-750x431.png 750w\" sizes=\"(max-width: 992px) 100vw, 992px\" \/><figcaption class=\"wp-element-caption\">Aktivieren des SSH-Dienstes f\u00fcr Ihr NAS<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Nun k\u00f6nnen Sie mit jedem SSH Client Tool eine Verbindung mit Ihrem NAS aufbauen. Wir empfehlen hierzu Putty. Sie k\u00f6nnen das Tool unter folgendem Link kostenlos <a href=\"https:\/\/shatter-box.com\/download\/putty\/#\" target=\"_blank\" rel=\"noreferrer noopener nofollow\" aria-label=\"herunterladen (\u00f6ffnet in neuem Tab)\">herunterladen<\/a>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Synology NAS auf Amazon finden (Amazon PartnerLinks)<\/h4>\n\n\n\n<iframe style=\"width:240px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/ws-eu.amazon-adsystem.com\/widgets\/q?ServiceVersion=20070822&amp;OneJS=1&amp;Operation=GetAdHtml&amp;MarketPlace=DE&amp;source=ac&amp;ref=tf_til&amp;ad_type=product_link&amp;tracking_id=animehubde-21&amp;marketplace=amazon&amp;region=DE&amp;placement=B075WX3XWW&amp;asins=B075WX3XWW&amp;linkId=0314adb583d31c09b6487108c1863680&amp;show_border=false&amp;link_opens_in_new_window=false&amp;price_color=333333&amp;title_color=0066c0&amp;bg_color=ffffff\">\n    <\/iframe>\n\n\n\n<h3 class=\"wp-block-heading\">Mit NAS verbinden<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Starten Sie nun Ihr SSH Client Tool und verbinden Sie sich mit Ihrem NAS. Verwenden Sie dazu die IP Adresse.<\/p>\n\n\n\n<pre class=\"wp-block-verse\">Wenn Sie bereits den root Zugriff auf Ihrem NAS aktiviert haben, so k\u00f6nnen Sie sich auch direkt als root Benutzer anmelden. Falls nicht, folgen Sie bitte folgende Schritte.<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Melden Sie sich mit Ihrem Administratorkonto an. Es ist dasselbe wie das, was Sie f\u00fcr das Anmelden im Dashboard verwenden.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"661\" height=\"418\" src=\"https:\/\/ar3dp.de\/wp-content\/uploads\/2019\/07\/synology_connect_ssh_1.png\" alt=\"\" class=\"wp-image-23962\" srcset=\"https:\/\/ar3dp.de\/wp-content\/uploads\/2019\/07\/synology_connect_ssh_1.png 661w, https:\/\/ar3dp.de\/wp-content\/uploads\/2019\/07\/synology_connect_ssh_1-590x373.png 590w\" sizes=\"(max-width: 661px) 100vw, 661px\" \/><figcaption class=\"wp-element-caption\">Anmeldung mit Ihren Administratorkonto<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Nach dem erfolgreichen Anmelden, geben Sie bitte folgenden Befehl ein. Dies wird Sie zum root-Benutzer machen. Sie werden nochmals nach Ihrem Adminpasswort gefragt.<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;shell&quot;,&quot;mime&quot;:&quot;application\/x-sh&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;TrpContentRestriction&quot;:{&quot;restriction_type&quot;:&quot;exclude&quot;,&quot;selected_languages&quot;:[],&quot;panel_open&quot;:true},&quot;language&quot;:&quot;Shell&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;shell&quot;}\">sudo -i<\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"661\" height=\"418\" src=\"https:\/\/ar3dp.de\/wp-content\/uploads\/2019\/07\/synology_connect_ssh_2.png\" alt=\"\" class=\"wp-image-23963\" srcset=\"https:\/\/ar3dp.de\/wp-content\/uploads\/2019\/07\/synology_connect_ssh_2.png 661w, https:\/\/ar3dp.de\/wp-content\/uploads\/2019\/07\/synology_connect_ssh_2-590x373.png 590w\" sizes=\"(max-width: 661px) 100vw, 661px\" \/><figcaption class=\"wp-element-caption\">Fortfahren als root-Benutzer<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Nun sind Sie als root-Benutzer angemeldet. Als solcher haben Sie noch mehr Rechte &amp; M\u00f6glichkeiten, wie als Standardadmin. Um Zugriff zum SVN Repository zu bekommen, ist der Zugriff als root-Benutzer n\u00f6tig.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Sicherung Ihres Repository<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Wir erstellen jetzt ein Abbild des SVN Repositories, kurz einen Dump. Zuerst wechseln wir jedoch das Verzeichnis. Verwenden Sie dazu folgenden Befehl.<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;shell&quot;,&quot;mime&quot;:&quot;application\/x-sh&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;TrpContentRestriction&quot;:{&quot;restriction_type&quot;:&quot;exclude&quot;,&quot;selected_languages&quot;:[],&quot;panel_open&quot;:true},&quot;language&quot;:&quot;Shell&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;shell&quot;}\">cd volume1\/<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Wir wechseln in das Rootverzeichnis vom Volume1. Dies kann, abh\u00e4ngig von Ihrem Setup, auch ein anderes Volume sein. <\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;shell&quot;,&quot;mime&quot;:&quot;application\/x-sh&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;TrpContentRestriction&quot;:{&quot;restriction_type&quot;:&quot;exclude&quot;,&quot;selected_languages&quot;:[],&quot;panel_open&quot;:true},&quot;language&quot;:&quot;Shell&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;shell&quot;}\">svnadmin dump SVN\/IHR_REPO &gt; Sicherungen\/MeineSicherung.svndump<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt starten wir die Erstellung des Abbildes. Geben Sie dazu einfach den Pfad zu Ihrem Repository an und den Pfad am NAS, wohin die Sicherung abgelegt werden soll. Der Dateiname kann beliebig gew\u00e4hlt werden, sowie die Dateiendung.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Bei Synology ist der Einstiegspfad immer &#8220;volumeX\/SVN\/IHR_REPOSITORY_NAME&#8221;, wobei das X f\u00fcr das Volume steht. Da wir jedoch das Volume1 betreten haben, k\u00f6nnen wir dies weglassen.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"661\" height=\"418\" src=\"https:\/\/ar3dp.de\/wp-content\/uploads\/2019\/07\/synology_connect_ssh_3.png\" alt=\"\" class=\"wp-image-23964\" srcset=\"https:\/\/ar3dp.de\/wp-content\/uploads\/2019\/07\/synology_connect_ssh_3.png 661w, https:\/\/ar3dp.de\/wp-content\/uploads\/2019\/07\/synology_connect_ssh_3-590x373.png 590w\" sizes=\"(max-width: 661px) 100vw, 661px\" \/><figcaption class=\"wp-element-caption\">Die Sicherung l\u00e4uft. Abh\u00e4ngig von der Gr\u00f6\u00dfe des Repos kann dies einige Zeit dauern.<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Repository wiederherstellen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Um nun ein Repository aus einer Sicherung wiederherzustellen, verwenden Sie bitte folgenden Befehl.<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;shell&quot;,&quot;mime&quot;:&quot;application\/x-sh&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;TrpContentRestriction&quot;:{&quot;restriction_type&quot;:&quot;exclude&quot;,&quot;selected_languages&quot;:[],&quot;panel_open&quot;:true},&quot;language&quot;:&quot;Shell&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;shell&quot;}\">svnadmin load SVN\/IHR_REPOSITORY &lt; Sicherungen\/MeineSicherung.svndump<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Bitte beachten Sie, dass der aktuelle Inhalt \u00fcberschrieben wird.  Alternativ k\u00f6nnen Sie die Sicherung auch in ein neues Repo wiederherstellen. Zum Erstellen eines neuen Repos, geben Sie bitte folgenden Befehl ein.<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;shell&quot;,&quot;mime&quot;:&quot;application\/x-sh&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;TrpContentRestriction&quot;:{&quot;restriction_type&quot;:&quot;exclude&quot;,&quot;selected_languages&quot;:[],&quot;panel_open&quot;:true},&quot;language&quot;:&quot;Shell&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;shell&quot;}\">svnadmin create MY_NEW_REPOSITORY<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Anschlie\u00dfend laden Sie das Abbild in das neue Repository.<\/p>","protected":false},"excerpt":{"rendered":"<p>Vorbereitung Zun\u00e4chst m\u00fcssen Sie den SSH Dienst auf Ihrem Synology NAS aktivieren. Dazu melden Sie sich einfach in Ihrem Dashboard an und \u00f6ffnen die Systemsteuerung. Unter &#8220;Terminal &amp; SMNP&#8221; befindet sich eine Checkbox &#8220;SSH-Dienst aktivieren&#8221;. Aktivieren Sie diese Checkbox und speichern Sie die Einstellungen. Nun k\u00f6nnen Sie mit jedem SSH Client Tool eine Verbindung mit&#8230;<\/p>","protected":false},"author":1,"featured_media":0,"parent":55452,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_featured":false,"_is_vendor_doc":"0","footnotes":""},"doc_tag":[815,812,814,813,816],"class_list":["post-55453","docs","type-docs","status-publish","hentry","doc_tag-backup","doc_tag-nas","doc_tag-sichern","doc_tag-svn","doc_tag-synology"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/ar3dp.de\/en\/wp-json\/wp\/v2\/docs\/55453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ar3dp.de\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/ar3dp.de\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/ar3dp.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ar3dp.de\/en\/wp-json\/wp\/v2\/comments?post=55453"}],"version-history":[{"count":0,"href":"https:\/\/ar3dp.de\/en\/wp-json\/wp\/v2\/docs\/55453\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/ar3dp.de\/en\/wp-json\/wp\/v2\/docs\/55452"}],"wp:attachment":[{"href":"https:\/\/ar3dp.de\/en\/wp-json\/wp\/v2\/media?parent=55453"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/ar3dp.de\/en\/wp-json\/wp\/v2\/doc_tag?post=55453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}