BackupPC-users

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

2013-01-18 21:33:48
Subject: Re: [BackupPC-users] Restore completes but doesn't end
From: backuppc AT sundquist.imapmail DOT org
To: " General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Fri, 18 Jan 2013 21:32:18 -0500
On Mon, Jan 15, 2013, at 11:15 PM, Adam Goryachev wrote:
 
>>> OK, so that is the right process, and it tells us that it is waiting for
>>> something to happen. Is the remote box a windows machine (I think it was
>>> but I forget now)? I've had this exact issue with windows rsyncd before
>>> when doing backups more than restores, and for me, the solution was one
>>> or more of:
>>> 1) Upgrade to the newest version of rsync
>>> 2) Upgrade to the newest version of ssh and use rsync over ssh or rsyncd
>>> over ssh
>>> 
>>> I'm not sure what else I did, but now I use the vss/rsync method which
>>> mostly/usually works....
>>>
>> Actually, these are both linux boxes.  The backuppc box is running squeeze 
>> (stable).  
>> But the new machine (temp) is running wheezy (testing).  I will try an 
>> apt-get 
>> dist-upgrade and see if it works.  however, I am leaving now for a 2-day 
>> business trip, so it won't be until Thursday that I can check.
>
> I don't think that will help... but it might. One other option is to start 
> the strace before the restore hangs, then we can > see what it is doing 
> before it stops working... preferably on both the backuppc and the remote 
> server.

Was a busy week.  Back to trouble shooting this.

I did an strace while the restore was in progress.

 9397 ?        S      1:01 /usr/bin/perl
 /usr/share/backuppc/bin/BackupPC -d
 9403 ?        S      4:56  \_ /usr/bin/perl
 /usr/share/backuppc/bin/BackupPC_trashClean
29925 ?        R      0:06  \_ /usr/bin/perl
/usr/share/backuppc/bin/BackupPC_restore temp temp restoreReq.29924.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:~#

Actually, the restore finished (but not as far as Backuppc was
concerned) by the time I started the e-mail.  So I had to run it again. 
Got screens and screens of stuff too fast to read.  Here are the last
lines as it finished (but still registered as running with backuppc):

select(8, [5], NULL, [5], NULL)         = 1 (in [5])
read(5,
"\3\334\16\352b\33\2\244\200\1\352\36\22\16\365\340\266!\363\220N\3550\37\36aS\366\250\33\347\336"...,
65536) = 4092
alarm(10000000)                         = 10000000
select(8, [5], NULL, [5], NULL)         = 1 (in [5])
read(5,
"\374\17\0\7\201\313\362g\35\362\215r\302j\273\10\25g\262Y\241\372\226\24a\2513#O\253\204@"...,
65536) = 1452
alarm(10000000)                         = 10000000
select(8, [5], NULL, [5], NULL)         = 1 (in [5])
read(5,
"\267\177\354\4\367F\6F\31\10\355|\30'\341\372\343`\207K\27\374AT\203u_\352o\30U\317"...,
65536) = 2644
alarm(10000000)                         = 10000000
select(8, [5], NULL, [5], NULL)         = 1 (in [5])
read(5, "\374\17\0\7", 65536)           = 4
alarm(10000000)                         = 10000000
select(8, [5], NULL, [5], NULL)         = 1 (in [5])
read(5,
"\0\330\7_\0\260\0\330\7_\0\260\0\330\7_\0\260\0\330\7_\0\260\0\330\7_\0\260\0\330"...,
65536) = 4092
alarm(10000000)                         = 10000000
select(8, [5], NULL, [5], NULL)         = 1 (in [5])
read(5, "\374\17\0\7", 65536)           = 4
alarm(10000000)                         = 10000000
select(8, [5], NULL, [5], NULL)         = 1 (in [5])
read(5,
"\0\330\7_\0\260\0\330\7_\0\260\0\330\7_\0\260\0\330\7_\0\260\0\330\7_\0\260\0\330"...,
65536) = 4092
alarm(10000000)                         = 10000000
select(8, [5], NULL, [5], NULL)         = 1 (in [5])
read(5, "0\t\0\7", 65536)               = 4
alarm(10000000)                         = 10000000
select(8, [5], NULL, [5], NULL)         = 1 (in [5])
read(5, "\357\4tV\2\5\376\330\274
S\10\3\241+<\343\350\20\344\3170!\366\365\177j\341\242\20\35z"...,
65536) = 2352
alarm(10000000)                         = 10000000
select(8, [5], NULL, [5], NULL

So, it looked like it was doing lots of "selects" successfully  then
just stopped.  Not sure what those alarm lines are, though.

Jon S.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 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_122912
_______________________________________________
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>