Talk:Rsync
I am sure I installed rsync when on firmware 3.1.29 STABLE
With firmware version 4.2.7 Beta I get the following:-
/ # ipkg update Downloading http://www.xs4all.nl/~rmc/fsg/feed/Packages.gz Inflating http://www.xs4all.nl/~rmc/fsg/feed/Packages.gz Updated list of available packages in /usr/lib/ipkg/lists/rmc-fsg Successfully terminated. / # ipkg install rsync Nothing to be done An error ocurred, return value: 4. Collected errors: Cannot find package rsync. Check the spelling or perhaps run 'ipkg update'
The List_of_Compatible_ipkgs shows many more available ipkgs than I get when listing with 'ipkg list'.
I guess there is a different set of packages available for different firmware versions, or more likely kernel versions, is that so? If so should we create a separate list for the 4.x firmware?
Dan Ellis 23:25, 5 October 2007 (CEST)
ipkg feed
I have the following feed (for V4 firmware) configured and as you see rsync is there
cat /etc/ipkg.conf
src/gz cross http://ipkg.nslu2-linux.org/feeds/optware/fsg3v4/cross/stable
ipkg list rsync
rsync - 2.6.9-4 - fast remote file copy program (like rcp)
rsync path
Finally, using 4.3.8 Beta, I have rsync working. It is synchronizing across the network from the FSG to my Ubuntu desktop. The backup is initiated from Ubuntu.
However at first it failed with:-
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(454) [receiver=2.6.9]
It turns out that rsync will look for the remote rsync binary at either /bin or /usr/bin. I logged into the fsg via ssh and determined where rsync was located with:
~ $ which rsync /opt/bin/rsync
So this was fixed by adding the following to the command:
--rsync-path=/opt/bin/rsync
The command line I finally used looked something like this:
rsync -auvz --rsh=ssh --rsync-path=/opt/bin/rsync admin@fsg:/home/FolderX/* /media/sdb1/FsgBackup/
--Dan Ellis 10:04, 15 February 2008 (CET)