On Sat, Mar 3, 2012 at 7:58 AM, Fisher <fis...@fisher.hu> wrote:
> Hi all,
>
> I ran into a problem and would like to get help to find if it is a bug.
> It seems to me the BackupPC_restore stops sending data to the rsync
> after awhile.  I have tested:
>
> - started a restore
> - kept watch cat /proc/$PROCNUM/io where the $PROCNUM is the PID of the
> ssh process started the rsync
> - also watched the BackupPC_restore's PID
>
> During the restore the counters have been kept changing awhile then it
> stopped to advance but the restore did not finished. Restoring to zip or
> tar file was okay. Is there any way to debug the BackupPC_restore calls?

You could use 'strace -p process_id' to see if the process is still
making system calls, and tcpdump or wireshark to see if network
traffic is happening (you won't be able to decode the contents of ssh
packets, but you can see if the sequence numbers advance or if the
other end stops sending acks which might indicate a network problem).
 If you can find the file being received by rsync at the other end, it
will have a temporary name starting with a '.' and keep growing until
it is complete and renamed.    If this is a large file that already
exists, it can be a very slow process to merge the differences and
rebuild the old version.

-- 
   Les Mikesell
     lesmikes...@gmail.com

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
BackupPC-devel mailing list
BackupPC-devel@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to