BackupPC-users

Re: [BackupPC-users] Issue with multiple restores

2015-05-22 12:55:05
Subject: Re: [BackupPC-users] Issue with multiple restores
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Fri, 22 May 2015 11:53:10 -0500
On Fri, May 22, 2015 at 11:17 AM, Andy Taylor <andy.taylor AT sift DOT com> 
wrote:
> Thank you for the advice Les. I compiled rsync 2.6.9 and tried a restore
> with it. It seems to hang now once it's got past the last file of the
> restore - I've run strace against the rsync processes and I can see it close
> the last file and then just hang, with this sort of output:
>
> [pid 15625] select(4, [3], [], NULL, {53, 660732} <unfinished ...>
> [pid 15624] select(7, [3 6], [], NULL, NULL <unfinished ...>
> [pid 15662] select(1, [0], [], NULL, {6, 915513}) = 0 (Timeout)
> [pid 15662] select(1, [0], [], NULL, {60, 0} <unfinished ...>
> [pid 15625] <... select resumed> )      = 0 (Timeout)
> [pid 15625] select(4, [3], [], NULL, {60, 0} <unfinished ...>
> [pid 15662] <... select resumed> )      = 0 (Timeout)
>
> Do you know what that might indicate about the restore?

No idea - but it looks like there are still open fd's at this point.

> With regards to tar, I don't care much about the bandwidth, but the speed of
> rsync would be very useful for the restores. I'll have a look at how fast
> tar is over SSH.

It will probably end up being about the same as if you do the restore
from scratch instead of on top of an existing tree.  What's the big
picture here?  That is, why not just let people restore files directly
from backuppc as needed? Are you trying to emulate a version control
system with the ability to do diffs, etc.?

-- 
  Les Mikesell
     lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
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/