rsync?
Hi,
habe bis vor kurzem mit einer lokalen SuSE-8.1 Box eine woody box
(ist so'n VServer) via rsync gesichert und habe jetzt SuSE-8.1
durch woody ersetzt.
Nur funktioniert jetzt der rsync nicht mehr?!?
Bisher hat folgendes funktioniert:
rsync -rav --delete --rsh="ssh -2 -l root -i /root/.ssh/id_dsa"
host.doamin.tld::backup/ /var/backup
'/root/.ssh/id_dsa' habe ich übrigens nur von der SuSE box kopiert...
'backup' ist in /etc/rsyncd.conf auf host.doamin.tld als
[backup]
path = /
uid = root
comment = backup only
read only = yes
list = no
definiert.
Unter woody bekomme ich mit obigem rsync Aufruf jetzt nur noch ein
WARNING: --rsh or -e option ignored when connecting to rsync daemon
rsync: failed to connect to host.doamin.tld: Connection refused
rsync error: error in socket IO (code 10) at clientserver.c(97)
Ersetze ich :: durch : bekomme ich:
receiving file list ... link_stat backup/. : No such file or directory
done
client: nothing to do: perhaps you need to specify some filenames or
the --recursive option?
Auf remote.doamin.tld wird rsync via xinetd an 127.0.0.1:837 gebunden
und sollte somit nur via ssh erreichbar sein (hat ja bisher auch
funktioniert).
service rsync
{
bind = 127.0.0.1
socket_type = stream
protocol = tcp
user = root
server = /usr/bin/rsync
server_args = --daemon
wait = no
instances = 1
}
Ich habe es jetzt erstmal mit
rsync -rav --delete --rsh="ssh -2 -l root -i /root/.ssh/id_dsa"
host.doamin.tld:"/" /var/backup
hinbekommen, möchte aber gerne wissen warum die vorherige Version
nicht mehr geht? Letzteres arbeitet soweit ich das verstanden habe
ja nicht mehr mit den in /etc/rsyncd.conf konfigurierten Modulen...
Any hints?
Ralf
Reply to: