- Official Post
Doesnt work
pls post complete commandline
Does SSH itself from Windows even work when connecting to the LibreELEC box?
works for me at Win10
Doesnt work
pls post complete commandline
Does SSH itself from Windows even work when connecting to the LibreELEC box?
works for me at Win10
pls post complete commandline
I did:
C:\Program Files\CygSSH\bin>rsync.exe -av --delete -e ssh [email protected]
Zugriff verweigert
Syntax isn't quite right. This is what I do:
rsync -av --delete -e ssh [email protected]:/path/to/stuff/ /where/you/want/to/put/it/
Syntax isn't quite right.
exactly, for windows it looks like
rsync.exe -av --delete -e ssh [email protected]:/storage/ /cygdrive/d/test/
/cygdrive/d/test/ translates to D:\test\ where the files should be copied at windows host
/storage/ is the path at Libreelec
--delete deletes if nessesary files at backup destination, so if you delete it at LE it gets deleted there too, if you remove it from the commandline you just add stuff to the folder and never removes anything
exactly, for windows it looks like
rsync.exe -av --delete -e ssh [email protected]:/storage/ /cygdrive/d/test/
/cygdrive/d/test/ translates to D:\test\ where the files should be copied at windows host
/storage/ is the path at Libreelec
--delete deletes if nessesary files at backup destination, so if you delete it at LE it gets deleted there too, if you remove it from the commandline you just add stuff to the folder and never removes anything
Nope, doesnt work:
rsync.exe -av --delete -e ssh [email protected]:/storage/ /cygdrive/d/test/
[email protected]'s password:
sh: rsync: not found
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(228) [Receiver=3.2.4dev]
I installed network tools from LE Repo and reboot...
I dont know how
I dont know how
Add it to your command?
Ok, i save :
rsync.exe -av --delete -e ssh [email protected]:/storage/ /cygdrive/d/test/ --rsync-path=/storage/.kodi/addons/virtual.network-tools/bin/rsync
So, i make a fresh install LE on a new usb stick.
How can i restore my backup to this new stick?
CvH Are you sure that unix permissions, unix users and groups, symbolic links and file name case are kept with Windows rsync and can be restored?
Nope, doesnt work
strange works for me with network tools installed O_o
Are you sure that unix permissions, unix users and groups, symbolic links and file name case are kept with Windows rsync and can be restored?
nope non of it, this is not something you should do at some normal distribution
I think this is doable somehow, windows itself supports all these stuff and more but likely get dropped
WSL for example could handle that.
How can i restore my backup to this new stick
do a quick basic setup and enable ssh
open ssh in terminal
systemctl stop kodi
then use winscp to copy the files to the new system
then reboot, should work i think
strange works for me with network tools installed O_o
Same here, have network tools addon installed, works fine without any extra arguments. rsync is in the PATH, you might need to logout/login or perhaps reboot after installing the addon?
LibreELEC (community): nightly-20210502-8f609ae (RPi4.arm)
htpc-livingroom:~ # which rsync
/storage/.kodi/addons/virtual.network-tools/bin/rsync
htpc-livingroom:~ # echo $PATH
/usr/bin:/usr/sbin:/storage/.kodi/addons/virtual.network-tools/bin
nope non of it, this is not something you should do at some normal distribution
I think this is doable somehow, windows itself supports all these stuff and more but likely get dropped
WSL for example could handle that.
Thanks, that confirmed my assumption. Even with Linux -> Linux you need to rsync to root account and use --numeric-ids to get restorable results.