LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-23-2007, 02:48 PM   #1
prvnrk
LQ Newbie
 
Registered: Oct 2005
Posts: 8

Rep: Reputation: 0
resume broken transfers at file-level using rsync


Hi,

I'm trying to achieve "resume broken transfers" by using RSYNC at file level but could not succeed. I used the below:

rsync -auvz --rsync-path=/usr/local/bin/rsync --partial --progress /temp1 <remote_ip>:/temp2
and broken the connection by pressing ctrl-C while a big file being copied. Then i rerun the above same rsync command, it simply skips the broken file (partial file exists on destination)

Then i tried without "-u" option as below:

rsync -avz --rsync-path=/usr/local/bin/rsync --partial --progress /temp1 <remote_ip>:/temp2 then it does NOT resume at all but starts from beginning of the broken file.

Pl help me...

TIA
Prvn
 
Old 08-25-2007, 12:04 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Why do you think the file data is all being resent? It can appear that a file resend is happening, since rsync needs to perform block checksums to determine what it needs to send, but the rsync rate far exceeds the data rate while this is happening. For example, rsync will report 20-30MB/sec while the connecting facility may only be a 10Mb/sec Ethernet. You can use additionally verbose debugging (-vvv or more) to determine what is happening and why.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
resume: could not stat the resume device file Zaskar Debian 17 03-29-2012 10:10 PM
resume: cannot stat resume device file sixerjman Linux - Kernel 0 05-27-2007 03:09 PM
file transfers WLReed SUSE / openSUSE 2 05-27-2006 09:26 AM
File Transfers STALL! TomalakBORG Linux - Hardware 2 12-13-2004 07:15 PM
rsync always transfers brentos Linux - Software 2 04-29-2004 06:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration