[Borgbackup] Backup taking very long - sometimes

Thomas Waldmann tw at waldmann-edv.de
Wed Sep 9 06:34:03 EDT 2020


> Stats was already enabled and the duration of the backup doesn't seem to
> depend on the data added (i attached the of the borg backup).

You should use a more recent release than borg 1.1.9, see the advisory
at the top of the changelog.

> Logs with stats enabled but without --list --filter="AME" can be found here:
> https://pastebin.com/raw/RW43kBHi

Next time you could shorten the logs so they only show the relevant /
interesting stuff.

Didn't see anything remarkable there (except maybe that your "System"
backup includes a rather high count of files).

> With --list --filter="AME" enabled the logs since 2020-09-06 exceed
> 200Mbyte. Therefore i can't send them.

It wasn't intended that you publish that log, but rather that you check
yourself whether the A)dded and M)odified files shown in there are
somehow as expected.

If it shows files as M)odified that had no content modification, that is
an indication that the borg files cache maybe doesn't work ok for you /
for that filesystem type or that the files were slightly "touched" by
something.

You have to find out then what the root cause for this is, see the FAQ
and the documentation of --files-cache.

Or if it shows a huge amount of E)rrors, then find out if the errors are
severe or if they can be ignored (sometimes one can just exclude
problematic stuff if it does not need to be backed up anyway).




> Am 04.09.20 um 14:29 schrieb Thomas Waldmann:
>>> Borg runs on a regular daily basis and is working stable.
>>> But the consumed cpu time varies between around 4 hours and 12-13 hours:
>> Could be because on different days, a different amount of data changes?
>>
>> Or (if you do backups to a remote repo server), the connection speed to
>> / system load of source or target server is different.
>>
>> Without more infos, it is hard to say.
>>
>> You could start by adding this to borg create:
>>
>> --stats --list --filter="AME"
>>
>> stats should tell if there was really much data added.
>> if so, the list output should hint about what it was.


-- 
GPG ID: 9F88FB52FAF7B393
GPG FP: 6D5B EF9A DD20 7580 5747 B70F 9F88 FB52 FAF7 B393


More information about the Borgbackup mailing list