Re: Speed and regression
Robert Nichols via Any discussion of rdiff-backup <[email protected]> Sat, 28 Sep 2024 08:19:51 -0500
| Newsgroups | gmane.comp.sysutils.backup.rdiff-backup.general |
|---|---|
| Message-ID | <[email protected]> |
(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.
--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.