[Eisfair] Fragen zu rsnapshot
Rolf Bensch
azubi at bensch-net.de
Fr Aug 3 13:03:07 CEST 2018
Hallo Marcus,
Am 03.08.2018 um 11:32 schrieb Marcus Roeckrath:
> Hallo Rolf,
> ...
>> rsnapshot liegt auf den jeweiligen NAS und "holt" die Backup-Daten von
>> den externen Servern (eisfair produktiv). Gemountet wird nicht, der
>> Zugriff erfolgt direkt per ssh. Beispiel aus rsnapshot.conf:
>>
>> backup root@[DynDNSHost]:/home DynDNSHost/
>
> Über welche Technik greift rsnapshot nun auf root at ... zu?
rsync natürlich - ich wüsste nicht, dass auch andere Techniken möglich
wären.
> Außerdem dachte ich, weil Alex das früher im rsnapshot-Paket gefordert hat,
> das in der Quelle ein abschließender / stehen muss:
>
> backup /data/ server/
siehe
http://qdosmsq.dunbar-it.co.uk/blog/2013/02/rsync-to-slash-or-not-to-slash/
oder auch rsync manpage:
A trailing slash on the source changes this behavior to avoid creating
an additional directory level at the destination. You can think of a
trailing / on a source as meaning "copy the contents of this directory"
as opposed to "copy the directory by name", but in both cases the
attributes of the containing directory are transferred to the containing
directory on the destination. In other words, each of the follow‐ ing
commands copies the files in the same way, including their setting of
the attributes of /dest/foo:
rsync -av /src/foo /dest
rsync -av /src/foo/ /dest/foo
Grüße Rolf
Mehr Informationen über die Mailingliste Eisfair