Re: Possible Bug report

2002-05-09 Thread Dave Dykstra

That behavior is intentional.  If you want to force it to create 
parent directories you need to have a similar directory tree on the
source machine and use the --relative option, for example
rsync -a --relative local/bin B:/usr

- Dave


On Fri, Apr 26, 2002 at 12:52:20PM +0100, Ferguson, Duncan wrote:
> I have a server (A) with a directory structure I want to copy to another
> server (/usr/local/bin...)
> On the client (B), only /usr exists (/usr/local doesn't).
> 
> I used:
>   /opt/PKGrsync/bin/rsync -a --delete --force
> --rsync-path=/opt/PKGrsync/bin/rsync --exclude=save  -v -v /usr/local/bin
> B:/usr/local/bin
> 
> but it failed with:
> opening connection using /usr/bin/ssh B /opt/PKGrsync/bin/rsync --server
> -vvlogDtpr --delete --force . /usr/local/bin 
> building file list ... 
> expand file_list to 4000 bytes, did move
> excluding directory bin/save because of pattern save
> done
> rsync: mkdir /usr/local/bin: No such file or directory
> rsync error: error in file IO (code 11) at main.c(285)
> rsync: connection unexpectedly closed (8 bytes read so far)
> rsync error: error in rsync protocol data stream (code 12) at io.c(150)
> 
> Creating /usr/local on B cured the problem and it worked without further
> issue.  It seems the mkdir should include "-p" possibly.
> 
> Server (A) is on Solaris 2.6 5/98 105181-25
> Client (B) is on Solaris 8 02/02 108528-13
> 
> Thanks
> 
>   Duncs
> 
> Duncan Ferguson
> IT Infrastructure Senior Unix Systems Engineer
> 
> Phone: 01384 264 060
> Mobile: 07968 148 748
> 
> 
> 
> This private and confidential e-mail has been sent to you by Egg.
> The Egg group of companies includes Egg Banking plc
> (registered no. 2999842), Egg Financial Products Ltd (registered
> no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
> carries out investment business on behalf of Egg and is regulated
> by the Financial Services Authority.  
> Registered in England and Wales. Registered offices: 1 Waterhouse Square,
> 138-142 Holborn, London EC1N 2NA.
> If you are not the intended recipient of this e-mail and have
> received it in error, please notify the sender by replying with
> 'received in error' as the subject and then delete it from your
> mailbox.
> 
> 
> -- 
> 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



Possible Bug report

2002-04-26 Thread Ferguson, Duncan

I have a server (A) with a directory structure I want to copy to another
server (/usr/local/bin...)
On the client (B), only /usr exists (/usr/local doesn't).

I used:
  /opt/PKGrsync/bin/rsync -a --delete --force
--rsync-path=/opt/PKGrsync/bin/rsync --exclude=save  -v -v /usr/local/bin
B:/usr/local/bin

but it failed with:
opening connection using /usr/bin/ssh B /opt/PKGrsync/bin/rsync --server
-vvlogDtpr --delete --force . /usr/local/bin 
building file list ... 
expand file_list to 4000 bytes, did move
excluding directory bin/save because of pattern save
done
rsync: mkdir /usr/local/bin: No such file or directory
rsync error: error in file IO (code 11) at main.c(285)
rsync: connection unexpectedly closed (8 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(150)

Creating /usr/local on B cured the problem and it worked without further
issue.  It seems the mkdir should include "-p" possibly.

Server (A) is on Solaris 2.6 5/98 105181-25
Client (B) is on Solaris 8 02/02 108528-13

Thanks

  Duncs

Duncan Ferguson
IT Infrastructure Senior Unix Systems Engineer

Phone: 01384 264 060
Mobile: 07968 148 748



This private and confidential e-mail has been sent to you by Egg.
The Egg group of companies includes Egg Banking plc
(registered no. 2999842), Egg Financial Products Ltd (registered
no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
carries out investment business on behalf of Egg and is regulated
by the Financial Services Authority.  
Registered in England and Wales. Registered offices: 1 Waterhouse Square,
138-142 Holborn, London EC1N 2NA.
If you are not the intended recipient of this e-mail and have
received it in error, please notify the sender by replying with
'received in error' as the subject and then delete it from your
mailbox.


-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html