BackupPC-users

[BackupPC-users] Fwd: Re: Restore completes but doesn't end

2013-01-14 21:14:48
Subject: [BackupPC-users] Fwd: Re: Restore completes but doesn't end
From: backuppc AT sundquist.imapmail DOT org
To: backuppc-users AT lists.sourceforge DOT net
Date: Mon, 14 Jan 2013 21:13:12 -0500
On Sun, Jan 13, 2013, at 10:38 PM,Adam Goryachev <mailinglists <at>
websitemanagers.com.au> wrote:

It looks like you were working first thing Monday morning in Australia
but I was last thing Sunday night in New York.  So just getting back
now...

>> Same with 2093
>>
>> root <at> temp:/# strace -p 2093
>> Process 2093 attached - interrupt to quit
>> select(5, [4], [], NULL, {39, 26433})   = 0 (Timeout)
>> select(5, [4], [], NULL, {60, 0})       = 0 (Timeout)
>> select(5, [4], [], NULL, {60, 0})       = 0 (Timeout)
>> select(5, [4], [], NULL, {60, 0})       = 0 (Timeout)
>> select(5, [4], [], NULL, {60, 0})       = 0 (Timeout)
>> select(5, [4], [], NULL, {60, 0}
>
> So these two are not yet dead, they are waiting for something to happen
> which hasn't. They will eventually timeout, or get what they are waiting
> for. See below.
>
>> The oldest, 2019 just gave me one line and sat there without a
>> "timeout":
>>
>> root <at> temp:/# strace -p 2019
>> Process 2019 attached - interrupt to quit
>> select(6, [4 5], NULL, NULL, NULL
>
> Looks like you are using rsyncd instead of rsync over ssh, so this is
> probably waiting for new TCP connections, and is not relevant to
> backuppc (at this stage in the process).
>
>> Over at the machine running backuppc, there's only one rsync PID and it
>> gives a similar response:
>>
>> root <at> eeebox:/# pidof rsync
>> 24053
>> root <at> eeebox:/# strace -p 24053
>> Process 24053 attached - interrupt to quit
>> select(6, [4 5], NULL, NULL, NULL

<snip>

>> Over at the backuppc box, the latest running processes are:
...

>> /usr/share/backuppc/bin/BackupPC_restore temp temp restoreReq.24065.0
>> 24280 pts/2    R+     0:00 ps ax
>> root <at> eeebox:/#
>
>
> Again, use ps axf for an easier to read list... but it looks like the
> interesting process is pid 24076 which is the backuppc process talking
> to rsyncd on the remote host. Use strace to see what it is doing....

Here's the tail end of ps axf:

 9397 ?        S      0:49 /usr/bin/perl
 /usr/share/backuppc/bin/BackupPC -d
 9403 ?        S      3:45  \_ /usr/bin/perl
 /usr/share/backuppc/bin/BackupPC_trashClean
24076 ?        S      0:11  \_ /usr/bin/perl
/usr/share/backuppc/bin/BackupPC_restore temp temp restoreReq.24065.0
14634 ?        S      0:00 network-admin
14636 ?        S      0:00 /usr/sbin/system-tools-backends
14638 ?        S      0:00 /usr/bin/perl
/usr/share/system-tools-backends-2.0/scripts/SystemToolsBackends.pl -m
Platform
24053 ?        S      0:00 /usr/bin/rsync --no-detach --daemon --config
/etc/rsyncd.conf
root@eeebox:/#

and the strace:

root@eeebox:/# strace -p 24076
Process 24076 attached - interrupt to quit
select(8, [5], NULL, [5], NULL

Yes, I use rsyncd for the backup and restore protocol for both my linux
and windows boxes (use cygwin rsyncd as a service on the windows boxes).

JS

> Regards,
> Adam

P.S. unless it is bad list etiquette (don't think so), please cc or bcc
backuppc AT sundquist.imapmail DOT org with responses since I have the e-mail
delivery turned off for this list and read the responses on gmane.  This
way I can respond to the correct e-mail and keep the threading correct.

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>