rsync mit OpenElec
-
- OMV 1.0
- gelöst
- Fr34k
-
-
hat jemand einen anhaltspunkt wo ich anfangen soll ?
-
versuch mal das remoteFS-plugin. Damit kannst du die SMB-Freigabe von OE in OMV einbinden. Dann rsync einstellen und es sollte laufen.
-
hat jemand einen anhaltspunkt wo ich anfangen soll ?
Mach mal die Klammern bei [root@] im Feld Quellserver weg. Meiner Meinung nach gehoeren die da nicht hin. Oder bin ich grad komplett verwirrt?
Aber hast du auf OE ueberhaupt einen rsync-Server am laufen? Der muesste doch fuer diesen Zugriff da sein...!?
-
habe nun folgendes gemacht
- unter OE aus den unofficial-addon-repo rsync addon geladen
-
Wenn ich mich nun mit PuTTY auf Openelec einloge und folgenden Befehle eingeben
dann funktioniert das
aber wenn ich in OMV unter PuTYY folgendes eingebeCoderoot@OMV:~# rsync -avz -e ssh root@192.168.178.45:/var/media/daten/test /media/02202/Tausch/testfile/
kommt folgendesCoderoot@192.168.178.45's password: sh: rsync: not found rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: remote command not found (code 127) at io.c(605) [Receiver=3.0.9]
nun habe ich es nochmal über das OMV Interface versucht
darauf erhalte ich folgende Antwort
CodePlease wait, syncing <root@192.168.178.45:/var/media/daten/test/> to </media/02202E5C202E56C7/Tausch/testfile> ... 2: Too many authentication failures for root rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: unexplained error (code 255) at io.c(605) [Receiver=3.0.9]
weiß einer rat ?
-
versuch das mal auf deinem OMV: (wenn "openelec" das normale PW ist
rsync -avze ssh root:openelec@192.168.178.45:/var/media/daten/test /media/02202/Tausch/testfile/
ansonsten das "remoteshare" plugin. Damit bindest du die entfernte SMB-Freigabe von OE in OMV ein und syncst quasi "lokal" mit rsync.
-
I've just read this thread. Openelec doesn't come with rsync installed btw, you need to add it with an addon
-
addon is installed from unoficial addon repo
-
I've just saw that, i got lost in google translate probably, didn't see that.
And what happened with the remoteshare? remoteshare didn't work so well with me so i mounted manually the smb Music openelec folder in fstab
//10.10.10.11/Music /media/584df0fc-19ae-4916-9910-bf763e1c2a29/music_oe/ cifs guest,_netdev,iocharset=utf8 0 0
Then run rsync local in between shares
-
versuch das mal auf deinem OMV: (wenn "openelec" das normale PW ist
rsync -avze ssh root:openelec@192.168.178.45:/var/media/daten/test /media/02202/Tausch/testfile/
da kommt der selbe fehler wie vorhin
[quote='Solo0815','http://forums.openmediavault.org/index.php/Thread/6841-rsync-mit-OpenElec/?postID=63579#post63579'
ansonsten das "remoteshare" plugin. Damit bindest du die entfernte SMB-Freigabe von OE in OMV ein und syncst quasi "lokal" mit rsync.
[/quote]habe ich versucht aber er verbindet mir die SMB freigabe nicht bzw ich finde sie nirgends mehr
-
was ist denn die Ausgabe von
ssh root:openelec@192.168.178.45 'ls -l'
ohne passworteingabe
und mit:
ssh root@192.168.178.45 'ls -l'
sollte bei deiben die gleiche Ausgabe sein -> die Dateiliste -
was ist denn die Ausgabe von
ssh root:openelec@192.168.178.45 'ls -l'
ohne passworteingabe
und mit:
ssh root@192.168.178.45 'ls -l'
sollte bei deiben die gleiche Ausgabe sein -> die Dateilistein beiden fällen muss ich nochmal PW eingeben
ich verstehe nicht wieso die eingabe im webinterface nicht funktioniert
-
is sshpass -p openelec root@192.168.178.45 you have to install sshpass
-
is sshpass -p openelec root@192.168.178.45 you have to install sshpass
where i must install the sshpass at the openelec system or OMV?
-
apt-get install sshpass in OMV
-
-
sshpass -p openelec scp -r file root@192.168.178.45:/storage/music
-
if you want rsync
sshpass -p openelec rsync --progress -avz -e ssh file root@192.168.178.45:/storage/music and you need the remote rsync installed
-
sshpass -p openelec scp -r file root@192.168.178.45:/storage/music
i get only erros,
Coderoot@OMV:~# sshpass -p openelec rsync --progress -avz -e ssh file root@192.168.178.45:/var/media/daten/Musik/ sh: rsync: not found rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: remote command not found (code 127) at io.c(605) [sender=3.0.9]
i think its a mission imposible
do you know why the rsync job in om didnt work ?
-
I have working the scp command passwordless and the rsync job with samba mounted. The first screenshot that i posted
The rsync remote command is not working for me now because i don't have rsync installed in Openelec, i can test it later in the night
But as i stated scp is working (OMV to Openelec copy). Try to write the command instead of pasting it from the forum. I've seen sometimes the clipboard inserting weird characters in the terminal.
Also the Rsync job (Openelec samba share mounted in OMV) is working.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!