Re: using --remove-older-than takes a very long time?

"Derek Atkins" <[email protected]>
Newsgroups gmane.comp.sysutils.backup.rdiff-backup.general
Message-ID <[email protected]>
Hi,

On Fri, February 7, 2020 12:31 pm, Eric L. wrote:
> Hi Derek,
>
[snip]
> I don't think so but it probably depends on how many backups it has to
> remove.

Well, normally just one.   Today I suspect it is removing around 7.

>>
>> While I keep track of how long it takes to run the backup process for
>> each server, I didnt separate out the backup vs cleanup stages of the
>> process.  If cleanup is going to take so long, I might separate it out
>> into a different stage!  Although it would be nice if cleanup could be
>> sped up!
>>
>> Is there any way to profile the code to see where it is spending its
>> time?
>
> A profiling as such is possible at python level but I would start with
> just calling the removal option with `-v9`, it should give you/us a
> first hint as the date/times for each action are logged.

I can certainly change the code to do that tomorrow night; I think it's a
bit late to make that change now for today's run.

> KR, Eric

-derek
-- 
       Derek Atkins                 617-623-3745
       [email protected]             www.ihtfp.com
       Computer and Internet Security Consultant
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.