Re: Speed and regression

Duffer <[email protected]> Sun, 29 Sep 2024 00:56:48 +0000
Newsgroups gmane.comp.sysutils.backup.rdiff-backup.general
Message-ID <[email protected]>
On 2024-09-28 13:19, Robert Nichols via Any discussion of rdiff-backup 
wrote:
> (Looks like I hit "Reply" instead of "Followup". Posting this to the 
> list now.)
> 
> On 9/27/24 17:00, Duffer wrote:
>> It's been running 18 hours, so I hate to break it again but I really 
>> wish I could figure out what it's doing. One of the backup directories 
>> (where I see the tmp files) keeps growing and shrinking.
> 
> If you find the PID of the rdiff-backup process ("pgrep -l 
> rdiff-backup") you can run
>    ls -l /proc/{PID}/fd
> and see what files it is working on. You'll probably want to run that 
> on the server. Something along the lines of "readlink /proc/{PID}/fd/9" 
> will show just the appropriate link. For a locally run rdiff-backup, 
> the FD is more likely 13. That link won't always be there.
> 
> Here's a quickie I sometimes use:
> 
>    N=50; while ((--N)); do readlink /proc/{PID}/fd/9 && break; sleep 
> 0.2; done
> 
> You can also use the "watch" for a continuous display of changes.

Thank you! That was helpful. I've been using it to monitor and I can see 
rdiff-backup going through various files. I'm still not sure what it's 
doing but at least I can see that it's doing something. My guess is that 
it's going to verify everything, which will take a long, long time.