Hi all,
I have started the rsync in deamon mode. When I use the following
command:
rsync --port 9876 u018::treeA
it seems to work fine but no files are copied from the server.
Using rsync without the deamon works fine.
I tried to debug it a little bit, but I am unable to figure out what's
wrong.
337:david@u050 /export/treeA> rsync -r -vvv --port 9876 u018::treeA
opening tcp connection to u018 port 9876
Ahoj!
receiving file list ...
recv_file_name(.)
recv_file_name(a)
received 2 names
done
drwxr-xr-x 512 2002/09/25 15:20:18 .
-rw-r--r-- 9 2002/09/25 15:20:18 a
recv_file_list done
get_local_name count=2 <NULL>
recv_files(2) starting
generator starting pid=197 count=2
generate_files phase=1
recv_files phase=1
generate_files phase=2
recv_files finished
wrote 63 bytes read 74 bytes 274.00 bytes/sec
total size is 9 speedup is 0.70
_exit_cleanup(code=0, file=main.c, line=925): about to call exit(0)
What am I doing wrong?
Thank you very much.
David
David: Your commandline is in the "listing" form. If you add a
destination to the line, files will actually be copied.
++++++++++++++++++++++++++++++++++++++++++
o for listing files on a remote machine. This is done the
same way as rsync transfers except that you leave off
the local destination.
Note that in all cases (other than listing) at least one of
the source and destination paths must be local.
SETUP
See the file README for installation instructions.
SunOS 5.7 Last change: 1 Mar 1999 2
User Commands rsync(1)
++++++++++++++++++++++++++++++++++++++++++
Tim Conway
tim.conway@philips.com
303.682.4917 office, 303.921.0301 cell
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, caesupport2 on AIM
"There are some who call me.... Tim?"
David Bigagli -Bokis- <david.bigagli@caspur.it>
Sent by: rsync-admin@lists.samba.org
09/25/2002 02:37 PM
To: rsync@lists.samba.org
cc: (bcc: Tim Conway/LMT/SC/PHILIPS)
Subject: pulling data from the server
Classification:
Hi all,
I have started the rsync in deamon mode. When I use the following
command:
rsync --port 9876 u018::treeA
it seems to work fine but no files are copied from the server.
Using rsync without the deamon works fine.
I tried to debug it a little bit, but I am unable to figure out what's
wrong.
337:david@u050 /export/treeA> rsync -r -vvv --port 9876 u018::treeA
opening tcp connection to u018 port 9876
Ahoj!
receiving file list ...
recv_file_name(.)
recv_file_name(a)
received 2 names
done
drwxr-xr-x 512 2002/09/25 15:20:18 .
-rw-r--r-- 9 2002/09/25 15:20:18 a
recv_file_list done
get_local_name count=2 <NULL>
recv_files(2) starting
generator starting pid=197 count=2
generate_files phase=1
recv_files phase=1
generate_files phase=2
recv_files finished
wrote 63 bytes read 74 bytes 274.00 bytes/sec
total size is 9 speedup is 0.70
_exit_cleanup(code=0, file=main.c, line=925): about to call exit(0)
What am I doing wrong?
Thank you very much.
David
--
To unsubscribe or change options:
http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Hello,
the man page lists as valid argument:
rsync [OPTION]... [USER@]HOST::SRC [DEST]
but if I do it I still have problems.
94:david@u050 /export/david> rsync --port 9876 -v u018::treeA
/export/david
Ahoj!
client: nothing to do: perhaps you need to specify some filenames or the
--recursive option?
Can somebody please send me couple of examples?
Thank you,
David
The module is considered a directory (since that's what it is), and unless
you're going recursive, directories are ignored.
try this one:
rsync --port 9876 -v u018::treeA/* /tmp
or, if you want everything in the module treeA
rsync --port 9876 -av u018::treeA /tmp
I prefer implying -r with -a, as that also preserves permissions, times,
and ownerships, if they can translate (and you're root).
I don't mean the inclusion below as an RTFM, just to point out what, among
the 1848 lines in the man page, you're looking for:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-r, --recursive
This tells rsync to copy directories recursively. If
you don't specify this then rsync won't copy direc-
tories at all.
SunOS 5.7 Last change: 25 Jan 2002 8
User Commands rsync(1)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Oh, and I'm ccing the list so people know the progress on your question.
Tim Conway
tim.conway@philips.com
303.682.4917 office, 303.921.0301 cell
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, caesupport2 on AIM
"There are some who call me.... Tim?"
David Bigagli -Bokis- <david.bigagli@caspur.it>
09/26/2002 10:10 AM
To: Tim Conway/LMT/SC/PHILIPS@AMEC
cc:
Subject: Re: pulling data from the server
Classification:
Thank you but what is the correct command line?
I tried:
rsync --port 9876 -v u018::treeA /tmp
but it still does not work.
71:david@u050 /export/david> rsync --port 9876 -v u018::treeA /tmp/a
client: nothing to do: perhaps you need to specify some filenames or the
--recursive option?
Cheers,
David
On Thu, 26 Sep 2002 tim.conway@philips.com wrote:
> David: Your commandline is in the "listing" form. If you add a
> destination to the line, files will actually be copied.
> ++++++++++++++++++++++++++++++++++++++++++
> o for listing files on a remote machine. This is done the
> same way as rsync transfers except that you leave off
> the local destination.
>
> Note that in all cases (other than listing) at least one of
> the source and destination paths must be local.
>
> SETUP
> See the file README for installation instructions.
>
>
> SunOS 5.7 Last change: 1 Mar 1999 2
>
> User Commands rsync(1)
> ++++++++++++++++++++++++++++++++++++++++++
>
> Tim Conway
> tim.conway@philips.com
> 303.682.4917 office, 303.921.0301 cell
> Philips Semiconductor - Longmont TC
> 1880 Industrial Circle, Suite D
> Longmont, CO 80501
> Available via SameTime Connect within Philips, caesupport2 on AIM
> "There are some who call me.... Tim?"
>
>
>
>
> David Bigagli -Bokis- <david.bigagli@caspur.it>
> Sent by: rsync-admin@lists.samba.org
> 09/25/2002 02:37 PM
>
>
> To: rsync@lists.samba.org
> cc: (bcc: Tim Conway/LMT/SC/PHILIPS)
> Subject: pulling data from the server
> Classification:
>
>
>
>
> Hi all,
> I have started the rsync in deamon mode. When I use the following
> command:
>
> rsync --port 9876 u018::treeA
>
> it seems to work fine but no files are copied from the server.
>
> Using rsync without the deamon works fine.
>
> I tried to debug it a little bit, but I am unable to figure out what's
> wrong.
>
> 337:david@u050 /export/treeA> rsync -r -vvv --port 9876 u018::treeA
> opening tcp connection to u018 port 9876
> Ahoj!
>
> receiving file list ...
> recv_file_name(.)
> recv_file_name(a)
> received 2 names
> done
> drwxr-xr-x 512 2002/09/25 15:20:18 .
> -rw-r--r-- 9 2002/09/25 15:20:18 a
> recv_file_list done
> get_local_name count=2 <NULL>
> recv_files(2) starting
> generator starting pid=197 count=2
> generate_files phase=1
> recv_files phase=1
> generate_files phase=2
> recv_files finished
> wrote 63 bytes read 74 bytes 274.00 bytes/sec
> total size is 9 speedup is 0.70
> _exit_cleanup(code=0, file=main.c, line=925): about to call exit(0)
>
> What am I doing wrong?
>
> Thank you very much.
>
> David
>
>
>
> --
> To unsubscribe or change options:
> http://lists.samba.org/mailman/listinfo/rsync
> Before posting, read:
http://www.tuxedo.org/~esr/faqs/smart-questions.html>
>
>
> --
> To unsubscribe or change options:
http://lists.samba.org/mailman/listinfo/rsync> Before posting, read:
http://www.tuxedo.org/~esr/faqs/smart-questions.html>
Heck no. Technical doc is tough, especially if it's not originally
written in your native language.
Now, i admit, I was able to resolve my usage issues with the man page,
based on the error messages, but again, I'm not having to use a foreign
language to do it. I've often thought it must be tough for non-english
speaking technical people, since most software is written by and for
english speakers, even when it's written by, for instance, a Finn, so all
of you guys have to learn english and do things the hard way.
I was on a project in Tokyo, and found myself without a translator.
Knowing the above fact, I fired up vi, and we communicated in text.
Tim Conway
tim.conway@philips.com
303.682.4917 office, 303.921.0301 cell
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, caesupport2 on AIM
"There are some who call me.... Tim?"
David Bigagli -Bokis- <david.bigagli@caspur.it>
09/26/2002 01:56 PM
To: Tim Conway/LMT/SC/PHILIPS@AMEC
cc: rsync@lists.samba.org
Subject: Re: pulling data from the server
Classification:
Thank you. I have read that, but how to use it the first time is not
obvious at all.
I am pretty sure that you experienced the frustration of using new
software and you cannot find the example that you really need in the man
page. Or you want to make me believe that the first time you read the man
page of tar or dump, you got it right away? :-)
Cheers,
David
On Thu, 26 Sep 2002 tim.conway@philips.com wrote: