<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://www.synology-forum.de/wiki/index.php?action=history&amp;feed=atom&amp;title=Archiv%3AGenerationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk</id>
	<title>Archiv:Generationsbackup mit rsync und rsnapshot im Netzwerk - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://www.synology-forum.de/wiki/index.php?action=history&amp;feed=atom&amp;title=Archiv%3AGenerationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk"/>
	<link rel="alternate" type="text/html" href="https://www.synology-forum.de/wiki/index.php?title=Archiv:Generationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk&amp;action=history"/>
	<updated>2026-05-07T21:15:37Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Synology Wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://www.synology-forum.de/wiki/index.php?title=Archiv:Generationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk&amp;diff=10688&amp;oldid=prev</id>
		<title>Tommes: Tommes verschob die Seite Generationsbackup mit rsync und rsnapshot im Netzwerk nach Archiv:Generationsbackup mit rsync und rsnapshot im Netzwerk</title>
		<link rel="alternate" type="text/html" href="https://www.synology-forum.de/wiki/index.php?title=Archiv:Generationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk&amp;diff=10688&amp;oldid=prev"/>
		<updated>2025-03-15T07:31:22Z</updated>

		<summary type="html">&lt;p&gt;Tommes verschob die Seite &lt;a href=&quot;/wiki/Generationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk&quot; class=&quot;mw-redirect&quot; title=&quot;Generationsbackup mit rsync und rsnapshot im Netzwerk&quot;&gt;Generationsbackup mit rsync und rsnapshot im Netzwerk&lt;/a&gt; nach &lt;a href=&quot;/wiki/Archiv:Generationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk&quot; title=&quot;Archiv:Generationsbackup mit rsync und rsnapshot im Netzwerk&quot;&gt;Archiv:Generationsbackup mit rsync und rsnapshot im Netzwerk&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 15. März 2025, 07:31 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;de&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(kein Unterschied)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Tommes</name></author>
	</entry>
	<entry>
		<id>https://www.synology-forum.de/wiki/index.php?title=Archiv:Generationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk&amp;diff=465&amp;oldid=prev</id>
		<title>imported&gt;Johayek: /* Verschlüsseltes Backup via Netzwerk */</title>
		<link rel="alternate" type="text/html" href="https://www.synology-forum.de/wiki/index.php?title=Archiv:Generationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk&amp;diff=465&amp;oldid=prev"/>
		<updated>2015-01-30T06:26:58Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Verschlüsseltes Backup via Netzwerk&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 30. Januar 2015, 06:26 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l95&quot;&gt;Zeile 95:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 95:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Verschlüsseltes Backup via Netzwerk ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Verschlüsseltes Backup via Netzwerk ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Dazu müsst ihr Euch zuerst einen RSA Schlüssel erstellen (puttygen kann das, der Schlüssel sollte 1024 Bit lang sein und nicht länger!). Den Private Key sollte KEIN Passwort haben und gehört ins /root der DS, die rsnapshot startet.&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Dazu müsst ihr Euch zuerst einen RSA Schlüssel erstellen (puttygen kann das, der Schlüssel sollte 1024 Bit lang sein und nicht länger!). Den Private Key sollte KEIN Passwort haben und gehört ins /root der DS, die rsnapshot startet.&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Der Public Key kommt in die Datei /root/.ssh/authorized_keys (wenn nicht vorhanden &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;anlgegen&lt;/del&gt;) auf der entfernten DS. Also diejenige auf die rsnapshot remote zugreift.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Der Public Key kommt in die Datei /root/.ssh/authorized_keys (wenn nicht vorhanden &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;anlegen&lt;/ins&gt;) auf der entfernten DS. Also diejenige auf die rsnapshot remote zugreift.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Danach hat man die Möglichkeit rsync OHNE rsync Daemon zu nutzen d.h. in diesem Fall müssen eine Module für rsyncd erstellt werden, auch muss der rsyncd nicht laufen&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Danach hat man die Möglichkeit rsync OHNE rsync Daemon zu nutzen d.h. in diesem Fall müssen eine Module für rsyncd erstellt werden, auch muss der rsyncd nicht laufen&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Johayek</name></author>
	</entry>
	<entry>
		<id>https://www.synology-forum.de/wiki/index.php?title=Archiv:Generationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk&amp;diff=4150&amp;oldid=prev</id>
		<title>imported&gt;RudiWiesmayr am 24. Mai 2012 um 14:06 Uhr</title>
		<link rel="alternate" type="text/html" href="https://www.synology-forum.de/wiki/index.php?title=Archiv:Generationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk&amp;diff=4150&amp;oldid=prev"/>
		<updated>2012-05-24T14:06:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 24. Mai 2012, 14:06 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Backup and Recovery]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Backups mit rsync und rsnapshot ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Backups mit rsync und rsnapshot ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Bei Backups auf der DS stellt sich immer die Frage, welchen Weg man gehen will: Nur den aktuellsten Zustand oder Generationen von Zuständen. Für den ersten Fall ist rsync das Mittel der Wahl, für den zweiten Fall verwendet man rsnapshot. rsnapshot verwendet im Hintergrund zwar auch rsync, kann aber durch trotzem Sohn-Vater-Grossvater Backups erstellen. Damit wird es möglich den Zustand zu (beinahe) jedem Zeitpunkt wieder herzustellen.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Bei Backups auf der DS stellt sich immer die Frage, welchen Weg man gehen will: Nur den aktuellsten Zustand oder Generationen von Zuständen. Für den ersten Fall ist rsync das Mittel der Wahl, für den zweiten Fall verwendet man rsnapshot. rsnapshot verwendet im Hintergrund zwar auch rsync, kann aber durch trotzem Sohn-Vater-Grossvater Backups erstellen. Damit wird es möglich den Zustand zu (beinahe) jedem Zeitpunkt wieder herzustellen.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;RudiWiesmayr</name></author>
	</entry>
	<entry>
		<id>https://www.synology-forum.de/wiki/index.php?title=Archiv:Generationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk&amp;diff=4149&amp;oldid=prev</id>
		<title>imported&gt;Raymond: /* Verschlüsseltes Backup via Netzwerk */</title>
		<link rel="alternate" type="text/html" href="https://www.synology-forum.de/wiki/index.php?title=Archiv:Generationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk&amp;diff=4149&amp;oldid=prev"/>
		<updated>2011-08-01T13:44:33Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Verschlüsseltes Backup via Netzwerk&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 1. August 2011, 13:44 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l104&quot;&gt;Zeile 104:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 104:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ssh_args        -i /root/privateKey&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ssh_args        -i /root/privateKey&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Dann noch die Backup Jobs in der &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Konfig &lt;/del&gt;anpassen&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Dann noch die Backup Jobs in der &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Konfiguration &lt;/ins&gt;anpassen&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;backup  root@192.168.100.102:/volume1/photo/                      localhost/&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;backup  root@192.168.100.102:/volume1/photo/                      localhost/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Raymond</name></author>
	</entry>
	<entry>
		<id>https://www.synology-forum.de/wiki/index.php?title=Archiv:Generationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk&amp;diff=4148&amp;oldid=prev</id>
		<title>imported&gt;Raymond: /* Verschlüsseltes Backup via Netzwerk */ typo</title>
		<link rel="alternate" type="text/html" href="https://www.synology-forum.de/wiki/index.php?title=Archiv:Generationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk&amp;diff=4148&amp;oldid=prev"/>
		<updated>2011-08-01T13:44:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Verschlüsseltes Backup via Netzwerk: &lt;/span&gt; typo&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 1. August 2011, 13:44 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l100&quot;&gt;Zeile 100:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 100:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;rsync -av -e &amp;quot;ssh -i /root/privateKey&amp;quot; root@IP_REMOTE_DS:/volume1/photo /volume1/backup/&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;rsync -av -e &amp;quot;ssh -i /root/privateKey&amp;quot; root@IP_REMOTE_DS:/volume1/photo /volume1/backup/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Damit auch rsnapshot die Backups via ssh machen kann, muss man die &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Config &lt;/del&gt;unter /opt/etc/rsnapshot.conf etwas anpassen&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Damit auch rsnapshot die Backups via ssh machen kann, muss man die &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Konfiguration &lt;/ins&gt;unter /opt/etc/rsnapshot.conf etwas anpassen&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ssh_args        -i /root/privateKey&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ssh_args        -i /root/privateKey&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Raymond</name></author>
	</entry>
	<entry>
		<id>https://www.synology-forum.de/wiki/index.php?title=Archiv:Generationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk&amp;diff=4147&amp;oldid=prev</id>
		<title>imported&gt;Jahlives: /* rsync-Daemon einrichten */</title>
		<link rel="alternate" type="text/html" href="https://www.synology-forum.de/wiki/index.php?title=Archiv:Generationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk&amp;diff=4147&amp;oldid=prev"/>
		<updated>2010-04-17T19:13:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;rsync-Daemon einrichten&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 17. April 2010, 19:13 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l19&quot;&gt;Zeile 19:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 19:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== rsync-Daemon einrichten ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== rsync-Daemon einrichten ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Auf der Quelle muss also der rsync-Daemon laufen. Dieser Daemon stellt dann lokale Verzeichnisse als &quot;Freigaben&quot; zum Backup zur Verfügung. Zur Installation von rsync gibt es genügend Beispiele im Internet oder auch &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;[http://www.synology-wiki.de|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in userem &lt;/del&gt;Wiki&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;]. Hier soll es um die Einrichtung des Daemons gehen.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Auf der Quelle muss also der rsync-Daemon laufen. Dieser Daemon stellt dann lokale Verzeichnisse als &quot;Freigaben&quot; zum Backup zur Verfügung. Zur Installation von rsync gibt es genügend Beispiele im Internet oder auch [http://www.synology-wiki.de|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;hier im &lt;/ins&gt;Wiki]. Hier soll es um die Einrichtung des Daemons gehen.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== rsyncd.conf ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== rsyncd.conf ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In dieser Datei, meist unter &amp;#039;&amp;#039;&amp;#039;/opt/etc&amp;#039;&amp;#039;&amp;#039; werden die Einstellungen für den rsync-Daemon vorgenommen.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In dieser Datei, meist unter &amp;#039;&amp;#039;&amp;#039;/opt/etc&amp;#039;&amp;#039;&amp;#039; werden die Einstellungen für den rsync-Daemon vorgenommen.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Jahlives</name></author>
	</entry>
	<entry>
		<id>https://www.synology-forum.de/wiki/index.php?title=Archiv:Generationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk&amp;diff=4146&amp;oldid=prev</id>
		<title>imported&gt;Jahlives am 17. April 2010 um 19:04 Uhr</title>
		<link rel="alternate" type="text/html" href="https://www.synology-forum.de/wiki/index.php?title=Archiv:Generationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk&amp;diff=4146&amp;oldid=prev"/>
		<updated>2010-04-17T19:04:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 17. April 2010, 19:04 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot;&gt;Zeile 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Im Folgenden soll es nicht um die Installation von [[Backup_über_RSync_auf_einen_angeschlossenen_Datenträger#Vorarbeiten|rsync]] oder [[Rsnapshot#Installation|rsnapshot]] gehen. Hier soll es darum gehen das Zusammenspiel von rsync und rsnapshot so zu optimieren, dass man auch bei Netzwerkbackups Generationen vorhalten kann.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Im Folgenden soll es nicht um die Installation von [[Backup_über_RSync_auf_einen_angeschlossenen_Datenträger#Vorarbeiten|rsync]] oder [[Rsnapshot#Installation|rsnapshot]] gehen. Hier soll es darum gehen das Zusammenspiel von rsync und rsnapshot so zu optimieren, dass man auch bei Netzwerkbackups Generationen vorhalten kann.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Netzwerkbackup ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Netzwerkbackup ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Es gibt eigentlich nur zwei Möglichkeiten mit diesen beiden Programmen zusammen ein Backup via Netzwerk zu erstellen. Die &quot;grosse Einschränkung&quot; ist, dass rsnapshot immer auf jener Maschine laufen muss wo auch die Daten gespeichert werden. rsnapshot kann Backups nicht auf entfernte Ziele speichern, das &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;**&lt;/del&gt;Backupziel muss also immer lokal&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** &lt;/del&gt;sein&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Es gibt eigentlich nur zwei Möglichkeiten mit diesen beiden Programmen zusammen ein Backup via Netzwerk zu erstellen. Die &quot;grosse Einschränkung&quot; ist, dass rsnapshot immer auf jener Maschine laufen muss wo auch die Daten gespeichert werden. rsnapshot kann Backups nicht auf entfernte Ziele speichern, das &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;Backupziel muss also immer lokal&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039; &lt;/ins&gt;sein&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Mit dieser Einschränkung gibt es also nur zwei Möglichkeiten:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Mit dieser Einschränkung gibt es also nur zwei Möglichkeiten:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# lokales Backup mit rsnapshot und dann das Archiv mit rync auf den Backupserver&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# lokales Backup mit rsnapshot und dann das Archiv mit rync auf den Backupserver&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot;&gt;Zeile 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Bei 2) ist das Ganze etwas schwieriger einzurichten und ausserdem birgt es gewisse Sicherheitsrisiken. In einem LAN hinter einem Router mit aktivierter Firewall auf der DS und gesetzten IP-Beschränkungen beim Backupzugriff kann man diese Risiken jedoch vernachlässigen. Das Problem ist, dass auf der Backupquelle rsync im Daemonmodus laufen muss. Dieser Dämon stellt die Daten für das Backup seitens rsnapshot zur Verfügung. Das Risiko ist, dass der Benutzer unter dem der Daemon läuft mindestens lesenden Zugriff auf alle zu backupenden Daten haben muss&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Bei 2) ist das Ganze etwas schwieriger einzurichten und ausserdem birgt es gewisse Sicherheitsrisiken. In einem LAN hinter einem Router mit aktivierter Firewall auf der DS und gesetzten IP-Beschränkungen beim Backupzugriff kann man diese Risiken jedoch vernachlässigen. Das Problem ist, dass auf der Backupquelle rsync im Daemonmodus laufen muss. Dieser Dämon stellt die Daten für das Backup seitens rsnapshot zur Verfügung. Das Risiko ist, dass der Benutzer unter dem der Daemon läuft mindestens lesenden Zugriff auf alle zu backupenden Daten haben muss&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Gerade für Systemfiles und Homeverzeichnisse der User kommt eigentlich fast nur &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;**&lt;/del&gt;root&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** &lt;/del&gt;ist Frage! root ist auch wunderbar bequem weil man damit alle Rechte hat jede Datei zu kopieren.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Gerade für Systemfiles und Homeverzeichnisse der User kommt eigentlich fast nur &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;root&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039; &lt;/ins&gt;ist Frage! root ist auch wunderbar bequem weil man damit alle Rechte hat jede Datei zu kopieren.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In diesem Fall müssen aber sehr restriktive IP Einschränkungen für den Zugriff auf den rsync-Daemon gesetzt werden. Bei mir darf einzig und alleine die entfernte Backupmaschine (dort wird der rsnapshot aufgerufen) auf den rsync-Daemon zugreifen&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In diesem Fall müssen aber sehr restriktive IP Einschränkungen für den Zugriff auf den rsync-Daemon gesetzt werden. Bei mir darf einzig und alleine die entfernte Backupmaschine (dort wird der rsnapshot aufgerufen) auf den rsync-Daemon zugreifen&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot;&gt;Zeile 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Auf der Quelle muss also der rsync-Daemon laufen. Dieser Daemon stellt dann lokale Verzeichnisse als &amp;quot;Freigaben&amp;quot; zum Backup zur Verfügung. Zur Installation von rsync gibt es genügend Beispiele im Internet oder auch [[http://www.synology-wiki.de|in userem Wiki]]. Hier soll es um die Einrichtung des Daemons gehen.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Auf der Quelle muss also der rsync-Daemon laufen. Dieser Daemon stellt dann lokale Verzeichnisse als &amp;quot;Freigaben&amp;quot; zum Backup zur Verfügung. Zur Installation von rsync gibt es genügend Beispiele im Internet oder auch [[http://www.synology-wiki.de|in userem Wiki]]. Hier soll es um die Einrichtung des Daemons gehen.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== rsyncd.conf ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== rsyncd.conf ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In dieser Datei, meist unter &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;**&lt;/del&gt;/opt/etc&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** &lt;/del&gt;werden die Einstellungen für den rsync-Daemon vorgenommen.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In dieser Datei, meist unter &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;/opt/etc&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039; &lt;/ins&gt;werden die Einstellungen für den rsync-Daemon vorgenommen.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===== global =====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===== global =====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l48&quot;&gt;Zeile 48:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 48:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Diese Parameter einer &amp;quot;Freigabe&amp;quot; sollten selbsterklärend sein. chroot würde sicherstellen, dass das angegebene Verzeichnis unter path nicht verlassen werden könnte. Nur bringt das nicht viel wenn des path Verzeichnis / ist ;-) &amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Diese Parameter einer &amp;quot;Freigabe&amp;quot; sollten selbsterklärend sein. chroot würde sicherstellen, dass das angegebene Verzeichnis unter path nicht verlassen werden könnte. Nur bringt das nicht viel wenn des path Verzeichnis / ist ;-) &amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Auf jeden Fall muss eine solche root Freigabe &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;**&lt;/del&gt;nur&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** &lt;/del&gt;lesbar sein. Die IPs unter hosts allow definieren welche IPs überhaupt auf die Freigabe zugreifen dürfen. Nicht aufgeführte IPs werden durch &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;**&lt;/del&gt;hosts deny = &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;**&lt;/del&gt;* geblockt. &amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Auf jeden Fall muss eine solche root Freigabe &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;nur&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039; &lt;/ins&gt;lesbar sein. Die IPs unter hosts allow definieren welche IPs überhaupt auf die Freigabe zugreifen dürfen. Nicht aufgeführte IPs werden durch &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;hosts deny = &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;* geblockt. &amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Man kann auch eine Userauthentifizierung mit Username und Passwort pro Freigabe machen, nur gibt es keine Möglichkeit dem rsnapshot ein Passwort mitzugeben. Dieses würde in diesem Fall vom User auf der Konsole abgefragt und damit könnte man es nicht in einen cronjob verwenden.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Man kann auch eine Userauthentifizierung mit Username und Passwort pro Freigabe machen, nur gibt es keine Möglichkeit dem rsnapshot ein Passwort mitzugeben. Dieses würde in diesem Fall vom User auf der Konsole abgefragt und damit könnte man es nicht in einen cronjob verwenden.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Testen ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Testen ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l55&quot;&gt;Zeile 55:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 55:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;rsync localhost::root&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;rsync localhost::root&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Damit sollte Euch der Inhalt der Freigabe &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;**&lt;/del&gt;root&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** &lt;/del&gt;angezeigt werden, das root Verzeichnis also.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Damit sollte Euch der Inhalt der Freigabe &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;root&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039; &lt;/ins&gt;angezeigt werden, das root Verzeichnis also.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== rsnapshot einrichten ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== rsnapshot einrichten ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l63&quot;&gt;Zeile 63:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 63:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== rsnapshot.conf ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== rsnapshot.conf ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Diese Datei liegt ebenfalls unter &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;**&lt;/del&gt;/opt/etc&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;**&lt;/del&gt;. Am Ende dieser Datei werden die Backupjob definiert. Der Aufbau eines Jobs ist einfach&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Diese Datei liegt ebenfalls unter &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;/opt/etc&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;. Am Ende dieser Datei werden die Backupjob definiert. Der Aufbau eines Jobs ist einfach&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;backup  SOURCE  TARGET&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;backup  SOURCE  TARGET&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l76&quot;&gt;Zeile 76:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 76:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;backup  192.168.1.100::root/volume1/web/       webserver/&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;backup  192.168.1.100::root/volume1/web/       webserver/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Oben habe ich bei den Quellen nach der IP und den :: den Namen des rsync Moduls angegeben. Danach folgen ganz normale Pfadangaben innerhalb des Moduls. Der abschliessende Slash bei der Quelle sorgt dafür, dass nur Dateien und Unterverzeichnisse kopiert werden, nicht aber das angegebene Verzeichnis selber. Im Backup mailserver kommen also gleich die Dateien und Verzeichnisse der Quelle. Ohne Slash würde unter mailserver zuerst ein Verzeichnnis postfix kommen und erst dann der Inhalt. Da es sich bei mailserver und webserver um lokale Verzeichnisse innerhalb des Backuparchivs handelt &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;**&lt;/del&gt;müssen&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** &lt;/del&gt;diese auf jeden Fall mit einem Slash am Ende angegeben werden.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Oben habe ich bei den Quellen nach der IP und den :: den Namen des rsync Moduls angegeben. Danach folgen ganz normale Pfadangaben innerhalb des Moduls. Der abschliessende Slash bei der Quelle sorgt dafür, dass nur Dateien und Unterverzeichnisse kopiert werden, nicht aber das angegebene Verzeichnis selber. Im Backup mailserver kommen also gleich die Dateien und Verzeichnisse der Quelle. Ohne Slash würde unter mailserver zuerst ein Verzeichnnis postfix kommen und erst dann der Inhalt. Da es sich bei mailserver und webserver um lokale Verzeichnisse innerhalb des Backuparchivs handelt &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;müssen&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039; &lt;/ins&gt;diese auf jeden Fall mit einem Slash am Ende angegeben werden.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Testen ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Testen ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Bevor man jetzt einen Backupjob startet sollte man die rsnapshot Konfiguration testen&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Bevor man jetzt einen Backupjob startet sollte man die rsnapshot Konfiguration testen&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Jahlives</name></author>
	</entry>
	<entry>
		<id>https://www.synology-forum.de/wiki/index.php?title=Archiv:Generationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk&amp;diff=4145&amp;oldid=prev</id>
		<title>imported&gt;Jahlives: /* Backups mit rsync und rsnapshot */</title>
		<link rel="alternate" type="text/html" href="https://www.synology-forum.de/wiki/index.php?title=Archiv:Generationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk&amp;diff=4145&amp;oldid=prev"/>
		<updated>2010-04-17T00:07:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Backups mit rsync und rsnapshot&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 17. April 2010, 00:07 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Zeile 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Bei Backups auf der DS stellt sich immer die Frage, welchen Weg man gehen will: Nur den aktuellsten Zustand oder Generationen von Zuständen. Für den ersten Fall ist rsync das Mittel der Wahl, für den zweiten Fall verwendet man rsnapshot. rsnapshot verwendet im Hintergrund zwar auch rsync, kann aber durch trotzem Sohn-Vater-Grossvater Backups erstellen. Damit wird es möglich den Zustand zu (beinahe) jedem Zeitpunkt wieder herzustellen.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Bei Backups auf der DS stellt sich immer die Frage, welchen Weg man gehen will: Nur den aktuellsten Zustand oder Generationen von Zuständen. Für den ersten Fall ist rsync das Mittel der Wahl, für den zweiten Fall verwendet man rsnapshot. rsnapshot verwendet im Hintergrund zwar auch rsync, kann aber durch trotzem Sohn-Vater-Grossvater Backups erstellen. Damit wird es möglich den Zustand zu (beinahe) jedem Zeitpunkt wieder herzustellen.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Im Folgenden soll es nicht um die Installation von rsync oder rsnapshot gehen&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Dazu gibt es genügend Hilfen (z.B. http://www.synology-wiki.de) im Internet&lt;/del&gt;. Hier soll es darum gehen das Zusammenspiel von rsync und rsnapshot so zu optimieren, dass man auch bei Netzwerkbackups Generationen vorhalten kann.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Im Folgenden soll es nicht um die Installation von &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Backup_über_RSync_auf_einen_angeschlossenen_Datenträger#Vorarbeiten|&lt;/ins&gt;rsync&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/ins&gt;oder &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Rsnapshot#Installation|&lt;/ins&gt;rsnapshot&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/ins&gt;gehen. Hier soll es darum gehen das Zusammenspiel von rsync und rsnapshot so zu optimieren, dass man auch bei Netzwerkbackups Generationen vorhalten kann.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Netzwerkbackup ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Netzwerkbackup ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Es gibt eigentlich nur zwei Möglichkeiten mit diesen beiden Programmen zusammen ein Backup via Netzwerk zu erstellen. Die &quot;grosse Einschränkung&quot; ist, dass rsnapshot immer auf jener Maschine laufen muss wo auch die Daten gespeichert werden. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;__rsnapshot &lt;/del&gt;kann Backups nicht auf entfernte Ziele speichern, das **Backupziel muss also immer lokal** &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sein__&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Es gibt eigentlich nur zwei Möglichkeiten mit diesen beiden Programmen zusammen ein Backup via Netzwerk zu erstellen. Die &quot;grosse Einschränkung&quot; ist, dass rsnapshot immer auf jener Maschine laufen muss wo auch die Daten gespeichert werden. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rsnapshot &lt;/ins&gt;kann Backups nicht auf entfernte Ziele speichern, das **Backupziel muss also immer lokal** &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sein&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Mit dieser Einschränkung gibt es also nur zwei Möglichkeiten:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Mit dieser Einschränkung gibt es also nur zwei Möglichkeiten:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# lokales Backup mit rsnapshot und dann das Archiv mit rync auf den Backupserver&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# lokales Backup mit rsnapshot und dann das Archiv mit rync auf den Backupserver&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot;&gt;Zeile 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Bei 1) ist jedoch das Problem, dass viel zu viele Daten über das Netzwerk geschickt werden. Dies liegt am Konzept von rsnapshot bei der Erstellung des Backuparchivs. Wenn ein neuer Snapshot erstellt wird dann werden die bereits bestehenden Snapshots nach hinten gerückt im Archiv. Nicht geänderte Dateien werden nicht erneut kopiert sondern auf die &amp;quot;Originale&amp;quot; im älteren Snapshot verlinkt. Eigentlich enstehen dabei fast keine neuen Daten und doch wird rsnapshot eine riesige Datenmenge übertragen: Snapshots werden immer so nummeriert XXX.0 XXX.1 Dabei ist .0 immer der aktuellste Snapshot. Beim Anlegen eines neuen Snapshots wird das bereits existierende XXX.0 zu XXX.1 umbenannt und dann mit XXX.0 der aktuelle Snapshot angelegt. In XXX.0 befinden sich sehr wenige Daten, weil die nicht geänderten Daten nur als Links auf die Daten in XXX.1 angelegt werden. rsync sieht aber das aber so, dass hier ein geändertes Verzeichnis (XXX.0) und ein neues (XXX.1) vorliegt. Et voilà es werden beide wieder kopiert (gerade bei statischen Daten wie DVD- oder CD Images oder Photos ist das tödlich)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Bei 1) ist jedoch das Problem, dass viel zu viele Daten über das Netzwerk geschickt werden. Dies liegt am Konzept von rsnapshot bei der Erstellung des Backuparchivs. Wenn ein neuer Snapshot erstellt wird dann werden die bereits bestehenden Snapshots nach hinten gerückt im Archiv. Nicht geänderte Dateien werden nicht erneut kopiert sondern auf die &amp;quot;Originale&amp;quot; im älteren Snapshot verlinkt. Eigentlich enstehen dabei fast keine neuen Daten und doch wird rsnapshot eine riesige Datenmenge übertragen: Snapshots werden immer so nummeriert XXX.0 XXX.1 Dabei ist .0 immer der aktuellste Snapshot. Beim Anlegen eines neuen Snapshots wird das bereits existierende XXX.0 zu XXX.1 umbenannt und dann mit XXX.0 der aktuelle Snapshot angelegt. In XXX.0 befinden sich sehr wenige Daten, weil die nicht geänderten Daten nur als Links auf die Daten in XXX.1 angelegt werden. rsync sieht aber das aber so, dass hier ein geändertes Verzeichnis (XXX.0) und ein neues (XXX.1) vorliegt. Et voilà es werden beide wieder kopiert (gerade bei statischen Daten wie DVD- oder CD Images oder Photos ist das tödlich)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Bei 2) ist das Ganze etwas schwieriger einzurichten und ausserdem birgt es gewisse Sicherheitsrisiken. In einem LAN hinter einem Router mit aktivierter Firewall auf der DS und gesetzten IP-Beschränkungen beim Backupzugriff kann man diese Risiken jedoch vernachlässigen. Das Problem ist, dass auf der Backupquelle rsync im Daemonmodus laufen muss. Dieser Dämon stellt die Daten für das Backup seitens rsnapshot zur Verfügung. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;__Das &lt;/del&gt;Risiko ist, dass der Benutzer unter dem der Daemon läuft mindestens lesenden Zugriff auf alle zu backupenden Daten haben &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;muss__&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Bei 2) ist das Ganze etwas schwieriger einzurichten und ausserdem birgt es gewisse Sicherheitsrisiken. In einem LAN hinter einem Router mit aktivierter Firewall auf der DS und gesetzten IP-Beschränkungen beim Backupzugriff kann man diese Risiken jedoch vernachlässigen. Das Problem ist, dass auf der Backupquelle rsync im Daemonmodus laufen muss. Dieser Dämon stellt die Daten für das Backup seitens rsnapshot zur Verfügung. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Das &lt;/ins&gt;Risiko ist, dass der Benutzer unter dem der Daemon läuft mindestens lesenden Zugriff auf alle zu backupenden Daten haben &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;muss&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Gerade für Systemfiles und Homeverzeichnisse der User kommt eigentlich fast nur **root** ist Frage! root ist auch wunderbar bequem weil man damit alle Rechte hat jede Datei zu kopieren.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Gerade für Systemfiles und Homeverzeichnisse der User kommt eigentlich fast nur **root** ist Frage! root ist auch wunderbar bequem weil man damit alle Rechte hat jede Datei zu kopieren.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In diesem Fall müssen aber sehr restriktive IP Einschränkungen für den Zugriff auf den rsync-Daemon gesetzt werden. Bei mir darf einzig und alleine die entfernte Backupmaschine (dort wird der rsnapshot aufgerufen) auf den rsync-Daemon zugreifen&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In diesem Fall müssen aber sehr restriktive IP Einschränkungen für den Zugriff auf den rsync-Daemon gesetzt werden. Bei mir darf einzig und alleine die entfernte Backupmaschine (dort wird der rsnapshot aufgerufen) auf den rsync-Daemon zugreifen&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l49&quot;&gt;Zeile 49:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 48:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Diese Parameter einer &amp;quot;Freigabe&amp;quot; sollten selbsterklärend sein. chroot würde sicherstellen, dass das angegebene Verzeichnis unter path nicht verlassen werden könnte. Nur bringt das nicht viel wenn des path Verzeichnis / ist ;-) &amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Diese Parameter einer &amp;quot;Freigabe&amp;quot; sollten selbsterklärend sein. chroot würde sicherstellen, dass das angegebene Verzeichnis unter path nicht verlassen werden könnte. Nur bringt das nicht viel wenn des path Verzeichnis / ist ;-) &amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Auf jeden Fall muss eine solche root Freigabe **&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;__nur__&lt;/del&gt;** lesbar sein. Die IPs unter hosts allow definieren welche IPs überhaupt auf die Freigabe zugreifen dürfen. Nicht aufgeführte IPs werden durch **hosts deny = *** geblockt. &amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Auf jeden Fall muss eine solche root Freigabe **&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;nur&lt;/ins&gt;** lesbar sein. Die IPs unter hosts allow definieren welche IPs überhaupt auf die Freigabe zugreifen dürfen. Nicht aufgeführte IPs werden durch **hosts deny = *** geblockt. &amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Man kann auch eine Userauthentifizierung mit Username und Passwort pro Freigabe machen, nur gibt es keine Möglichkeit dem rsnapshot ein Passwort mitzugeben. Dieses würde in diesem Fall vom User auf der Konsole abgefragt und damit könnte man es nicht in einen cronjob verwenden.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Man kann auch eine Userauthentifizierung mit Username und Passwort pro Freigabe machen, nur gibt es keine Möglichkeit dem rsnapshot ein Passwort mitzugeben. Dieses würde in diesem Fall vom User auf der Konsole abgefragt und damit könnte man es nicht in einen cronjob verwenden.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Testen ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Testen ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l60&quot;&gt;Zeile 60:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 59:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== rsnapshot einrichten ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== rsnapshot einrichten ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Im Folgenden noch kurz wie man die Backupquellen in der rsnapshot Konfiguration angibt, damit rsnapshot korrekt backupen kann. &amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Im Folgenden noch kurz wie man die Backupquellen in der rsnapshot Konfiguration angibt, damit rsnapshot korrekt backupen kann. &amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;html&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Wichtig ist, dass rsnapshot im Gegensatz zu rsync nicht auf der Backupquelle sondern dem Backupziel laufen muss.&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Wichtig ist, dass rsnapshot im Gegensatz zu rsync nicht auf der Backupquelle sondern dem Backupziel laufen muss.&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/html&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== rsnapshot.conf ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== rsnapshot.conf ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Diese Datei liegt ebenfalls unter **/opt/etc**. Am Ende dieser Datei werden die Backupjob definiert. Der Aufbau eines Jobs ist einfach&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Diese Datei liegt ebenfalls unter **/opt/etc**. Am Ende dieser Datei werden die Backupjob definiert. Der Aufbau eines Jobs ist einfach&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l68&quot;&gt;Zeile 68:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 67:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;backup  SOURCE  TARGET&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;backup  SOURCE  TARGET&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;html&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;Wichtig ist, dass keine Leerzeichen sondern TABS verwendet werden müssen, sonst hagelt es Fehlermeldungen. Auch wichtig ist, dass es nicht das gleiche ist ob Verzeichnisse mit einem abschliessenden Slash (/) angegeben werden oder ohne. Lokale Verzeichnisse müssen immer einen abschliessenden Slash haben!&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;Wichtig ist, dass keine Leerzeichen sondern TABS verwendet werden müssen, sonst hagelt es Fehlermeldungen. Auch wichtig ist, dass es nicht das gleiche ist ob Verzeichnisse mit einem abschliessenden Slash (/) angegeben werden oder ohne. Lokale Verzeichnisse müssen immer einen abschliessenden Slash haben!&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/html&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Wenn man jetzt also vom rsync Daemon der entfernten Maschine etwas abholen will, dann gibt man das z.B. so an&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Wenn man jetzt also vom rsync Daemon der entfernten Maschine etwas abholen will, dann gibt man das z.B. so an&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Jahlives</name></author>
	</entry>
	<entry>
		<id>https://www.synology-forum.de/wiki/index.php?title=Archiv:Generationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk&amp;diff=4144&amp;oldid=prev</id>
		<title>imported&gt;Jahlives: Die Seite wurde neu angelegt: „== Backups mit rsync und rsnapshot == Bei Backups auf der DS stellt sich immer die Frage, welchen Weg man gehen will: Nur den aktuellsten Zustand oder Generatione…“</title>
		<link rel="alternate" type="text/html" href="https://www.synology-forum.de/wiki/index.php?title=Archiv:Generationsbackup_mit_rsync_und_rsnapshot_im_Netzwerk&amp;diff=4144&amp;oldid=prev"/>
		<updated>2010-04-17T00:01:17Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „== Backups mit rsync und rsnapshot == Bei Backups auf der DS stellt sich immer die Frage, welchen Weg man gehen will: Nur den aktuellsten Zustand oder Generatione…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Backups mit rsync und rsnapshot ==&lt;br /&gt;
Bei Backups auf der DS stellt sich immer die Frage, welchen Weg man gehen will: Nur den aktuellsten Zustand oder Generationen von Zuständen. Für den ersten Fall ist rsync das Mittel der Wahl, für den zweiten Fall verwendet man rsnapshot. rsnapshot verwendet im Hintergrund zwar auch rsync, kann aber durch trotzem Sohn-Vater-Grossvater Backups erstellen. Damit wird es möglich den Zustand zu (beinahe) jedem Zeitpunkt wieder herzustellen.&lt;br /&gt;
&lt;br /&gt;
Im Folgenden soll es nicht um die Installation von rsync oder rsnapshot gehen. Dazu gibt es genügend Hilfen (z.B. http://www.synology-wiki.de) im Internet. Hier soll es darum gehen das Zusammenspiel von rsync und rsnapshot so zu optimieren, dass man auch bei Netzwerkbackups Generationen vorhalten kann.&lt;br /&gt;
&lt;br /&gt;
=== Netzwerkbackup ===&lt;br /&gt;
Es gibt eigentlich nur zwei Möglichkeiten mit diesen beiden Programmen zusammen ein Backup via Netzwerk zu erstellen. Die &amp;quot;grosse Einschränkung&amp;quot; ist, dass rsnapshot immer auf jener Maschine laufen muss wo auch die Daten gespeichert werden. __rsnapshot kann Backups nicht auf entfernte Ziele speichern, das **Backupziel muss also immer lokal** sein__&lt;br /&gt;
Mit dieser Einschränkung gibt es also nur zwei Möglichkeiten:&lt;br /&gt;
# lokales Backup mit rsnapshot und dann das Archiv mit rync auf den Backupserver&lt;br /&gt;
# rsnapshot auf der Backupmaschine starten und die Daten von der Backupquelle abholen&lt;br /&gt;
Grundsätzlich funzen beide Möglichkeiten. &lt;br /&gt;
&lt;br /&gt;
Bei 1) ist jedoch das Problem, dass viel zu viele Daten über das Netzwerk geschickt werden. Dies liegt am Konzept von rsnapshot bei der Erstellung des Backuparchivs. Wenn ein neuer Snapshot erstellt wird dann werden die bereits bestehenden Snapshots nach hinten gerückt im Archiv. Nicht geänderte Dateien werden nicht erneut kopiert sondern auf die &amp;quot;Originale&amp;quot; im älteren Snapshot verlinkt. Eigentlich enstehen dabei fast keine neuen Daten und doch wird rsnapshot eine riesige Datenmenge übertragen: Snapshots werden immer so nummeriert XXX.0 XXX.1 Dabei ist .0 immer der aktuellste Snapshot. Beim Anlegen eines neuen Snapshots wird das bereits existierende XXX.0 zu XXX.1 umbenannt und dann mit XXX.0 der aktuelle Snapshot angelegt. In XXX.0 befinden sich sehr wenige Daten, weil die nicht geänderten Daten nur als Links auf die Daten in XXX.1 angelegt werden. rsync sieht aber das aber so, dass hier ein geändertes Verzeichnis (XXX.0) und ein neues (XXX.1) vorliegt. Et voilà es werden beide wieder kopiert (gerade bei statischen Daten wie DVD- oder CD Images oder Photos ist das tödlich)&lt;br /&gt;
&lt;br /&gt;
Bei 2) ist das Ganze etwas schwieriger einzurichten und ausserdem birgt es gewisse Sicherheitsrisiken. In einem LAN hinter einem Router mit aktivierter Firewall auf der DS und gesetzten IP-Beschränkungen beim Backupzugriff kann man diese Risiken jedoch vernachlässigen. Das Problem ist, dass auf der Backupquelle rsync im Daemonmodus laufen muss. Dieser Dämon stellt die Daten für das Backup seitens rsnapshot zur Verfügung. __Das Risiko ist, dass der Benutzer unter dem der Daemon läuft mindestens lesenden Zugriff auf alle zu backupenden Daten haben muss__&lt;br /&gt;
Gerade für Systemfiles und Homeverzeichnisse der User kommt eigentlich fast nur **root** ist Frage! root ist auch wunderbar bequem weil man damit alle Rechte hat jede Datei zu kopieren.&lt;br /&gt;
In diesem Fall müssen aber sehr restriktive IP Einschränkungen für den Zugriff auf den rsync-Daemon gesetzt werden. Bei mir darf einzig und alleine die entfernte Backupmaschine (dort wird der rsnapshot aufgerufen) auf den rsync-Daemon zugreifen&lt;br /&gt;
&lt;br /&gt;
Trotzdem geht es im folgenden nur um 2), denn 1) ist aus den genannten Gründen schlicht vollkommen ungeeignet.&lt;br /&gt;
&lt;br /&gt;
=== rsync-Daemon einrichten ===&lt;br /&gt;
Auf der Quelle muss also der rsync-Daemon laufen. Dieser Daemon stellt dann lokale Verzeichnisse als &amp;quot;Freigaben&amp;quot; zum Backup zur Verfügung. Zur Installation von rsync gibt es genügend Beispiele im Internet oder auch [[http://www.synology-wiki.de|in userem Wiki]]. Hier soll es um die Einrichtung des Daemons gehen.&lt;br /&gt;
==== rsyncd.conf ====&lt;br /&gt;
In dieser Datei, meist unter **/opt/etc** werden die Einstellungen für den rsync-Daemon vorgenommen.&lt;br /&gt;
===== global =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
uid = root&lt;br /&gt;
gid = root&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Hier wird festgelegt unter welcher UserID und GruppenID der Daemon Prozess laufen soll.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
max connections = 5&lt;br /&gt;
syslog facility = local3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Legt die maximale Anzahl erlaubter gleichzietiger Verbindungen fest und definiert wo rsync in den syslog schreiben soll.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pid file = /var/run/rsyncd.pid&lt;br /&gt;
secrets file = /opt/etc/rsyncd.secrets&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Legen das pid (process ID) File fest und definiert zudem wo das Authentifizierungsfile von rsyncd liegt.&lt;br /&gt;
===== Freigabe =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[root]&lt;br /&gt;
use chroot = no&lt;br /&gt;
path = /&lt;br /&gt;
read only = yes&lt;br /&gt;
hosts allow = 192.168.1.101 127.0.0.1&lt;br /&gt;
hosts deny = *&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Diese Parameter einer &amp;quot;Freigabe&amp;quot; sollten selbsterklärend sein. chroot würde sicherstellen, dass das angegebene Verzeichnis unter path nicht verlassen werden könnte. Nur bringt das nicht viel wenn des path Verzeichnis / ist ;-) &amp;lt;br /&amp;gt;&lt;br /&gt;
Auf jeden Fall muss eine solche root Freigabe **__nur__** lesbar sein. Die IPs unter hosts allow definieren welche IPs überhaupt auf die Freigabe zugreifen dürfen. Nicht aufgeführte IPs werden durch **hosts deny = *** geblockt. &amp;lt;br /&amp;gt;&lt;br /&gt;
Man kann auch eine Userauthentifizierung mit Username und Passwort pro Freigabe machen, nur gibt es keine Möglichkeit dem rsnapshot ein Passwort mitzugeben. Dieses würde in diesem Fall vom User auf der Konsole abgefragt und damit könnte man es nicht in einen cronjob verwenden.&lt;br /&gt;
==== Testen ====&lt;br /&gt;
Nach Anpassung des rsyncd.conf Files muss der rsyncd neugestartet werden. Danach kann man die Konfiguration so testen&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rsync localhost::root&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Damit sollte Euch der Inhalt der Freigabe **root** angezeigt werden, das root Verzeichnis also.&lt;br /&gt;
&lt;br /&gt;
=== rsnapshot einrichten ===&lt;br /&gt;
Im Folgenden noch kurz wie man die Backupquellen in der rsnapshot Konfiguration angibt, damit rsnapshot korrekt backupen kann. &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Wichtig ist, dass rsnapshot im Gegensatz zu rsync nicht auf der Backupquelle sondern dem Backupziel laufen muss.&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
==== rsnapshot.conf ====&lt;br /&gt;
Diese Datei liegt ebenfalls unter **/opt/etc**. Am Ende dieser Datei werden die Backupjob definiert. Der Aufbau eines Jobs ist einfach&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
backup  SOURCE  TARGET&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;Wichtig ist, dass keine Leerzeichen sondern TABS verwendet werden müssen, sonst hagelt es Fehlermeldungen. Auch wichtig ist, dass es nicht das gleiche ist ob Verzeichnisse mit einem abschliessenden Slash (/) angegeben werden oder ohne. Lokale Verzeichnisse müssen immer einen abschliessenden Slash haben!&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wenn man jetzt also vom rsync Daemon der entfernten Maschine etwas abholen will, dann gibt man das z.B. so an&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
backup  192.168.1.99::root/var/spool/postfix/  mailserver/&lt;br /&gt;
backup  192.168.1.100::root/volume1/web/       webserver/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Oben habe ich bei den Quellen nach der IP und den :: den Namen des rsync Moduls angegeben. Danach folgen ganz normale Pfadangaben innerhalb des Moduls. Der abschliessende Slash bei der Quelle sorgt dafür, dass nur Dateien und Unterverzeichnisse kopiert werden, nicht aber das angegebene Verzeichnis selber. Im Backup mailserver kommen also gleich die Dateien und Verzeichnisse der Quelle. Ohne Slash würde unter mailserver zuerst ein Verzeichnnis postfix kommen und erst dann der Inhalt. Da es sich bei mailserver und webserver um lokale Verzeichnisse innerhalb des Backuparchivs handelt **müssen** diese auf jeden Fall mit einem Slash am Ende angegeben werden.&lt;br /&gt;
==== Testen ====&lt;br /&gt;
Bevor man jetzt einen Backupjob startet sollte man die rsnapshot Konfiguration testen&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rsnapshot configtest&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Wenn dieser Test OK ergibt, dann kann man mal eine &amp;quot;Simulation&amp;quot; des Backups starten. Dabei gibt rsnapshot aus welche Quellen er holen und wo er sie lokal ablegen würde. Ausserdem zeigt er die Befehle an die ausgeführt werden. Dies kann man mittels&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rsnapshot -t hourly&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
erreichen. &amp;lt;br /&amp;gt;&lt;br /&gt;
Wenn auch jetzt noch alles gut ausschaut, kann man das initiale Backup dann mit &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rsnapshot hourly&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
auslösen.&lt;br /&gt;
=== Verschlüsseltes Backup via Netzwerk ===&lt;br /&gt;
Dazu müsst ihr Euch zuerst einen RSA Schlüssel erstellen (puttygen kann das, der Schlüssel sollte 1024 Bit lang sein und nicht länger!). Den Private Key sollte KEIN Passwort haben und gehört ins /root der DS, die rsnapshot startet.&amp;lt;br /&amp;gt;&lt;br /&gt;
Der Public Key kommt in die Datei /root/.ssh/authorized_keys (wenn nicht vorhanden anlgegen) auf der entfernten DS. Also diejenige auf die rsnapshot remote zugreift.&lt;br /&gt;
&lt;br /&gt;
Danach hat man die Möglichkeit rsync OHNE rsync Daemon zu nutzen d.h. in diesem Fall müssen eine Module für rsyncd erstellt werden, auch muss der rsyncd nicht laufen&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rsync -av -e &amp;quot;ssh -i /root/privateKey&amp;quot; root@IP_REMOTE_DS:/volume1/photo /volume1/backup/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Damit auch rsnapshot die Backups via ssh machen kann, muss man die Config unter /opt/etc/rsnapshot.conf etwas anpassen&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ssh_args        -i /root/privateKey&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Dann noch die Backup Jobs in der Konfig anpassen&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
backup  root@192.168.100.102:/volume1/photo/                      localhost/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Jahlives</name></author>
	</entry>
</feed>