--partial does not "unhide" the files
Kevin Korb
kmk at sanitarium.net
Sun Dec 30 22:56:44 UTC 2018
I think --partial might be a red herring here. It only applies to what
happens when rsync is aborted in the middle of a file. What happens
without -P?
Also, it is worth trying with --inplace.
On 12/30/18 5:32 PM, Heiko Schlittermann via rsync wrote:
> Hi,
>
> I used --partial to transfer files from my local computer (rsync 3.1.2,
> Debian) to a remote computer (rsync 3.1.1 WD MyPassport Storage device)
>
> The files get transferred, but after successful transfer, the files
> are not renamed from .<tmpfile> to <file>.
>
> Where to go next?
>
> Here is the verbose output after transferring an empty file
>
> heiko at blade:~/Pictures$ rsync -iavvvvvvvP ./x platte.local:/shares/Storage/Bilder\\\ von\\\ Heikos\\\ Computer/
> FILE_STRUCT_LEN=24, EXTRA_LEN=4
> cmd=<NULL> machine=platte.local user=<NULL> path=/shares/Storage/Bilder\ von\ Heikos\ Computer/
> cmd[0]=ssh cmd[1]=platte.local cmd[2]=rsync cmd[3]=--server cmd[4]=-vvvvvvvlogDtpre.iLsfxC cmd[5]=--log-format=%i cmd[6]=--partial cmd[7]=. cmd[8]=/shares/Storage/Bilder\ von\ Heikos\ Computer/
> opening connection using: ssh platte.local rsync --server -vvvvvvvlogDtpre.iLsfxC "--log-format=%i" --partial . "/shares/Storage/Bilder\ von\ Heikos\ Computer/" (9 args)
> msg checking charset: UTF-8
> FILE_STRUCT_LEN=16, EXTRA_LEN=4
> (Server) Protocol versions: remote=31, negotiated=31
> (Client) Protocol versions: remote=31, negotiated=31
> sending incremental file list
> [sender] change_dir(/home/heiko/Pictures)
> [sender] make_file(x,*,0)
> [sender] flist start=1, used=1, low=0, high=0
> [sender] i=1 . x mode=0100644 len=0 uid=1000 gid=1000 flags=1005
> send_file_list done
> [sender] flist_eof=1
> file list sent
> send_files starting
> server_recv(2) starting pid=21983
> uid 1000(heiko) maps to 1000
> gid 1000(heiko) maps to 1000
> recv_file_name(x)
> received 1 names
> [Receiver] flist start=1, used=1, low=0, high=0
> [Receiver] i=1 1 x mode=0100644 len=0 uid=1000 gid=1000 flags=1000
> recv_file_list done
> [Receiver] flist_eof=1
> get_local_name count=1 /shares/Storage/Bilder von Heikos Computer/
> [Receiver] change_dir(/shares/Storage/Bilder von Heikos Computer)
> generator starting pid=21983
> delta-transmission enabled
> recv_generator(x,1)
> send_files(1, ./x)
> count=0 n=0 rem=0
> send_files mapped ./x of size 0
> calling match_sums ./x
> <f+++++++++ x
> sending file_sum
> false_alarms=0 hash_hits=0 matches=0
> 0 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/1)
> sender finished ./x
> generate_files phase=1
> recv_files(1) starting
> recv_files(x)
> got file_sum
> set uid of .x.VITBUv from 0 to 1000
> set gid of .x.VITBUv from 0 to 1000
> set modtime of .x.VITBUv to (1546208608) Sun Dec 30 14:23:28 2018
> <rename is missing here>
> send_files phase=1
> recv_files phase=1
> generate_files phase=2
> send_files phase=2
> send files finished
> total: matches=0 hash_hits=0 false_alarms=0 data=0
> recv_files phase=2
> recv_files finished
> generate_files phase=3
> generate_files finished
> client_run waiting on 9125
>
> sent 96 bytes received 874 bytes 1,940.00 bytes/sec
> total size is 0 speedup is 0.00
> [sender] _exit_cleanup(code=0, file=main.c, line=1196): entered
> [sender] _exit_cleanup(code=0, file=main.c, line=1196): about to call exit(0)
>
> Best regards from Dresden/Germany
> Viele Grüße aus Dresden
> Heiko Schlittermann
> --
> SCHLITTERMANN.de ---------------------------- internet & unix support -
> Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
> gnupg encrypted messages are welcome --------------- key ID: F69376CE -
> ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -
>
>
--
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
Kevin Korb Phone: (407) 252-6853
Systems Administrator Internet:
FutureQuest, Inc. Kevin at FutureQuest.net (work)
Orlando, Florida kmk at sanitarium.net (personal)
Web page: https://sanitarium.net/
PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/rsync/attachments/20181230/5f1c8917/signature.sig>
More information about the rsync
mailing list