From e20b1ebbc46ec67d6517400ce73fd5424d68241c Mon Sep 17 00:00:00 2001 From: Milkey Mouse Date: Thu, 9 Nov 2017 16:13:46 -0800 Subject: [PATCH] Clarify create --stats duration vs. wall time (fixes #3301) --- docs/faq.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/faq.rst b/docs/faq.rst index 6726e15bc..9e89ac7bc 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -288,6 +288,14 @@ needs to be ascertained and fixed. issues. We recommend to first run without ``--repair`` to assess the situation. If the found issues and proposed repairs seem right, re-run "check" with ``--repair`` enabled. +Why is the time elapsed in the archive stats different from wall clock time? +---------------------------------------------------------------------------- + +Borg needs to write the time elapsed into the archive metadata before finalizing +the archive, compacting the segments, and committing the repo & cache. This means +when Borg is run with e.g. the ``time`` command, the duration shown in the archive +stats may be shorter than the full time the command runs for. + Security ########